- Back Up and Restore Deployments >
- Restore MongoDB Deployments >
- Restore Overview >
- Restore from a Specific Point-in-Time using
SCP
Restore from a Specific Point-in-Time using SCP
¶
To restore a snapshot using SCP, the Backup Daemon streams the snapshot to the target snapshot host.
The user selects a timestamp:
- Through the Ops Manager application:
- Click on a timestamp.
- Submit their request.
- Through the API:
- Find the cluster to restore.
- Create new Restore Job for that cluster.
- Through the Ops Manager application:
Ops Manager creates a RestoreJob document.
The Backup Daemon service picks up the RestoreJob document.
Backup Daemon service starts streaming the snapshot in the requested format from the Snapshot Store to the target snapshot host. Each Snapshot Store streams its snapshot components through Ops Manager:
- A Blockstore streams Blocks.
- A S3 Snapshot Store streams the Blocks.
- A File System Store streams the Files.
The user downloads the MongoDB Backup Restore Utility from the Ops Manager application to the target snapshot host.
Note
The MBRU is not unique to each restore. If the utility is installed on the host where the snapshot will be restored, the user does not need to download it again.
The user starts a temporary MongoDB instance on the target snapshot host. The fetched oplog is applied to the snapshot restored to this instance.
The user runs the MBRU to request the oplog.
The MBRU fetches the oplog for the point-in-time snapshot.
The MBRU applies the oplog to snapshot in the temporary MongoDB instance.
The user exports the restored database from the temporary MongoDB instance.