Dan
Moderator
Hello,
This tutorial uses SSH on both the new and the old server and backs up and then restores using CPanel scripts. It also assumes you have enough disk space on your old server to hold the backups. If not you can use the WHM backup utility and try to FTP the backup to your new server.
1) Log into your old server via SSH
2) cd /home
3) /pkgacct USERNAME
Replace USERNAME with the account's user name of course.
This will create a tar.gz file in your /home directory.
4) mv cpmove-USERNAME.tar.gz /home/USERNAME/public_html
Move the file to where you can get it.
5) chown USERNAME:USERNAME
Own the file to the user so it can be accessed.
6) Log into your new server using SSH.
7) cd /home
8) wget http://www.DOMAIN.COM/cpmove-USERNAME.tar.gz
Replacing DOMAIN.COM with the domain name being moved of course.
9) /scripts/restorepkg USERNAME
This should restore all files, databases, and create a new DNS zone for the domain.
10) Log into WHM and verify settings. You will most likely need to recreate the package.
11) rm -f cpmove-USERNAME.tar.gz
12) switch back to the old server and rm -f cpmove-USERNAME.tar.gz
And you should be good to go! Rinse and repeat for each account being moved
This tutorial uses SSH on both the new and the old server and backs up and then restores using CPanel scripts. It also assumes you have enough disk space on your old server to hold the backups. If not you can use the WHM backup utility and try to FTP the backup to your new server.
1) Log into your old server via SSH
2) cd /home
3) /pkgacct USERNAME
Replace USERNAME with the account's user name of course.
This will create a tar.gz file in your /home directory.
4) mv cpmove-USERNAME.tar.gz /home/USERNAME/public_html
Move the file to where you can get it.
5) chown USERNAME:USERNAME
Own the file to the user so it can be accessed.
6) Log into your new server using SSH.
7) cd /home
8) wget http://www.DOMAIN.COM/cpmove-USERNAME.tar.gz
Replacing DOMAIN.COM with the domain name being moved of course.
9) /scripts/restorepkg USERNAME
This should restore all files, databases, and create a new DNS zone for the domain.
10) Log into WHM and verify settings. You will most likely need to recreate the package.
11) rm -f cpmove-USERNAME.tar.gz
12) switch back to the old server and rm -f cpmove-USERNAME.tar.gz
And you should be good to go! Rinse and repeat for each account being moved