Windows Vista just hosed my work

Up ’till now I’ve been vary happy with Windows Vista. I think it’s a lot better than XP. When I got my latest laptop I considered returning to the Apple fold but couldn’t get the same power to weight ratio in a Mac laptop so I stuck with a PC. Then, today, Vista deleted three days of work. Fortunately I was able to recover it but it wasn’t a pretty experience. It all started with a Windows security update last Thursday. The security update was actually six separate security updates released simultaneously. Since installing the updates, Flash has crashed three times (it never crashed before this), Photoshop has crashed once (ditto) and then today Windows decided that my anti-virus and anti-spyware (Windows Defender – the default Microsoft product) didn’t exist, which prompted it to throw security alerts every time I tried to do anything. The solution was obvious – revert the system to a state before the update. Fortunately, Microsoft’s system restore makes this easy – it restores the system to an earlier point without affecting your user files. I reverted the system and all seemed fine. In particular, my anti-virus and anti-spyware worked once more. So I launched Eclipse and started work again, only to discover all my work had also reverted to the state it was in last Thursday. That’s three days work down the tubes. System restore is only supposed to affect system files, not my personal files. Fortunately, I use Subversion to manage my code so I was able to restore the latest version from the Subversion repository. It also seems that this problem only happens with Subversion – all my work that wasn’t in the repository remained at the latest version. Apparently Vista thinks that Subversion repositories are system files that should be backed up and restored at the system restore points. Beware. If using Subversion, check in your code before doing a system restore.

One thought on “Windows Vista just hosed my work

  1. Dude.

    Same thing just happened to me. Not sure whether to blame System Restore, or Subversion (or TortoiseSVN), but they do not play nicely together.

    1) Comp was playing up due to new network settings.
    2) Did a System Restore to two days ago.
    3) Two days’ worth of C# code disappeared.
    4) Undid that System Restore, so my code reappeared and the comp started playing up again.
    5) Committed all my work to Subversion. (Using TortoiseSVN, btw, in case it’s not a Subversion bug, but a Tortoise bug?)
    6) Repeated step #2. Again, two days’ worth of code disappeared.
    7) Did a Revert, and Subversion restored my missing work.

    The above is the technique I recommend for anyone who *didn’t* perform a Commit before they did that first Restore.

    Glad both you and I were able to recover.


Leave a Reply

Your email address will not be published. Required fields are marked *