cPanel

How to package/ backup a CPanel account from the command line

Written by Ian Carnaghan · 12 sec read >

This can be done by running the /scripts/pkgacct script from the cli. Running this command will create a cpmove archive which can be used to restore on another cpanel server.

Usage:

/scripts/pkgacct [arguments] username destination

Example:

/scripts/pkgacct accountusername /tmp

The above command will create a full backup and store the archive in the tmp directory.

Last Updated On April 07, 2018
Written by Ian Carnaghan
I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. In my spare time I teach undergraduate classes in web development. Profile

Leave a Reply

avatar
  Subscribe  
Notify of