Backing up a cPanel account via command line

In the past I’ve needed a way to backup an entire cPanel account on my servers so the following has come in real handy.  Just run the following command from the shell and substitute [username] for the username you want to backup (also remove the []).  At the end of the backup process it will tell you where the backup file is located, usually it’s in the /home/ directory on most servers and is named cpmove-username.tar.gz

/scripts/pkgacct [username]

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.


Switch to our mobile site