Veritas NetBackup™ Logging Reference Guide
- Using logs
- About unified logging
- About legacy logging
- About global logging levels
- Troubleshooting error messages in the NetBackup Administration Console
- Backup process and logging
- Media and device processes and logging
- Restore process and logging
- Advanced Backup and Restore Features
- Storage logging
- NetBackup Deduplication logging
- OpenStorage Technology (OST) logging
- Snapshot technologies
- Locating logs
- Java-based administration console logging
Deduplication backup process to the Media Server Deduplication Pool (MSDP)
The client bpbkar sends data to the NetBackup backup tape manager - the bptm process
pdvfs (using bptm as a proxy) connects to the NetBackup Deduplication Manager (spad) to record metadata (image records) in the spadb mini-catalog and connects to the NetBackup Deduplication Engine (spoold) to store the image data in the
.bhd/.binfiles in the data directory (
spoold may write
.tlogfiles in the queue (
dedupe_path\queue) directory and to the processed directory. The tlog data from the queue directory will be processed into the crdb later when the next content router queue processing job runs. Beginning with NetBackup 7.6,
.tlogfiles no longer contain additions to the database.
In this scenario, the client backs up data directly to the media server and the media server deduplicates the data before it stores it locally. Ensure that this is on the correct media server which is not always the same as the MSDP storage server (due to load balancing).
For deduplication-specific logging, enable the following on the media server:
Verbose 5 bptm logging:
Create a log directory named
Set the bptm log verbosity to 5 in the NetBackup Administration Console. To do this, click on for the media server. If you use UNIX/Linux, set the bptm log verbosity to 5 in the
/usr/openv/netbackup/bp.conffile by appending the following line:
BPTM_VERBOSE = 5
pd.confconfiguration file that is located at:
and uncomment and/or modify the following line:
LOGLEVEL = 10
You can also modify DEBUGLOG in the
pd.conffile to specify a path to which to log; however, we recommend leaving the DEBUGLOG entry commented out. The logging information (PDVFS debug logging) then logs to the bptm and bpdm logs.
Enable verbose spad/spoold logging (optional).
dedup_path\etc\puredisk\contentrouter.cfgfiles so that the following line:
Logging=long,thread is changed to Logging=full,thread
Ensure that you are on the correct media server and restart the MSDP Storage Server services.
If you enable verbose logging, it may impact the performance on MSDP.
Reproduce the backup failure.
Within the NetBackup Administration Console, click on bptm process ID number (PID)., open the job details and click the tab. It displays the media server hostname that ran the backup and the
Find a line similar to bptm(pid=value); this value is the bptm PID to locate in the bptm log.
Extract the bptm PID found in step 3 from the bptm log on the media server. This step only gathers the single-line entries; review the raw logs to see the multi-line log entries. In the following examples, 3144 is the bptm PID:
Windows command line:
findstr "\[3144." 092611.log > bptmpid3144.txt
UNIX/Linux command line:
grep "\[3144\]" log.092611 > bptmpid3144.txt
Gather the spoold session logs that cover the dates from when the backup started and when it failed from the following logs: