About configuring automatic notification cleanup tasks
By default, NetBackup runs event notification cleanup tasks every 4 hours. Up to 10,000 event records are stored for up to 3 days in the event database. During the cleanup tasks, NetBackup removes the older notifications from the database.
You can change how often the cleanup tasks run, how many event records are kept at one time, and the number of days a record is retained.
From a command line, use bpsetconfig or bpgetconfig to change the parameter values listed in Table: Configurable parameters for automatic notification cleanup tasks. See the NetBackup Command Reference Guide for more information about these commands.
You can also change the parameter values with the following APIs:
GET/config/hosts/{hostId}/configurations
POST/config/hosts/{hostId}/configurations
GET/config/hosts/{hostId}/configurations/configurationName (for a specific property)
PUT/config/hosts/{hostId}/configurations/configurationName
DELETE/config/hosts/{hostId}/configurations/configurationName
See the NetBackup 11.1 API Reference on SORT for more information about these APIs.
Table: Configurable parameters for automatic notification cleanup tasks
Parameter and description | Minimum value | Default value | Maximum value |
|---|---|---|---|
EVENT_LOG_NOTIFICATIONS_COUNT The maximum number of records that are stored, after which the cleanup process removes the oldest record, overriding the retention value. | 1000 | 10000 | 100000 |
EVENT_LOG_NOTIFICATIONS_RETENTION_IN_HOURS The number of hours for which the events are stored in the database. | 24 (hours) | 72 (hours) | 168 (hours) |
EVENT_LOG_NOTIFICATIONS_CLEANUP_INTERVAL_IN_HOURS The frequency at which the event cleanup service runs. | 1 (hour) | 4 (hours) | 24 (hours) |