This question has been flagged
2 Replies
7497 Views

We plan to simulate the Odoo implementation by developing and customizing the Odoo 9 implementation in development server online, and when it's ready we plan to migrate it to off line on premise server, my question will be is there any best practice to do this without losing any single file and keep everything intact

Any inputs will be appreciated, I can't find any articles online about this

Avatar
Discard
Best Answer

I usually backup the entire database and restore it on a server with the same version of Odoo and it's dependencies.  Try this: -

  • Go to your Odoo installation and instead of login click on "Manage Databases". From this web interface create a backup of the database you want to migrate.

  • Deploy a new Odoo server in your target environment. From the "Manage Databases" interface restore the database you have backed up from the previous step.


Cheers!

km

Avatar
Discard
Author

Please tell more how to do it if you don't mind? It sounds more suitable to our situation since we have our installation on Google CLoud, and the best thing to do is by doing it manually

Best Answer

Hello,


moving a virtual machine is probably the safest and ths simplest.

Install several hosts with lxc or openvz capabilitioes, for example using proxmox.

Create a container for your developments

A scp of tar.gz or a rsync of the container will do the job with no risk.

I recommand building your restoration/recovery plan on the same technology.

Avatar
Discard
Author

One of the problem is we do the development on Google Cloud hosting, and it seems we can migrate by moving the image of virtual machine, is there any way if you ever see the article