Implement backup and restore

Backup and restore certain project: Add test case and test resource