Implement fetch and restore modes for backup