Well, you can download the machine code and save it to a hexfile. It can be used to program other chips of the same kind.
But I assume you wanted to get the C-code back, can't be done.
Mr. Backup is your friend.
If you should be using linux or a mac, I suggest using some sort of version control tools. I personally use GIT to keep my code in order including a full history of changes.