WHM Transfer Tool + MySQL dump + Rsync = sound way to move an ecommerce site?
Hi,
We have a Magento site on one cPanel dedicated server that needs to be moved to another dedicated server with cPanel. The site has pretty high traffic, so the owner wants downtime to be kept to the barest minimum.
We tried the following sequence of steps to migrate the site, but ended up getting a cgi-sys error page after changing the DNS to point to the new server's IP:
- ]
- Transfer the account to the new server through WHM transfer tool
- Around midnight, set the maintenance flag on the Magento site (old server) to take it offline
- Do mysqldump on the old server to get the latest db and place the sql file in public_html
- On the new server, fetch the sql file through wget and restore the db (after deleting and recreating the old db that the WHM transfer tool would have created)
- On the new server, use rsync to fetch the changed files (since the WHM transfer process) and move them to the site/account on the new server. At this stage, both the db and files are in sync on both the servers
- Change the A records in Route 53 to point the domain to the new server's IP.
-
We tried the following sequence of steps to migrate the site, but ended up getting a cgi-sys error page after changing the DNS to point to the new server's IP:
Hello :) Could you let us know the specific error message you see, and what's output to /usr/local/apache/logs/error_log when this occurs? Thank you.0
Please sign in to leave a comment.
Comments
1 comment