Changing the default bpdbjobs_options values
Use the one of the following methods to change the default values of the bpdbjobs_options on a permanent basis:
On Windows:
Use the following method to add new registry key(s) to HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\
CurrentVersion\Config
To add the key(s) safely, run the following commands. For example:
install_path\Veritas\NetBackup\bin\admincmd\ echo KEEP_JOBS_HOURS = 192 | nbsetconfigWhere 192 is the number of hours that unsuccessful jobs are kept in the jobs database or Activity Monitor display.
For example, run:
echo KEEP_JOBS_SUCCESSFUL_HOURS = 192 | nbsetconfig
Where 192 is the number of hours that successful jobs are kept in the jobs database or Activity Monitor display.
On UNIX:
Change the entries in the bp.conf file.
For example, add the following entry to the bp.conf file:
KEEP_JOBS_HOURS = 192
Where 192 is the number of hours that unsuccessful jobs are kept in the jobs database or Activity Monitor display.
For example, to change the retention of successful jobs, add the following entry:
KEEP_JOBS_SUCCESSFUL_HOURS = 192
Where 192 is the number of hours that successful jobs are kept in the jobs database or Activity Monitor display.
Consider the following notes when changing the default values:
The default values for KEEP_JOBS_SUCCESSFUL_HOURS and KEEP_JOBS_HOURS is 78 hours.
The retention period values are measured against the time the job ended.
Information about successful jobs cannot be kept longer than information about unsuccessful jobs. If KEEP_JOBS_SUCCESSFUL_HOURS is greater than KEEP_JOBS_HOURS, bpdbjobs sets KEEP_JOBS_SUCCESSFUL_HOURS to equal KEEP_JOBS_HOURS.
If KEEP_JOBS_SUCCESSFUL_HOURS is set to 0, bpjobd uses the KEEP_JOBS_HOURS bpdbjobs value instead for successful jobs.
If the KEEP_JOBS_SUCCESSFUL_HOURS value is greater than 0 but less than KEEP_JOBS_HOURS, KEEP_JOBS_HOURS is used for unsuccessful jobs only.