Migrate to new server, can't I just copy the directories since this is docker? #1895
Answered
by
ssuess
ssuess
asked this question in
Support Requests
|
I am currently on 4.8.1. I am migrating (a mix of wp and plain php or static sites) to a new hosting provider, and I was hopeful I could just:
Is this possible, or do I need to follow some other, more convoluted process? |
Answered by
ssuess
Apr 14, 2025
Replies: 2 comments 2 replies
|
So it was ALMOST that easy. But after the reboot nothing was running, so I had to add these two commands:
and voila! all sites migrated. |
0 replies
Answer selected by
ssuess
|
It works for me. Note: Running Stop New Relic: docker-compose -f /opt/easyengine/services/docker-compose.yml stop global-newrelic-daemonStop Postfix for compose in /opt/easyengine/sites/*/docker-compose.yml; do
docker-compose -f $compose stop postfix
doneStop/Disable Mailhog for compose in /opt/easyengine/sites/*/docker-compose.yml; do
website=$(basename "$(dirname "$compose")")
ee mailhog disable $website
doneI’ve copied your method to my note about EasyEngine. Is that okay, @ssuess ? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So it was ALMOST that easy. But after the reboot nothing was running, so I had to add these two commands:
docker-compose -f $compose up -d
done
and voila! all sites migrated.