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 unified logging
  5. About recycling unified log files
Veritas NetBackup™ Logging Reference Guide

About recycling unified log files

Deleting the oldest log files is referred to as recycling. You can recycle unified logging files in the following ways.

See Log retention and log size.

Limit the number of log files

Specify the maximum number of log files that NetBackup retains. When the number of log files exceeds the maximum, the oldest log files become eligible for deletion during log cleanup. The NumberOfLogFiles option for the vxlogcfg command defines that number.

In the following example, the maximum number of log files that are allowed for each of the unified logging originators in the NetBackup (product ID 51216) is 8000. When the number of log files exceeds 8000 for a particular originator, the oldest log files become eligible for deletion during log cleanup.

# vxlogcfg -a -p 51216 -o ALL -s 
    NumberOfLogFiles=8000

See Examples of using vxlogcfg to configure unified logs.

Specify the number of days the log files are kept

Use the Keep logs for days property to specify the maximum number of days logs are kept. When the maximum number of days is reached, the unified logs and legacy logs are automatically deleted.

In the NetBackup Administration Console, in the left pane, expand NetBackup Management > Host Properties > Master Servers. Double-click the server you want to change. A new dialog box appears. In the left pane, click Logging > Keep logs for days.

Explicitly delete the log files

To initiate recycling and delete the log files, run the following command:

# vxlogmgr -a -d

If you cannot manually delete or move files with vxlogmgr, the Keep logs for days property removes the old logs for both unified logging and legacy logging.

See Examples of using vxlogmgr to manage unified logs.

If the vxlogcfg LogRecycle option is ON (true), the Keep logs for days setting is disabled for unified logs. In this case, unified logging files are deleted when their number (for a particular originator) exceeds the number that the NumberOfLogFiles option specifies on the vxlogcfg command.

Feedback

Was this page helpful?
Previous

About rolling over unified log files

Next

About using the vxlogview command to view unified logs

Feedback

Was this page helpful?