Restore cPanel data from a Backup Server

You can configure backups on a cPanel server and then run the command /usr/local/cpanel/bin/backup --force to generate the backups.

Once the backups exist on the backup server you can then send copies of all cPanel accounts from, for example, the folder named /home/username/daily on the backup server to the folder /home/daily on the new server.

Then if you wanted to restore all cPanel accounts from the folder named /home/username/daily on the backup server to the folder /home/backup on the new server, you may run the following command via SSH on the source server:

rsync -avp --progress -e "ssh -p 2500" /home/backup root@IP-ADDRESS:/home/username/daily

Author: Christopher Smith

I managed websites.

Leave a Reply

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