Progress on backup/restore feature.

Backup should be working, restore 90% there; but not tested yet;