Changing Server. How can I import all my existing websites and continue using ee


#1

So here is the question:

I want to downgrade my server since the cost is getting pretty big. I need to import my existing ee configured websites to a new server. How can I do that without breaking everything ?


#2

It is not too difficult. Rsync the following location/files from your original server to a fresh installed one (with EasyEngine and all packages you want):

  • /etc/mysql/conf.d/my.cnf
  • /var/lib/mysql/
  • /var/www/
  • /etc/letsencrypt/
  • /etc/nginx/
  • /var/lib/ee/
  • /var/spool/cron/

Before rsyncing MySQL stop services on both origin and destination machines.

After full rsync of all locations restart the destination server in order to restart all services at once (or restart manually, but I really prefer a reboot because I’m pretty lazy).

It even works if you origin server is, e.g., Ubuntu 14.04, and destination server is Ubuntu 16.04. I use this approach to “upgrade” my customers’ servers.


#3

Great!! many thanks for making life easier :wink:


#4

Anytime, bro. :slight_smile: