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. NetBackup™ Logging Reference Guide
  3. Using logs
  4. About legacy logging
  5. Limit the size and retention of legacy logs
NetBackup™ Logging Reference Guide

Limit the size and retention of legacy logs

Because legacy debug logs can grow very large, enable them only if unexplained problems exist. Delete the logs and the associated directories when they are no longer needed.

Keep logs for days

Limits the time that NetBackup retains NetBackup process logs (except media and device management logs). The default is 28 days.

DAYS_TO_KEEP_LOGS setting in vm.conf

Controls log file rotation for media and device management legacy logs. The default is 30 days. The vm.conf file is located in install_path\Volmgr\ or /usr/openv/volmgr/.

MAX_LOGFILE_SIZE and MAX_NUM_LOGFILES settings

With legacy logging, NetBackup uses the configuration file (the Windows registry or the bp.conf file on UNIX) to set the maximum size of a log file. Use the bpsetconfig command to configure the following bp.conf parameters:

  • The MAX_LOGFILE_SIZE parameter indicates the maximum size of a log file. When the log file size in NetBackup matches the MAX_LOGFILE_SIZE setting, the next logs are stored in a new log file. The default is 500 MB.

  • The MAX_NUM_LOGFILES parameter indicates the maximum number of log files that can be created in NetBackup. When the number of log files matches the MAX_NUM_LOGFILES setting, the older log files are purged. The default is 0 (infinite).

Feedback

Was this page helpful?
Previous

How to control the amount of information written to legacy logging files

Next

Accessibility of the legacy logs

Feedback

Was this page helpful?