Mango's User Configurable Scheduled cPanel Full Backup
March 12th, 2013
Mango has always wanted to make it as easy as possible for users to make backups. If you're a cPanel administrator, consider this script as part of your disaster recovery plan. It will rsync a full backup anywhere the user likes, and allows the user to configure the location of the backup and how many backups will be retained. Since its authorization is by RSA key, it does not require passwords to be stored in the configuration file.
Suggested use for users: By default, full backups are large and take a lot of server resources to create. Why not exclude your home directory by placing a single * in cpbackup-exclude.conf, and rsync the full backup to your home directory? Then rsync your home directory to your NAS device a few times per week. Using rsync requires much less resources because it only copies files that have changed since the last rsync.
Here's the script: http://www.toao.net/pub/cpbackup-mango.php