Community mailing list archives
RE: SEEKING: Method to script backups of Odoo v9 - also include filestore (anything else??)by
Thanks Lithin. I want only a single Odoo database, not all of them.
From: Lithin Thampan [mailto:firstname.lastname@example.org]
Sent: Wednesday, December 30, 2015 12:02 PM
To: Community <email@example.com>
Subject: Re: SEEKING: Method to script backups of Odoo v9 - also include filestore (anything else??)
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 <firstname.lastname@example.org> wrote:
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.
Senior Odoo Consultant | 909.864.4576 | Skype: bista_ray
Time zone: US Pacific | Office: Greater Los Angeles
Bista Solutions, Inc. | Empowering Business Success