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 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: |
Download and install the MongoDB plug-in | Refer to the following topics before you download the plug-in: Refer to the following topics to download, install, and verify the installation of 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:
|