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
- 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
- Index
Prerequisites for configuring the MongoDB plug-in
Consider the following when you configure NetBackup for MongoDB:
Prerequisites:
Add the MongoDB thin client package that is part of
vxupdate_nb_version SJAto the package repository on the NetBackup primary server.Note:
The version number must be the same as the backup host.
To add the package, run the nbrepo command on the NetBackup primary server:
./nbrepo -add vxupdate_nb_version_suse_x64.sja
./nbrepo -add vxupdate_nb_version_redhat_x64.sja
For a MongoDB host with CentOS operating system, add the Linux RHEL VxUpdate package of the NetBackup version of the backup host in the package repository on the NetBackup primary server.
Note:
If the package is not added, the MongoDB backups can fail with error - 6729: "Unable to download the thin client from the package repository."
Use consistent conventions for host names of backup hosts, media servers, and primary server. For example, if you are using the host name as MongoDB.veritas.com (FQDN format) use the same everywhere, specially while running the tpconfig command.
Ensure that the backup host can communicate with all the MongoDB nodes.
Ensure that the
bindIpsetting in the configuration file of mongod instance on the MongoDB hosts has value0.0.0.0.
Best practices:
Add the entries of all the nodes of the MongoDB cluster to the
/etc/hostsfile on all the backup hosts. You must add the host name in FQDN format.Or
Add the appropriate DNS entries in the
/etc/resolv.conffile.