Ouch! One of the first things I did was setup a (free, private) Github repository. I hate the thought of losing so much hard work.
Good luck! Hopefully it’s easier the second time!