Restoring Data Only to the MongoDB Cluster

Updated

You can restore only the data to the MongoDB cluster, and then follow the manual procedure to start the servers and the replica sets.

Before You Begin

If you have oplog dump backups enabled on the destination cluster, disable them.

Procedure

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

    The Apps page appears.

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

    The Backup content page appears.

  3. Select all the content, and then click Restore.

    The Restore dialog box appears.

  4. On the Restore to files tab, do the following:

    1. From the Destination cluster list, select a different cluster.

      By default, the source cluster is selected as the destination.

    2. 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.

    3. To provide inputs for the primary member in each replica set, under Replica set options, click the pencil icon.

      The Provide inputs for primary member dialog box appears.

      Enter the new values for the primary member, and then click Save.

    4. To add a secondary member for each replica set, under Replica set options, click the plus icon.

      The Provide inputs for secondary member dialog box appears.

      Enter the values for the secondary member, and then click Save.

    5. Click Submit.

      By default, the Stop MongoDB services check box is enabled to automatically shut down the destination MongoDB servers and clean up the data directories as part of the restore operation.

      Note: If the Stop MongoDB services check box is disabled, then you must manually shut down the servers and cleanup the dbPath before submitting the restore operation.

What to Do Next

After restoring the MongoDB cluster to disk, you must manually start and recover the sharded cluster or a replica set. For more information, see Performing a Manual MongoDB Restore Operation for a Sharded Cluster or Performing a Manual MongoDB Restore Operation for a Replica Set.