Backup/restore/Migrate database
I have a local server in 0.3.2 and a (future) prod server in 0.3.3.
I would like to move my database from the first one to the second one.
Ok so I dumped DB:
I scp the dump to the server, copy in docker, and connect to this docker container:
I removed existing database and create a fresh one:
Next I restore the database
In server side:
And restart:
It seems to work. Do you think I did it the right way? Any improvement to that process?
I would like to move my database from the first one to the second one.
Ok so I dumped DB:
I scp the dump to the server, copy in docker, and connect to this docker container:
I removed existing database and create a fresh one:
Next I restore the database
In server side:
And restart:
It seems to work. Do you think I did it the right way? Any improvement to that process?