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
- Appendix A. Additional information
About NetBackup for MongoDB debug logging
NetBackup maintains process-specific logs for the various processes that are involved in the backup and restore operations. Examining these logs can help you to find the root cause of an issue.
These log folders must already exist in order for logging to occur. If these folders do not exist, you must create them.
Additionally, after every job (backup/restore), mdbserver log(s) that are created on the MongoDB nodes are copied to the respective backup hosts from where it was processed. These logs are kept in the nbaapireq_handler folder so that they can be collected by nbsu or nbcplogs utilities. To retain uniqueness of log file names collected from different hosts to a single folder, each log file name is prefixed with the hostname. For example, if the log files generated by mdbserver on hosts MDBSERVER1 and MDBSERVER2 for a backup job are "root.mdbserver.121219_00001.log", they are copied back to the backup host as MDBSERVER1-root.mdbserver.121219_00001.log and MDBSERVER2-root.mdbserver.121219_00001.log.
The log folders reside on the following directories
On UNIX or Linux:
Table: NetBackup logs related to MongoDB
Messages related to
Logs reside on
BigData framework, discovery, and MongoDB configuration file logs
Policy validation, backup, and restore operations
Restore and MongoDB configuration file
nbaapireq_handler and mdbserver
For more details, refer to the NetBackup Logging Reference Guide.