Migrate to new server, can't I just copy the directories since this is docker? #1895
-
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? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
-
It works for me. Note: Running Stop New Relic: docker-compose -f /opt/easyengine/services/docker-compose.yml stop global-newrelic-daemon Stop Postfix for compose in /opt/easyengine/sites/*/docker-compose.yml; do
docker-compose -f $compose stop postfix
done Stop/Disable Mailhog for compose in /opt/easyengine/sites/*/docker-compose.yml; do
website=$(basename "$(dirname "$compose")")
ee mailhog disable $website
done I’ve copied your method to my note about EasyEngine. Is that okay, @ssuess ? |
Beta Was this translation helpful? Give feedback.
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.