Veritas 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
- Configuring backup options for MongoDB using the mongodb.conf file
- Adding MongoDB credentials in NetBackup
- Managing backup hosts
- Backing up MongoDB using NetBackup
- Backing up MongoDB data
- Configuring NetBackup policies for MongoDB plug-in
- Restoring or recovering MongoDB data using NetBackup
- About the restore scenarios for MongoDB database from the BAR interface
- Recovering a MongoDB database using the command line
- 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 master 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 master, 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 master 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, a few 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 using NetBackup | Overview of the backup process: Prerequisites or the best practices for backing up MongoDB databases: Creating and using a backup policy:
Create a BigData policy using:
|
Restore and recover the MongoDB database | Overview of the restore and the recovery process: Prerequisites or the best practices for backing up MongoDB databases: Understanding the restore and the recovery scenarios for MongoDB:
|