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 manually creating the mongodb.conf file
Note:
If you use the MongoDB configuration tool, these manual steps are not required.
If you do not specify any values in the
mongodb.conf
file for MongoDB cluster ports and paths to deploy the thin clients, create snapshots, or logs, the default values are considered.The minimum value of the max_streams field is 32. If max_streams is not defined, the default value is 32 parallel data streams per backup host.
For the max_streams field in the
mongodb.conf
file, the value of the backup host takes priority over the global_default value.For example, the value 32 takes priority over the value 34 and the job runs 32 streams during a backup in this scenario:
"max_streams": { "global_default": 34, "Backup_Host":32}
The backup streams are distributed across the backup hosts as defined in the backup policy and not as per the backup hosts that are defined in the max_streams option in the mongodb.conf file.
For a sharded MongoDB environment, ensure that the
mongodb.conf
file has the latest primary config server and secondary config server.Ensure that the folders or directories that are mentioned in the
mongodb.conf
file are available on the MongoDB cluster. For example, the folders or directories for snapshot_mount_path, oplog_location, logdir, etc.Whitelist the
mongodb.conf
file path inbp.conf
using the BPCD_WHITELIST_PATH option. For more information, See Whitelisting the configuration file path on NetBackup master server.Give the host user access to the port and the port range that is specified in the
mongodb.conf
file.