It is very necessary to do a backup of your content on regular basis at least once in a week.Cpanel provides great script to make cpanel backup very easy.
Commands like pkgacct is largely used for backing up cpanel hosting accounts and restorepkg for restoring cpanel accounts via the SSH.
To create the backup of cPanel account via SSH login to SSH as a Root user.
After that run the following command string on the command line interface:Note that backup will be created in the current directory we are in.
[box style=’info’]/scripts/pkgacct username[/box]