Community mailing list archives

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

Ray Carnes
- 12/30/2015 14:19:19

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