Community mailing list archives


Re: SEEKING: Method to script backups of Odoo v9 - also include filestore (anything else??)

Lithin T
- 30 ديسمبر, 2015 02:53:36
if you are going to use the same version of PostgreSQL ,you can move the postgesql data directory to the new server directly. It will keep all the databases and its settings on your old server as same.

On Wed, Dec 30, 2015 at 11:23 PM, Ray Carnes <> wrote:

Hi everyone.


Is scripting a backup of Odoo v9 as simple as pg_dump and copying the relevant filestore folder?


1.  pg_dump -E UTF-8 -F p -b -f $filename $database

2.  tar -zcvf filestore_$filename.gz $database

3.  move both to the new server, restore dump and folder and update database ?


Does anyone know (have experience or a verified method for doing this) ? 


I want to start testing how I can quickly move a database from one server to another.


Ray Carnes
Senior Odoo Consultant | 909.864.4576 | Skype: bista_ray
Time zone: US Pacific | Office: Greater Los Angeles
Bista Solutions, Inc.  | Empowering Business Success


Post to:

Thanks & Regards,

Lithin T
Software Engineer
Mob  : +971556712557(UAE)
Mail  : | Skype :