NetBackup™ for MongoDB Administrator's Guide
- Overview of protecting MongoDB using NetBackup
- Verify the pre-requisites for the MongoDB plug-in for NetBackup
- Configuring NetBackup for MongoDB
- Backing up MongoDB using NetBackup
- Restoring or recovering MongoDB data using NetBackup
- Troubleshooting
- Appendix A. Additional information
About protecting a sharded, replica set, or standalone MongoDB cluster using NetBackup
NetBackup supports the protection of the following MongoDB configurations:
Sharded MongoDB cluster
Replica set MongoDB cluster
Standalone MongoDB cluster without replica sets
Use the NetBackup for MongoDB plug-in to protect your sharded (MongoDB cluster with configuration server and shards), replica set, or standalone MongoDB cluster using the following high-level steps:
Table: Protecting a sharded, replica set, or standalone MongoDB cluster using NetBackup
Step overview | Details |
---|---|
Use NetBackup to protect MongoDB. | On a very high level, to protect MongoDB you need:
Refer to the NetBackup compatibility lists for the supported primary and media server configurations. The backup host (NetBackup media server or a NetBackup client) is supported only on an RHEL or a SUSE host. NetBackup appliance including Flex appliance is also supported as a NetBackup primary, a media server, or as a client that can act as a backup host. Refer to the following topics to get a protection overview and the best practices: |
Verify the pre-requisites for the MongoDB plug-in. | Refer to the following topics before you use the plug-in: |
Run the MongoDB configuration tool. | Run MongoDB configuration tool to generate the following files automatically:
You can access the MongoDB configuration tool using the tpconfig command line on the NetBackup primary server. The path to access the tpconfig command is For more information, See About the MongoDB configuration tool. |
Configure the MongoDB plug-in and the communication between NetBackup and MongoDB. Note: If you use the MongoDB configuration tool, some of these configuration steps are not required. | Create a
Get the RSA key of the MongoDB node for adding MongoDB credentials to NetBackup:
Add the MongoDB credentials to NetBackup to facilitate communication:
Give the appropriate permissions to a NetBackup user in MongoDB: To use a non-root user or a user without root permissions as a host user: Identify and configure a backup host.
|
Back up your MongoDB database with NetBackup. | Overview of the backup process: Prerequisites or the best practices for backing up MongoDB databases: |
Restore and recover the MongoDB database. | Overview of the restore and the recovery process: Prerequisites or the best practices for backing up MongoDB databases:
|