Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ DataStore SDK Programmer's Guide for XBSA 1.1.0
  3. Using the NetBackup XBSA interface
  4. Creating a NetBackup XBSA application
  5. Logging and NetBackup
Veritas NetBackup™ DataStore SDK Programmer's Guide for XBSA 1.1.0

Logging and NetBackup

NetBackup has a log directory that contains the debug logs for the various processes that make up the NetBackup server and/or client. There is a configurable verbose level that controls how much information is logged to these debug logs. This verbose level is a value from 0 to 5, with 0 indicating minimal logging and 5 being debug. These logs are used by NetBackup support to help solve customer problems. The log directory is located at /usr/openv/netbackup/logs on UNIX systems and install directory/Veritas/NetBackup/logs on Windows. Within this directory are directories for the different processes such as bprd, bpbrm, and so on. One log file gets created for each day, and NetBackup automatically cleans up old files from this directory. The NetBackup XBSA interface by default logs to the directory exten_client.

With NetBackup 9.0, some of the NetBackup services use Unified Logging (VxUL). Those include scheduler components: nbjm, nbpem and nbrb. For more details on VxUL, please see the NetBackup Troubleshooting Guide and the NetBackup Logging Reference Guide. The NetBackup XBSA interface does not currently use VxUL.

The NetBackup XBSA interface allows the XBSA application to log in a manner consistent with other NetBackup processes. By using the NBBSALogMsg() function, the XBSA application logs messages to the same file as the NetBackup XBSA interface. This can cause some confusion for the developer at first, especially at high debug levels, but lets the application see what causes the errors and it could help NetBackup support see what the XBSA application is doing. The log messages contain a timestamp along with the process ID, which is useful when there are multiple processes going at once.

The log message also contains a debug level. The different error levels used by NetBackup are defined in nbbsa.h. One of these values should be used in the msgType parameter of NBBSALogMsg(). While there are no hard definitions of when to use each of these values, using these values may help if NetBackup support or engineering is ever involved in looking at a debug log.

#define MSINFO         4
#define MSWARNING      8
#define MSERROR       16
#define MSCRITICAL    32

The XBSA application is not required to log information to the NetBackup logs. If the XBSA application is the backup portion of another application or database, it may make more sense to log information to a place consistent with the rest of the application.

Feedback

Was this page helpful?
Previous

Media ID example

Next

Client in a cluster

Feedback

Was this page helpful?