Changing the default bpdbjobs_options values
Use one of the following methods to change the default values of the bpdbjobs_options on a permanent basis.
Note: 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.
On Windows:
To add new registry key(s) to HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config run the following commands.
1. Navigate to the directory:
cd install_path\Veritas\NetBackup\bin\admincmd\2. 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
3. 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
On UNIX:
To add new configuration to /usr/openv/netbackup/bp.conf, use the following commands:
1. Navigate to the directory:
cd /usr/openv/netbackup/bin/admincmd/
2. 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
3. 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 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.