Making sure they can never hurt me again

Posted on September 8, 2005 at 5:24 AM in 'Miscellaneous' with tags 'binrock, backup, rsync, rsnapshot, dsl'

In the wake of the recent loss-of-BinRock scare, I've decided to make my backup scheme more robust. I went out and bought a 200 GB hard drive and installed it in my Linux server at home to house the backups, and I'm using a clever script called rsnapshot to do the majority of the work.

Whereas before I was only replicating the database, I'm now going to be backing up pretty much everything important on the server, including everyone's home directories, photos, etc.; about 35 GB worth of data all told. However, because of the clever protocols like rsync (on which rsnapshot is based), I should have no problem maintaining these backups with my little home DSL connection.

The rsync protocol only transfers the files that have changed on the server, and large files like photos change relatively infrequently on BinRock, so there shouldn't be much to download at any given time. Of course, I do have to download the full 35 GB once to start things off, and this initial download will probably take about a week. Just watch: Murphy's Law states that some other disaster must befall BinRock sometime in the next week.

Once this new setup is up and running, at any given time I will have snapshots of BinRock every four hours for the last day, and then daily snapshots going back a week, and then weekly snapshots going back a month, like so:

1wk
1wk
1wk
1d 1d 1d 1d 1d 1d

With this setup, not only will I be protected against a total loss of the server, I'll also have the incremental backups which allow me to restore a user's file if they accidentally delete something important. I'm like a nurturing mother duck sheltering my little ducklings under my wing. Quack quack, little ducklings.

Comments

Posted by Antonio 10 hours, 20 minutes later

Congratulations. That has got to be the geekiest post in the history of Binary Rock. The sad thing is that I understood everything you said. Oh well.

Posted by mike. 16 hours, 17 minutes later

I will follow you anywhere. Quack quack.

Posted by Dan 3 minutes later

And you, Mike, are the cutest duckling of all.

Posted by Meej 3 hours, 39 minutes later

... and the reddest.

Posted by Dan 22 minutes later

Devil Duckie

Posted by Meej 8 hours, 41 minutes later

What's coming out of that duck's butt?

Oh dear.

Posted by Dan 17 minutes later

Hmm, I think that might be why he's so mad.

Posted by Jenn 22 hours, 35 minutes later

You are my hero. :D