Veritas NetBackup for MongoDB Administrator's Guide
- Overview of protecting MongoDB using NetBackup
- Installing and deploying MongoDB plug-in for NetBackup
- Deploying the MongoDB plug-in
- Operating system and platform compatibility
- Downloading the plug-in
- Installing the MongoDB plug-in and the required EEBs
- Prerequisites and the best practices for deploying the MongoDB plug-in
- Post installation procedures
- Verifying the installation of the MongoDB plug-in
- Configuring NetBackup for MongoDB
- About the MongoDB configuration tool
- Prerequisites for manually creating the mongodb.conf file
- Configuring backup options for MongoDB using the mongodb.conf file
- Obtaining the RSA key of the MongoDB nodes
- Adding MongoDB credentials in NetBackup
- Using a non-root user as a host user
- Managing backup hosts
- Backing up MongoDB using NetBackup
- Backing up MongoDB data
- Prerequisites for backing up a MongoDB cluster
- Configuring NetBackup policies for MongoDB plug-in
- Creating a BigData backup policy
- Creating BigData policy using the NetBackup Administration Console
- Using the Policy Configuration Wizard to create a BigData policy for MongoDB clusters
- Using the NetBackup Policies utility to create a BigData policy for MongoDB clusters
- Using NetBackup Command Line Interface (CLI) to create a BigData policy for MongoDB clusters
- Restoring or recovering MongoDB data using NetBackup
- Restoring MongoDB data
- Prerequisites for MongoDB restore and recovery
- About the restore scenarios for MongoDB database from the BAR interface
- Using the BAR interface to restore the MongoDB data on the same cluster
- Using the BAR interface to restore the MongoDB data on an alternate cluster
- About restoring MongoDB data in a high availability setup on an alternate client
- Recovering a MongoDB database using the command line
- Manual steps after the recovery process
- Troubleshooting
- Appendix A. Additional information
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.