Restoring From Backup
The goal of restorereplica is to:
- Get back all your non-backed-up work
- Hence, not reuse oplog identifiers
Optimizing the restore process is risky
- Only need to hear from the last replica that received an update from the replica undergoing restoration -- but that can be hard to compute
- Look at exporting sync logs
- Look at importers’ replica history