Automated cron backup thru email Tool

This is a process to automate the backup of the whole Joomla/Mambo/Wordpress MySQL database and send the backup data to an offsite destination for safe storage through email. I was looking for an automated, simple and fast way to keep my database safe. Specifically, I wanted to find: 1) A fast way to backup my data. 2) Easy process to transfer the data out of my web host server to an external destination. 3) Automate the whole process. The program is tested on CPanel on the Linux/Unix operating systems. It uses Linux commands such as gzip, tar, mutt and mysqldump. Install the program and test it out. If it does not work, ask your web host administrator if the required Linux commands are available (usually are), or he/she can install them for you. The program may also work for other control panel mangers or Operating System, if you know the corresponding commands and replaces them accordingly. You can also use this method to automate backup of other databases, files or directories.Updates and New Releases1) I have released a new version (cron_backup_1.2) that allows the user to select either "uuencode + mail" or "mutt" to send the compressed files to an email address. However, "mutt" is always preferred.2) cron_backup will work with Joomla!, Mambo, PostNuke, WordPress and etc. The backup commands and strategies are the same. This is about the lowest-level (Operating System) backup strategy around.Project Development Site: http://sourceforge.net/projects/cron-backup Related Forum Thread: http://forum.mamboserver.com/showthread.php?t=55239

Report

byIanE on September 22, 2008
This appears to be a very good solution, I like the fact that it operates at O/S level and is independent of the Joomla installation, but by using e-mail your site's contents could be exposed, this would be a problem if your database contained sensitive data (user details etc)
byWEB11 on July 12, 2007
How do you install this? It won't install as a mambot.
byBekkerJ on November 24, 2006
This solution was a good start to save my site

I changed the image backup to save al files modified the last day, by using the statment below

# Backup all changed files in last day
find $WWWDIR -type f -mtime -1 | xargs tar -zcf $BACKUPFILE

The Var $WWWDIR is my Joomla Home dir
bycmyksteve on November 13, 2006
A great solution for generating backups of your current content changes then moving the archives off the server. I've had to change servers recently and Automated Cron Backup was a life saver.
I use this for my sites and it is great! I have it set to 3 days a week and I copied the code within the file to do 3 of my sites at once.

Only down side is if your zip file is over a certain size, some of the free email systems will not accept it. The image folder is too large for one of my sites, but all the others work great!