Add pre/post archive/restore (refs #1638)
Merge pull request #89 from thingthing/1.4-E1638

Add pre/post archive/restore (closes #1638)