Please enter search query.
Search <product_name> all support & community content...
How to find out if bpjobd is using the correct values for KEEP_JOBS_HOURS and KEEP_JOBS_SUCCESSFUL_HOURS
Article: 100016293
Last Published: 2022-11-11
Ratings: 1 2
Product(s): NetBackup & Alta Data Protection
Problem
How to find out if bpjobd is using the correct values for KEEP_JOBS_HOURS and KEEP_JOBS_SUCCESSFUL_HOURSSolution
The
bpjobd log will display what values NetBackup is using for KEEP_JOBS_HOURS and KEEP_JOBS_SUCCESSFUL_HOURS.
To enable the bpjobd logging:
To enable the bpjobd logging:
1. Edit the /usr/openv/netbackup/bp.conf on the master server and add:
VERBOSE = 1
[or higher]
2. Create the log directory:
#mkdir /usr/openv/netbackup/logs/bpjobd
3. Run the
bpdbjobs -clean
command:
#/usr/openv/netbackup/bin/admincmd/bpdbjobs -clean
The bpjobd log will display:
10:07:22.361[9589] <2> job_recycle_files: hsAll 432000, hsSuccess 345600, hsNow1080317242
Divide the values for hsAll and hsSuccess by 60 twice to get the cleaning time in hours.
hsAll: 432000 / 60 = 7200 / 60 = 120
This value shouldmatch the /usr/openv/netbackup/bp.conf entry for:
KEEP_JOBS_HOURS= 120
hsSuccess: 345600 / 60 = 5760 / 60 = 96
This valueshould match the /usr/openv/netbackup/bp.conf entry for:
KEEP_JOBS_SUCCESSFUL_HOURS = 96
Note: The log entry format may be slightly different in each version of NetBackup.
The bpjobd log may display:
08:48:35.191 [2818] <2>jobrecycle_files: hSA 280800, hSS 280800, Now 1087307315