I have created a shell script that will backup your Sites, MySQL DB, and other folders.
You can choose to Encrypt, Compress, CompressionType(gzip or bzip2)
for one or all of them.
A log gets created every time you do a backup so that you can see what is being done. Each one has its own settings. You can then SCP, SFTP, or FTP your backups to a remote server. You even have the option to either leave the backups on your local server or have them removed.
There is also an option to have the log emailed to you
every time the backup is ran. It will email you the latest
backup part of the log.
This script work in junction with a backup Perl script that I found here:
Dienhart > software > PERL Scripts > documentation > daboobak - Free Software, perl script, Daboo Backup, mount remote drives, Log Files
I have taken that version and have modified it to accept Encryption and Compression
Info. I have permission from the developer to redistribute this modified version and I have emailed him the modified version as well so he can update his site and knows what changes I have made to the script.
You will have to set the settings for both of the files. I can help with this script if
it is installed on United Hosting Servers only as I wouldn't know the setup of others.
I am attaching both my shell script that I created and the modified version of the Daboobak Backup Perl Script. These scripts are as is and without any warranty of any kind. I will not be held accountable for its use or misuse.