Restoring a MongoDB Cluster to Its Current Location (In Place)

You can restore an entire MongoDB cluster to its current location (in place).

After the data is restored to all the servers in the source cluster, replica sets are initiated, and then all the secondary nodes are added to the corresponding replica set automatically.


  • If authentication is disabled on the destination MongoDB server, the loopback IP ( must be a part of the bind_ip list to automatically shut down the server. Otherwise, you will need to manually shut down the server.

  • If authentication is enabled, the MongoDB user must have a root role to initialize replica sets.

Before You Begin


  1. From the navigation pane, go to Protect > Big data.

    The Big data page appears.

  2. In the row for the cluster, click the action button (...) and then click Restore.

    The Backup content page appears.

  3. Select the content that you want to restore, and then click Restore.

    The Restore options dialog box appears.

  4. In the Restore mode type list, verify that the in place restore type is selected.

    By default, the Automatic Restore check box is selected to automatically shut down the MongoDB servers and clean up the data directories as part of the restore.

    If you are using OpsManager to manage a MongoDB cluster, the OpsManager services shut down automatically. After the restore is complete, the services automatically start again. On Unix clusters, by default, the systemctl commands are used to start and stop OpsManager. However, you can set the sOpsManagerServiceScript additional setting to override the systemctl commands.


    If the Automatic Restore check box is cleared, then before you submit the restore, you must manually shut down the servers and clean up the dbPath. In addition, on Linux, if there are any symbolic links to dbPath or under dbPath, they must not be removed.

  5. To perform a point-in-time restore between the duration of incremental backups, beside Apply oplog until, enter the backup time.

  6. To restore the oplogs, in the Staging path for Oplog dumps box, enter the path to restore the Oplogs to.

    By default, the oplog backups are restored to the Job Results directory on each node.

  7. Click Restore.

    The Confirm restore dialog box appears.

  8. Click Yes.

What to Do Next

  • Optionally, for sharded clusters, start the mongo routing service manually if internal authentication is enabled. By default, the mongos routing service is started as part of the restore operation without authentication.