|
|
| | Ask HN: how do you backup your servers? | |
37 points by _hgt1 on March 16, 2010 | hide | past | favorite | 36 comments
|
| | I need to think about backing up data I have on a server, and would like to know how you do it. Do you backup whole machines or just some specific directories? Do you do off-site backups, or local? How much data do you have in a backup job? What's you preferred method: tar, sftp, scp, rsync, paid-for services etc? What's the most annoying thing you encounter managing backups? |
|

Join us for AI Startup School this June 16-17 in San Francisco!
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
|
Cron + snapshots + small custom script for EBS on EC2.
Basically, I store all non code files on EBS and redundantly backup to S3, which amounts to living or dying by Amazon's hand.
Recovery consists of firing up a new EC2 instance, attaching a snaphot and running a deploy script, which is handled automatically by a different EC2 instance, assuming I haven't lost all instances. Manual recovery in that case would be time consuming, but doable.
Snapshots are nearly instantaneous and uploads to S3 from an EC2 instance are about as fast as you can get.
Most annoying thing? Testing recovery.