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
- Backing up MongoDB using NetBackup
- Restoring or recovering MongoDB data using NetBackup
- 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. The streams are not distributed according to 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.To the allowed list add the
mongodb.conf
file path. In thebp.conf
file use the bpcd_allowed_path option.See Including the configuration file path in the allowed list on the NetBackup primary server.
Give the host user access to the port and the port range that is specified in the
mongodb.conf
file.