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™ Logging Reference Guide
  3. Using logs
  4. About legacy logging
  5. Configuring the legacy log rotation
Veritas NetBackup™ Logging Reference Guide

Configuring the legacy log rotation

You can specify the maximum file size for a legacy log and the maximum number of log files to retain.

See About log retention in NetBackup.

In the case of legacy logging, NetBackup uses the bp.conf configuration file to set the maximum size of a log file. Use the bpsetconfig command to configure the following bp.conf parameters to do the log settings: MAX_LOGFILE_SIZE and MAX_NUM_LOGFILES

The default value for MAX_LOGFILE_SIZE is 500 MB and the default value for MAX_NUM_LOGFILES is 0 (infinite).

To configure the legacy log rotation

  • To change the maximum file size or the maximum number of log files per directory, use the MAX_LOGFILE_SIZE and the MAX_NUM_LOGFILES options. These options are part of the bpsetconfig command that is located in the following directory:

    Windows

    install_pathNetBackup\bin\admincmd\

    UNIX

    /usr/openv/netbackup/bin/admincmd/

    Use the following UNIX example to set the maximum file size to 512 MB and the maximum number of log files per log directory to 4:

    #bpsetconfig
    bpsetconfig> MAX_LOGFILE_SIZE = 512
    bpsetconfig> MAX_NUM_LOGFILES = 4
    bpsetconfig>
    CTRL-D

A complete description of bpsetconfig is in the NetBackup Commands Reference Guide.

Feedback

Was this page helpful?
Previous

About limiting the size and the retention of legacy logs

Next

About global logging levels

Feedback

Was this page helpful?