- Back Up and Restore Deployments >
- Restore MongoDB Deployments >
- Restore Overview >
- Restore from a Specific Point-in-Time
Restore from a Specific Point-in-Time¶
On this page
To restore a snapshot from a point in time, you must direct Ops Manager to restore to another managed cluster or generate a download of the snapshot data. A restore to another managed cluster can be called either a targeted or automatic restore. A restore to create an archive of the database or an unmanaged cluster can be called a downloaded or manual restore.
This workflow steps through the backend process for both an automatic restore and a manual restore. Automatic restores omit the optional steps. Manual restores follow all steps.
To learn how to restore snapshots, see Next Steps.
Note
PIT restores include points in time and oplog timestamps. PIT restores include checkpoints for sharded clusters running FCV of 4.0 or earlier.
Workflow¶
Select a timestamp.¶
Select a timestamp to which you want to restore your data:
- Through the Ops Manager console:
- Click on a timestamp.
- Submit their request.
- Through the API:
- Find the cluster to restore.
- Create new Restore Job for that cluster.`
Ops Manager creates a RestoreJob document.¶
Backup Daemon picks up the RestoreJob document.¶
The Backup Daemon service:
- Picks up the RestoreJob document.
- Sets the status of this RestoreJob to Waiting for Customer….
Ops Manager creates a URL.¶
Optional: Download the snapshot.¶
If you aren’t restoring the data to another cluster that Automation manages:
- Click the get link link.
- Click Download.
Ops Manager streams the snapshot.¶
In streaming the snapshot, Ops Manager:
- Sets the RestoreJob document status to Transferring….
- 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.
Optional: Download the MongoDB Backup Restore Utility.¶
If you aren’t restoring the data to another cluster that Automation manages, download the MongoDB Backup Restore Utility from the Ops Manager application to the target snapshot host.
Note
The MBRU works with any restore. If the utility is installed on the host where you want to restore the snapshot, the you don’t need to download it again.