I once managed to screw up my thesis, a couple of days before having to hand it in.
It sucked, but I have always been paranoid about having daily backups, so I lost only a day of work.
In this day and age, USB keys are your friend. I always copy important stuff to USB storage.