Community mailing list archives

community@mail.odoo.com

Re: How to clone an Odoo instance?

by
Cody Kitterman
- 05/11/2016 10:24:38
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; 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.

On Wed, May 11, 2016 at 9:47 AM, Dominique Chabord <dominique.chabord@sisalp.org> wrote:
Cody,
you have all the needed requirementsn already and on-line SQL
replication doesn't work for a training server.

2016-05-11 15:23 GMT+02:00 Cody Kitterman <ckitterm@gmail.com>:
> Mr. Shumacher:
>      I would have to know a lot more to give you a decent answer (e.g. how
> recent is "recent"... how big is your database... how often are you
> installing modules...?) The linux containers/docker ideas being proposed by
> Mr. Tashiro and Mr. Chaboard are an option; however, depending on the
> circumstances, good-ole-fashioned SQL could be much more efficient:
>
> https://wiki.postgresql.org/wiki/Streaming_Replication
> http://www.postgresql.org/docs/9.4/interactive/continuous-archiving.html
>
>
> On Wed, May 11, 2016 at 6:27 AM, Jörg Ricardo Schumacher
> <joerg.schumacher@ehanse.de> wrote:
>
> Hello Cody,
>
> it is not about speed, we need a training environment which hosts recent
> prod data, that's why.
>
> Brgds
> Jörg
>
>
>
>
> Am 11.05.2016 um 10:57 schrieb Cody Kitterman:
>
> Mr. Shumacher:
>      Yes, because anything is possible, but why? I am wondering because
> there are a few other architecture options open to you. For instance,
> if speed is your concern, I want to recommend you setup two instances behind
> a load balancer and have it point to a single database server: maintaining
> two copies of the same database, just for the sake of speed, would be a
> nightmare.
>
> Respectfully,
> Cody K.
>
>
> On Wed, May 11, 2016 at 4:27 AM, Jörg Ricardo Schumacher
> <joerg.schumacher@ehanse.de> wrote:
>
> Hi,
>
> we are running Odoo on a single server.
>
> We want to run a second server, which runs a clone of the Odoo instance.
> It should clone modules, file system, psql database, attachments.
>
> It should be possible to work with this second systems, but changes will
> be overwritten every 24hrs.
>
> Is there an easy posibility to implement this?
>
>
> Brgds
> Jörg
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com > Unsubscribe: https://www.odoo.com/groups?unsubscribe > > > _______________________________________________ > Mailing-List: https://www.odoo.com/groups/community-59 > Post to: mailto:community@mail.odoo.com > Unsubscribe: https://www.odoo.com/groups?unsubscribe > > > _______________________________________________ > Mailing-List: https://www.odoo.com/groups/community-59 > Post to: mailto:community@mail.odoo.com > Unsubscribe: https://www.odoo.com/groups?unsubscribe > > > _______________________________________________ > Mailing-List: https://www.odoo.com/groups/community-59 > Post to: mailto:community@mail.odoo.com > Unsubscribe: https://www.odoo.com/groups?unsubscribe
-- Dominique Chabord - SISalp Logiciel libre pour l'entreprise Tryton et open-source Odoo, OpenERP 18 avenue Beauregard 74960 Cran Gevrier 145A rue Alexandre Borrely 83000 Toulon tel(repondeur) +33(0)950274960 fax +33(0)955274960 mob +33(0)622616438 http://sisalp.fr http://openerp-online.fr

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