If you need to make a backup of just one cpanel account, use the following command.
/scripts/pkgacct username(replace username with the username of the account you want to backup)
If you need to create a full cpanel backup of all websites on a server, you can do it in one simple command.
cd /home; for i in *; do /scripts/pkgacct $i; done;
This will create a full cpanel backup for every account on your server. Each account will have it’s own filename.
Once you have uploaded the file to the new server, you can restore it using this command line.
/scripts/restorepkg /home/cpmove-username.tar.gz(username will be the username of the account on the old server)