Do backups

I took my laptop to a very remote location to actually get some work done. As I am noticing that when I work at home the internet is to big a distraction. So while I was happily working away I wanted to save my done work. At home I normally save all files see if everything builds and then '{svn,cvs,git} commit'. As my server is in Holland and my backup server in the US I need the internet to access them. But what do I do somewhere without internet (Yes these places exist). Every normal person would just continue with his work and commit when he comes home. But let's consider this scenario for a moment. While on the car my laptop wakes up out of suspend because something has pressed the button or I didn't close the lid properly. Now the hard drive is turning but exactly now I driver over a bump => headcrash. One week of work gone. Hard drives are something so liable you should never rely on them. My friend Edd breaks about one every week. So what to do. Risk it, no way. I remembered that while at a conference last week I was given a USB drive (Thank you Microsoft Research) so I pooped it in and now save all my data on this.
$ cp -ruv uni/ /media/disk/
does the trick. Now 2 things would have to break for me to lose my work. And if everything works out OK I format the Dongle and everyone is happy. But if my laptop decides to be funny I still have all my work.
I can not stress enough how important it is to think about backups. If you want your data to be reasonably secure you should always have a backup in a different physical location and secured with a different password. Loads of my friends and lecturers (that call them selves IT specialists) do no such thing. I can only hope they don't have to learn the hard way. I think this is a really understated problem. I know loads of people that say "Ah I do regular backups. I have a external hard drive next to my pc". And how much security does that give you? A robber taking your pc will also take the drive and your data is gone. At least use a service like dropbox for your important data. Taking away all the crap (mp3, videos etc..) you can download again normally you don't have that much "really vital" data. I have about 1 GB of files I really really don't want to lose.

No comments: