fix backup/restore
Merge pull request #853 from ahilles107/fix_backup

fix backup/restore