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.
In the following instructions that an example value of 192 is given, which is equal to 8 days. This value can be replaced with your desired number of hours.
To add new registry keys to HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config perform the following procedure.
To change the default values for bpdbjobs_options on Windows
- Navigate to the following directory:
install_path\Veritas\NetBackup\bin\admincmd\
- To set the number of hours that unsuccessful jobs are kept in the jobs database or Activity monitor display, run:
echo KEEP_JOBS_HOURS = 192 | bpsetconfig
- To set the number of hours that successful jobs are kept in the jobs database or Activity monitor display, run:
echo KEEP_JOBS_SUCCESSFUL_HOURS = 192 | bpsetconfig
To add new configuration to /usr/openv/netbackup/bp.conf, perform the following procedure.
To change the default values for bpdbjobs_options on UNIX
- Navigate to the following directory:
cd /usr/openv/netbackup/bin/admincmd/
- To set the number of hours that unsuccessful jobs are kept in the jobs database or Activity monitor display, run:
echo KEEP_JOBS_HOURS = 192 | bpsetconfig
- To set the number of hours that successful jobs are kept in the jobs database or Activity monitor display, run:
echo KEEP_JOBS_SUCCESSFUL_HOURS = 192 | bpsetconfig
Consider the following notes when changing the default values:
The default value for the options 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.