About the restore scenarios for MongoDB database from the BAR interface
For restoring MongoDB cluster from the Backup, Archive, and Restore interface, the following scenarios are possible:
Restore Only or Restore and Recover a MongoDB cluster to the same location or a different location.
Restore all or specific nodes of a MongoDB cluster to the same or a different location, and then run the manual steps to recover the MongoDB cluster.
The restore destination options are available in the General tab after you enter the details in the Backup, Archive, and Restore interface and proceed to the Restore Marked Files dialog box.
Table: Destination options for restore
Option from the General tab in the Restore Marked Files dialog box | Scenario |
|---|---|
Restore everything to its original location. | Restore the MongoDB database to the same location or cluster. |
Restore individual directories and files to different locations. | Restore the MongoDB database to an different location or cluster. |
Restore and recovery options are available in the MongoDB tab in the Restore Marked Files dialog box.
Table: Restore options for MongoDB
Option from the MongoDB tab in the Restore Marked Files dialog box | Scenarios to select the restore and recovery options |
|---|---|
Restore and Recover | Restores and recovers the entire MongoDB cluster with the following recovery options:
|
Restore Only | Warning: Use this option with caution since this may lead to inconsistent state of the cluster.
Before you use this option, you must shutdown the MongoDB cluster. Stop the mongos process and then the mongod processes on all the nodes of the configuration server and shards. MongoDB recommends to use the db.shutdownServer() command. Note: The MongoDB services are not validated on the target cluster nodes. |
The Recovery Options section is applicable only for the Restore and Recover option.