Add backup/restore functionality.