Database migrations and restore with filestore #383
-
First of all, congratulations to the group of experts that makes all this magic possible, very grateful to be able to make use of these utilities. I want to learn more and try to walk the right path. I've already done a few tests quite successfully and now intend to use this for migrations. In the past I have been able to migrate thanks to openupgrade, I managed to migrate a fairly large database from version 10 to 11 and then to 12. Now a few years have passed and I want to continue migrating but I want to take advantage of these new tools. At first I would like to know what practice is suggested to restore a database, at a certain point I was able to do it, but after several trial and error attempts. Then I wanted to reproduce the same thing and I couldn't. Then I saw that there are tools like click-odoo. What environment is recommended to avoid errors? I think I can solve the migration thing later. I have been using the following command: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can dump your DB from the instance with:
and then restore it in other instance:
and you can also transfer the filestore copying/rsyncing the files in the associated volume (normally in /var/lib/docker/volumes/). |
Beta Was this translation helpful? Give feedback.
You can dump your DB from the instance with:
and then restore it in other instance:
and you can also transfer the filestore copying/rsyncing the files in the associated volume (normally in /var/lib/docker/volumes/).