How to create backup of cPanel Account over SSH?
1: For start log-in to the SSH as root user.
2: Enter the following command string on the command line interface:
/scripts/pkgacct username
[Note: The account backup will be created in the current directory you are in.]
How to restore cPanel accounts over SSH?
Step 1: Restoring of cPanel account backups is easy like creating, just enter the following command
/scripts/restorepkg username
[Note: In order to restore the data, you need to be in the directory where the backup file is stored.]