cPanel Backup via SSH (single account)

If you want to be able to run a backup for a single account that will create a cPanel package allowing easy transfer between servers, you can use the following commands.

PHP Code:
/scripts/pkgacct username

To allow a user to download this from their home directory, simply run these additional lines.

PHP Code:
mv cpmove-username /home/username
chown username:username cpmove-username