December 14, 2009
International Backup Awareness Day
You may notice that commenting is currently disabled, and many old Coding Horror posts are missing images. That's because, sometime early on Friday, the server this blog is hosted on suffered catastrophic data loss.
Here's what happened:
1. The server experienced routine hard drive failure.
2. Because of the hard drive failure, the virtual machine image hosting this blog was corrupted.
3. Because the blog was hosted in a virtual machine, the standard daily backup procedures at the host were unable to ever back it up.
4. Because I am an idiot, I didn't have my own (recent) backups of Coding Horror. Man, I wish I had read some good blog entries on backup strategies!
5. Because there were no good backups, there was catastrophic data loss. Fin, draw curtain, exeunt stage left.
http://www.codinghorror.com/blog/archives/001315.htmlMy system has removable drive bays. I use two drives for backup so that I can rotate them through my safe deposit box at the bank. Granted, this rotation may only happen once every couple of weeks, but it's better than no backup at all.
I use rsynch to mirror the contents of my /home directory to a removable drive. I prefer creating a mirror to some arcane compression system because I like to see that my data is actually there. Besides, most of my data (in terms of total bytes anyway) is already compressed in some fashion (video files, jpgs, mp3s, etc. so further compression is pretty much an exercise in futility. If my primary drive fails, then I can revert to the local backup. I the house goes up in flames or I'm burgled, then it's a trip to the bank.
Don't think this can't happen to you. Last month, I had a drive just die. No warning whatsoever. I booted the system and the BIOS said that it couldn't see
any drives! A bit of diagnostics traced it down to one drive (out of three) in my system. Whenever this particular drive is attached to my system, it now prevents recognition of
any drive. Go figure. That drive is now sitting on my shelf. I hope to revive it someday when I have time to look at it but frankly, I'm not hopeful. Fortunately, I had a backup.