Quote:
Originally Posted by Tempest
Sweet script...
I have one I wrote in Perl that also tars all the DBs together and then Zips it. They get saved with a datestamp as well so I can roll back a few days if need be. At some point I'm going to upgrade it to also FTP the DB backup to another server so if one goes down I still have backups.
|
Why the hell did you use Perl?
Code:
-rwx------ 1 root root 3426 2007-09-29 13:16 backer.sh
This little 3.5k shell script does daily, weekly, monthly, and yearly backups, compresses them all, and keeps any amount of 'snapshots' you want, and offers automated redundancy with rsync and ncftpput.
