Backups Blow is a simple perl script for use with cron to automate backing up MYSQL databases and Linux filesystems.
So far it has the following features:
- MYSQL dump and compression (uses a temporary file)
- FTP transport (no temporary file) (username/password auth)
- SSH transport (no temporary file) (key auth only)
- S3 transport (configurable chunk sizes)
- Commandline specified configuration file to facilitate multiple different backup jobs
- Configurable backup paths and tar excludes
- Weekly full backup and incrementals in between
- Removal of old backups after each new full backup, with a configurable number of full+incremental sets kept
You can pull the latest Backups Blow from http://git.lostlogicx.com/backupsblow.git
If you are crazy enough to be interested in adding code, just send a patch, I'll try to have marked what I'm working on in the TODO so that we don't overlap
Speaking of the TODO and other files, view my live development copies here:
- TODO [raw]
- README [raw]
- backupsblow.pl [raw]
- index.html [raw]
- HISTORY [raw]
- backupsblow.log4perl [raw]
- backupsblow.cron [raw]
- COPYING [raw]
- backupsblow.cfg [raw]
- /BackupsBlow/Programs.pm [raw]
- /BackupsBlow/Util.pm [raw]
- /BackupsBlow/Config.pm [raw]
- /BackupsBlow/Transport/Ftp.pm [raw]
- /BackupsBlow/Transport/S3.pm [raw]
- /BackupsBlow/Transport/Ssh.pm [raw]
- /BackupsBlow/Transport/Local.pm [raw]
"You give me Governor Ventura, myself and eight more of my fellow Navy SEALS -- and we could paralyze the entire country of the United States of America" --Richard Marcinko