How to backup and restore cPanel account via ssh

You can create cPanel accounts backup and restore cPanel account backup through SSH .

Create cPanel Account Backup

You can create cPanel account backup using command below:

/scripts/pkgacct {username}

** replace {username} with name of cPanel user

It will create backup in current directory with file name like cpmove_username.tar.gz

 

Restore cPanel Account Backup

To restore cPanel backup, please logon to SSH as root or super user

Navigate to the directory you stored backup and use command below to start cPanel account restoration:

/scripts/restorepkg {username}

** replace {username} with name of cPanel user

it will start restoration process.

Leave a comment

Your email address will not be published. Required fields are marked *