Knowledgebase

How to generate a backup of my entire cPanel account from the command-line interface? Print

  • 0

Question

How do I generate a backup of my account from the command line via SSH as the root user or using Terminal from the WHM interface?

 

Answer

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.


Was this answer helpful?
Back

Send Message