
Originally Posted by
Spiral
If you are simply migrating and existing Cpanel server to a new server, you can much more rapidly transfer the contents of your server using RSYNC.
This is a basic rundown of how I typically do it ....
1. Install Cpanel on the new machine and try to match the software installed as closely as possible in terms of the same versions (Cpanel, MySQL, Apache, PHP, etc)
2. Rsync over the contents of your accounts and system settings
3. Globally replace the IP and hostname information in all files
4. Run "/scripts/upcp --force" to more seamlessly smooth out everything
that can get a little mixed up when you merge two systems.
Done properly, you can move the entire server over to a new server in
a small fraction of the time it normally takes to use the normal Cpanel tools
in either WHM or from the /scripts/pkgacct tool in SSH.
The above methods only work for cpanel to cpanel transfers though where you are moving the contents of an established server to a new machine.
The next best thing would be to run the previous mentioned "/scripts/pkgacct (login)" against all accounts and then rsync the cpmove files to the new server where you would run the conterpart "/scripts/unpkgacct". This method is typically faster than using the web interface in WHM and more tolerant to handling sites with larger files.
If you are converting from a competing control panel or uncomfortable working in the shell environment, my best recommendation would be to use the multiple site transfer tools in WHM.
3. Run "/scripts/upcp --force"