by leftnode · 16y ago · 0 comments
2. Download my S3 backup script (or anyone's S3 Backup script) - http://github.com/leftnode/S3-Backup
3. Set up a cron to push hourly/daily/whatever tar's of your vhost's directory to S3.
Spend, like, $10 a month. Thats 30gb of storage, 30gb up and 30gb down. Now, I know that may not be a lot, but I doubt codinghorror.com had that much data.
http://paulstamatiou.com/how-to-bulletproof-server-backups-w...
In case anyone else is interested: http://code.google.com/p/ziplinebackup/ https://sourceforge.net/projects/automysqlbackup/
I wrote a bash script that uses s3sync (not written by me). You can thank the s3sync community for that! :-) http://s3sync.net/wiki
Confidentiality is only one aspect of security. Authenticity is also important in some cases: You might care if the NSA edits your backups so that after restoring them it looks like you said something you didn't really say.
A tip for folks using leftnode's setup: I didn't notice $gpgRecipient hidden at the end of the config file and chased around a bit looking for it.
I use it to backup all of my databases and entire vhosts directory every hour and night.
Let me know if you find any bugs!
http://github.com/astrails/safe
Dead simple to specify what to backup, drop the config in /etc/safe and add a cron job.