Backup and Restore from Backup

Source Control is your answer. I use SVN with my project. You can use PerForce or SVN or Git plugin.