Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm migrating to a new server and I want to directly copy the files from old server to the new server without downloading to my PC and then uploading again.

Is this possible? Both servers have cPanel.



migration rejected from Jan 13 '15 at 21:51

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by HopelessN00b Jan 13 '15 at 21:51

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be off-topic because it is about working with a service provider's management interface, such as cPanel. – HopelessN00b Jan 13 '15 at 21:51

WHM has this functionality built in. Log in to the WHM control panel of the server you want to transfer to (you need to log in as root or another user with root access), in the left-hand menu scroll down to 'Transfers' and select the appropriate option, then enter the root login credentials for the server you want to transfer from and select the accounts. Then follow the guide to confirm the settings you want and hit transfer. WHM will start moving the files, configuration and database over to the new server. Once that's done you should test the new server by modifying your hosts file (Google will show you how to do this). Once you're sure everything works as expected update the nameservers on your domain to the new nameservers given to you by CPanel and you're good to go.

If you preffer working on the command line there are two tools called '/scripts/pkgacct' and '/scripts/restorepkg' that can wrap up a domains settings, files and db into a tar.gz file, then copy the tar.gz file accross to the new server using SCP or something similar and use the restorepkg script to re-create the domain in the new server


Not the answer you're looking for? Browse other questions tagged or ask your own question.