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

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.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.