Create the backup using the following command:
/scripts/pkgacct accountname
If you want to restore the backup on a new Cpanel server, or if the account doesn’t exist on your webserver:
CPanel Simple account restoration
/scripts/restorepgk <package filename>
If you want to restore the backup, use the following command:
Account full Backup restoration
/usr/local/cpanel/bin/restorepkg --skipaccount cpmove-accountname.tar.gz
Important! The command above, restores the accounts using the backup file contents even if the account exists on the web server (–skipaccount)