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
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_8.3 SJA
to the package repository on the NetBackup master server.Note:
The version number must be the same as the backup host.
To add the package, run the nbrepo command on the NetBackup master server:
./nbrepo -add vxupdate_nb_8.3_suse_x64.sja
./nbrepo -add vxupdate_nb_8.3_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 master 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 master 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.
Best practices:
Add the entries of all the nodes of the MongoDB cluster to the
/etc/hosts
file on all the backup hosts. You must add the host name in FQDN format.Or
Add the appropriate DNS entries in the
/etc/resolv.conf
file.