Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

WHM Transfer Tool + MySQL dump + Rsync = sound way to move an ecommerce site?

Discussion in 'General Discussion' started by meeven, Jul 23, 2015.

  1. meeven

    meeven Well-Known Member

    May 8, 2007
    Likes Received:
    Trophy Points:

    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:
    1. Transfer the account to the new server through WHM transfer tool
    2. Around midnight, set the maintenance flag on the Magento site (old server) to take it offline
    3. Do mysqldump on the old server to get the latest db and place the sql file in public_html
    4. 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)
    5. 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
    6. Change the A records in Route 53 to point the domain to the new server's IP.
    This sequence of steps goes through just fine. Except that, even ages after changing the A records, the server error page loads on the new server, instead of the migrated site.

    I wonder if steps 4 and 5 above are somehow corrupting the WHM transfer tool's restore. Does anyone here think that could be the cause?

    We are pretty sure the issue is specific to this particular account as there are other accounts on the new server whose sites share the same IP address and load just fine.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice