You can restore a MongoDB cluster by using a snapshot reference. A cluster can have multiple snapshots for backup and are retained for seven days; hence, cluster recovery is possible for up to a week from the current date. For more information, see Backup and Recovery.
Note: MongoDB database cluster backups are available only in the following editions: Business and Enterprise. Backups are disabled for the Playground edition.
Restore a Cluster
Note:
All the available MongoDB clusters that are part of your contract are listed on the MongoDB cluster overview page.
You cannot revert the database restore operation once confirmed. For more information, see Backup and Recovery.
You cannot initiate a new database restore of a cluster from a snapshot when a restore is already in progress.
1. In the DCD, click Menu > Databases > MongoDB.
Select MongoDB from the drop-down menu
2. In the MongoDB cluster overview window, select the database cluster that is added for the Business edition by selecting a cluster from the list by clicking on its name or by selecting Details in the OPTIONS column.
Alternative edit option
Select Backups.
In the Backups tab, choose the snapshot you want to use for restoring the database cluster from the list of available snapshots. Each snapshot displays the following details:
Version: The MongoDB version number of the database cluster.
Created: A date and time when the database snapshot was created. For more information on instances when the snapshots are added, see Backups.
Size: Snapshot database cluster size (in MB).
MongoDB snapshots
5. Click Restore on the snapshot selected for restoring the data in the cluster.
MongoDB database restore confirmation
Result: The database restore from the selected snapshot is successfully initiated.
1. In the DCD, click Menu > Databases > MongoDB.
Select MongoDB from the drop-down menu
2. In the MongoDB cluster overview window, select the database cluster that is added for the Enterprise edition by selecting a cluster from the list by clicking on its name or by selecting Details in the OPTIONS column.
MongoDB Clusters
3. In the Backups tab, choose from the following two options to restore a database cluster:
a. Point-in-time recovery: Select Point-in-time recovery to restore the database cluster from a specific point-in-time of the database backup.
Choose the backup time from the calendar displayed and click Save. The number of hours in the past from which the backup is possible is between 1 and 24 hours. The default value is 24 hours.
Restore by time
You will receive a confirmation message that the backup is being restored.
MongoDB database restore confirmation
b. Restore: Choose the snapshot you want to use for restoring the database cluster from the list of available snapshots.
Click Restore.
Confirm the database restore from the snapshot by clicking Restore.
MongoDB snapshots
Note: Each snapshot displays the following details:
Version: The MongoDB version number of the database cluster.
Created: A date and time when the database snapshot was created. For more information on instances when the snapshots are added, see Backups.
Size: Snapshot database cluster size (in MB).
Result: The database restore from the selected snapshot is successfully initiated.