How do I generate a backup of my account using the terminal, or Terminal interface in the WHM?
You can do this with the pkgacct script located in: /usr/local/cpanel/bin/
To use the script, please run the following with the options and username that are desired.
/usr/local/cpanel/scripts/pkgacct [options] USERNAME DIRECTORY
For additional information such as available options, please review our official documentation at The pkgacct script.