Veritas NetBackup™ Logging Reference Guide
- Using logs
- About unified logging
- About legacy logging
- About global logging levels
- Troubleshooting error messages in the NetBackup Administration Console
- Backup process and logging
- Media and device processes and logging
- Restore process and logging
- Advanced Backup and Restore Features
- Storage logging
- NetBackup Deduplication logging
- OpenStorage Technology (OST) logging
- Storage lifecycle policy (SLP) and Auto Image Replication (A.I.R.) logging
- Snapshot technologies
- Locating logs
- Java-based administration console logging
About log retention in NetBackup
This section talks about various log retention options in NetBackup that help you recycle or delete logs as per your logging requirements.
Note:
You can verify the log pruning behavior in NetBackup by using the logs at the following location:
On Windows: install_path\NetBackup\logs\nbutils
On UNIX: /usr/openv/netbackup/logs/nbutils
Table: Log retention options in NetBackup
Log retention option | Use this option... | Reference link |
---|---|---|
Keep logs up to GB | To limit the size of unified and legacy logs. When the log size across NetBackup processes grows up to this configuration value, the older logs are deleted. This option is available on the dialog box. | |
NumberOfLogFiles | To limit the number of unified log files that you want to retain for a NetBackup process. When the number of log files exceeds this configuration value, the oldest log files become eligible for deletion during log cleanup. This option can be set using a command-line interface. | |
MaxLogFileSizeKB and other vxlogcfg options | To prevent unified log files from becoming too large. When a file size or time setting is reached, the current log file is closed. New log messages for the logging process are written or "rolled over" to a new log file. These options can be set using a command-line interface. | |
Keep logs for days | To limit the days for which NetBackup retains legacy logs. Logs are deleted after this configuration value is reached. dialog box. | See About limiting the size and the retention of legacy logs. |
MAX_LOGFILE_SIZE and MAX_NUM_LOGFILES | To limit the legacy log size and the number of legacy log files to be retained. These options can be set using a command-line interface. |
Note:
Before you enable logging for critical NetBackup processes, review the log retention options and select them appropriately.