Reputation: 1
I have executed the following command to setup an open project community 13 from the docker for a month.
docker run -it -p 8080:80 -e OPENPROJECT_SECRET_KEY_BASE=secret -e OPENPROJECT_HOST__NAME=localhost:8080 -e OPENPROJECT_HTTPS=false -e OPENPROJECT_DEFAULT__LANGUAGE=en openproject/community:13
Then I would like to migrate the environment to the new docker under the new machine.
I have tried the following step from the new machine.
Step 1. ( save from old machine )
docker save -o openproject.tar
The tar file can be saved from old machine.
docker load -i openproject.tar
The image can be restored on the new machine.
Step 2.
docker run -it -p 8080:80 -e OPENPROJECT_SECRET_KEY_BASE=secret -e OPENPROJECT_HOST__NAME=localhost:8080 -e OPENPROJECT_HTTPS=false -e OPENPROJECT_DEFAULT__LANGUAGE=en openproject/community:13
The new open project community 13 with docker container is built from new machine and can be browsed, but old data cannot be restored.
I have tried to export the backup sql from the ( old docker environment ) open project - administration by web.
The owner of openproject db under debian - postgresql is unknown.
Is there any idea about the migration / restore ?
Upvotes: 0
Views: 203