To change the default values on a permanent basis, 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 | bpsetconfig
Where 192 is the number of hours that unsuccessful jobs are kept in the jobs database or Activity Monitor display.
echo KEEP_JOBS_SUCCESSFUL_HOURS = 192 | bpsetconfig
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:
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.