Community mailing list archives

community@mail.odoo.com

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

by
Bista Solutions US, Ray Carnes
- 12/30/2015 15:09:55

Thanks Lithin.  I want only a single Odoo database, not all of them. 

 

From: Lithin Thampan [mailto:lithint.mail@gmail.com]
Sent: Wednesday, December 30, 2015 12:02 PM
To: Community <community@mail.odoo.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 <ray.carnes@bistasolutions.com> 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

 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--

Thanks & Regards,

Lithin T
Software Engineer

Mob  :
+971556712557(UAE)
Mail  :
lithint.mail@gmail.com | Skype : lithint.skype

 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe