Community mailing list archives

Re: How to clone an Odoo instance?

- 05/11/2016 10:42:36
2016-05-11 16:27 GMT+02:00 Cody Kitterman <>:
> Mr. Chabord:
>     No, you're right: replication alone would not be sufficient for a
> training server. What I was struggling with was the idea of shutting down a
> production server, backing up/syncing an entire linux container, encrypting
> it, and sending it to a third-party service for a few records in a database
> / files;

No you don't have to do all these things. Neither Odoo nor postgresql
have to be restarted.

Based on database save/restore proposed above, there is no downtime on

Based on containers for full system clone, you may have a few seconds
freeze if you don't use LVM snapshot and will never notice it.

rsync only copies files which have changed. It uses ssh, so no need to
crypt any archive and little useless traffic.

> I thought, too, that he might appreciate the backup. (I was more on
> Mr. Malorni's track.) With that being said, I'm not opposed to your idea,
> but I didn't want to make any assumptions about his operation.
> Respectfully,
> Cody K.