Cpanel has ready made scripts that will make your works so easier
such are pkgacct for backing up and restorepkg for restoring individual accounts through command in ssh
First you need to login to the ssh as root
Then use the following command to backup that spicific account:
Notice that the directory that you are in will be used to create backup of that account in there
To restore
Please notice that in order to restoreĀ you need to be on the directory where the backup is located
Related posts: