To take backups for cPanel server, you can do this in many ways
1. Account wise transfer
# /scripts/pkgacct username
this Is the best option as it takes care of emails / databases / ....
On destination just restore it using
# /scripts/restorepkg username
2. To transfer all the Accounts, On destination server GO to
WHM >> Transfers >> Copy multiple accounts/packages from another server
* provide the Information Like the Server type, IP , SSH port & Select the option "Do not compress transfers"
In the Authentication, Select the Login type as "
Root"
Authentication method as "
Password" & type the root password.
Click on the "Fetch Account List" , now select all those Accounts that need to transfered .....
Click on "Copy" and Its done
3. For Server Migration - "rysnc" is the best
# rsync -vrplogDtH -e "ssh -p ssh_port_no" /usr/local/apache/conf root@destination_server_IP:/usr/local/apache
Similarly, rsync these
/var/named
/home/
/usr/share/ssl
/usr/local/cpanel/3rdparty/mailman
/var/log/bandwidth
/var/spool/cron
/usr/local/cpanel/bin/leechprotect
* Once done, Fire these
# /scripts/upcp
# /scripts/updatenow
# /scripts/sysup
# /scripts/fixeverything
# /scripts/eximup
# /scripts/easyapache
--
These are best ones for migration