Implement basic backup/restore.