MAX_NUM_LOGFILES option for NetBackup servers and clients for legacy logging
The MAX_NUM_LOGFILES option specifies the maximum number of log files that you want to be retained in a NetBackup log directory. When the number of log files in the directory matches the MAX_NUM_LOGFILES setting, the oldest log file is deleted.
Table: MAX_NUM_LOGFILES information
Usage | Description |
|---|---|
Where to use | On NetBackup servers or clients. |
How to use | Use the nbgetconfig (or bpgetconfig) and the nbsetconfig (or bpsetconfig) commands to view, add, or change the option. For information about these commands, see the NetBackup Commands Reference Guide. Use the following format to set MAX_NUM_LOGFILES to a new value in the bp.conf file: MAX_NUM_LOGFILES = X 'X' indicates maximum number of NetBackup log files that are created in a log directory. MAX_NUM_LOGFILES should be set to a number that should be greater than one (1). If you have set MAX_NUM_LOGFILES to an invalid value such as 0 or 1, it is automatically set to the default value, which is infinite. However, in the bp.conf file, the MAX_NUM_LOGFILES entry appears as follows: MAX_NUM_LOGFILES = 0 Zero (0) indicates an infinite value. This entry should appear only once in the configuration file. |
Equivalent NetBackup web UI property | No equivalent exists in the host properties. |