How to backup and restore a lot of data on to dvds

5 Comments » 

I’ve recently decided to backup a bunch of files stored on my server to dvds. Since I really didn’t feel the need to install X or any sort of associated desktop I decided to attempt this all on the command line. Here’s my process:

Tar up whatever needs to be backed up into a single tar file:

tar -cvf file.tar ./dir

Next split it into dvd sized chunks. This is only needed if your tar file is greater than 4.3gib. In my case it was about 14gib. Also 4.3gib = 4.7gb, so I don’t recommend messing with the –byte parameter unless you’re using dual layer or some other media type:

split --byte=4300m file.tar filePrefix

Now there should be several files ready to burn to dvd, which you can do with:

growisofs -Z /dev/dvd -r -J -allow-limited-size ./file

Since this is for backup purposes it is a good idea to use md5sums to make sure everything is correct:

md5sum ./file; md5sum /media/dvd/file

Finally in order to restore the tar file, first copy all dvds to the same directory (again I would md5sum to make sure the copies are correct) and:

cat filePrefix* > file.tar

Untar and enjoy! Now this isn’t the most convenient way of storing backups. I’d like to be able to browse the files on the dvd, but it seemed like too much work to figure out good spots to stop copying the file system onto the dvds. For now this will do, should my disk drive start failing I should have a great starting point to recover from.

Who-what?!

2 Comments » 

Well look at that. It’s been a while. Hi. So guess what’s new? I bought a house and moved into it. It’s pretty sweet. I also married my girlfriend of two and a half years. We’re as happy as pie! And finally this weekend I bought a carseat and a stroller! So the supposedly three big things in life, we’re doing them all this year, house, marriage and kid(from here on called Squirt Jr.). You could say we’ve been busy and that’s true, though now things are settling down at least for a few months.

Jamie is due in November, and from what I’ve been reading the following three months will be quite difficult, but not impossible. However I am looking forward to actually have a kid. A lot of people my age that I’ve talked to have sort of loomed it over me as death sentence (Your life is ending! Have fun never doing what you want…etc). Though I see it differently. Having a kid means I get to do all the kid stuff all over again. Play with legos? Check. Watch Saturday morning cartoons? Check! Scribble wildly on papers? Check! Go to the circus? That too! And what is better, I get to do this with someone who will think I’m the greatest person ever.

I’m optimisitic to be sure. And maybe I have high hopes that while be crashed against the rocks of reality. But I don’t see the end of my life coming soon, just a new adventure. A happy unexpected twist. PS: science.notsoevil.net – my plan to have all the answers a kid could ever ask. PPS: still have to find a theme that I actually like.

Float

1 Comment » 

I went to the Flogging Molly Concert about two weeks ago, and it was pure awesomeness. It was probably the best concert I’ve ever been too. It also helped that I was hanging out with friends I hadn’t seen/hung out with in a very long time. Since then I’ve started the process of buying a house (We have a contract in place! woo!). Which is exciting and worrisome at the same time. Other than that I’ve been enjoying some of the nice spring time weather we’ve been getting lately. I have a few plans on some projects to do, but finding time to code outside of work is difficult these days. On the other hand I no longer have cable and am saving every penny I can so maybe that time will come sooner than later :)

A brand new theme!

Comments Off 

Well I’ve been playing with my own worpress theme for quite a while, and decided tonight to finally quit goofing around and put it up. There are still a couple tweaks I want to make such as tweaking the background image and adding a latest tweet thing(http://identi.ca/keare – if you’re interested, is an identica update called a tweet still?). And I’m sure I’ll come up with one or two other changes. It is entirely likely I’ll switch the color scheme as well (not 100% about how I feel on dark themes). Life’s been good lately, though slightly stressful, we’ve adopted one more dog (total of two now). She’s a mix between an English and American bulldog. Consequently, she is stubborn, full of energy and quite a handful. Though we started obedience training today and surprisingly she acted scared of the other dogs. Still need to find some time to finish/start coding some other projects. Either way I’m sure to post again in a week or two. Music for everyone to checkout: Flogging Molly – Float(seeing them live on the 24th! YES!) and Less than Jake – GNV FLA(full album stream!).

A short update

3 Comments » 

Here’s a big surprise :I’ve neglected this blog again! Anyhow here is a quick update of new things since the previous post. I’ve been to and come back from Maui. I was there for a week with my girlfriend Jamie. It was great and I’m wanting to go back for some more snorkeling and paradise. We bought a dog the first week of November, his name is Atlas and he’s a minature Daschund. He’s pretty much the man (and perfect for keeping me warm at night). I’m trying to convince Jamie we need to get him a bulldog friend. We’ll see about that though. Aside from that, Christmas was good for me I got the following games: Fallout 3, Bioshock, LittleBigPlanet, Guitar Hero: World Tour, Wipeout: Pulse, Patapon and Sonic Rivals. I guess I’ll have to start making time for all those games. I wouldn’t normally call myself a big gamer, but some of these games could change all that for me. Other than that nothing new to report. My goals post from last year is still on the front page, it’s a little dissapointing since I didn’t meet most of them (though I did significantly cut back on fast food intake). Ah well motivation to be better this coming year! We’ll see if I can post here again next week – no promises though.