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]
- backupsblow.cron [raw]
- zfs_backupsblow.cron [raw]
- README [raw]
- backupsblow.pl [raw]
- zfs_backupsblow.plist [raw]
- index.html [raw]
- backupsblow.log4perl [raw]
- backupsblow.cfg [raw]
- COPYING [raw]
- HISTORY [raw]
- /BackupsBlow/Programs.pm [raw]
- /BackupsBlow/Config.pm [raw]
- /BackupsBlow/Util.pm [raw]
- /BackupsBlow/Transport/Local.pm [raw]
- /BackupsBlow/Transport/Ssh.pm [raw]
- /BackupsBlow/Transport/S3.pm [raw]
- /BackupsBlow/Transport/Ftp.pm [raw]
"I swear by my life and my love of it that I will never live my life for the sake of another person or ask another to live for the sake of mine." --Ayn Rand, Atlas Shrugged