cancel
Showing results for 
Search instead for 
Did you mean: 

Increse retention time in activity monitor

jneltech
Level 3
Is there a way to increase the jobs history retention period?  I would like to keep more than 4 days worth of jobs in the window of activity monitor.
 
thanks
4 REPLIES 4

Alex_Vasquez
Level 6
I believe the answer to your question is this:  Go to host properties> master server> global attributes> cleanup.  Change the 'Keep Logs' setting to a desired value.

ray_solomon
Level 3
For unix you can edit the bp.conf file with the following entry:

KEEP_JOBS_HOURS = <hours>

Ours is set at:
KEEP_JOBS_HOURS = 192

For windows from the netbackup documentation ( NetBackup_AdminGuideI_WinServer):


Retaining Job Information in the Database
There may be times when it is desirable to keep jobs in the jobs database longer than three days. The default can be changed on a more permanent basis, or temporarily, lasting only until the next reboot or cycling of NetBackup services.
Changing the Default on a Permanent Basis
Since the bpdbjobs database resets to default conditions upon reboot or cycling NetBackup Services, you may want a more permanent means of indicating how long to keep jobs in the Activity Monitor.
Use the following method to add new registry key(s) to
HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\
CurrentVersion\Config
To do so safely, from a command window, run:

install_path\VERITAS\NetBackup\bin\admincmd\
echo KEEP_JOBS_HOURS = 192 | bpsetconfig

Where 192 is the number of hours that all jobs (both successful and unsuccessful) will be kept in the jobs database (or Activity Monitor display).

To retain only successful jobs, enter:
echo KEEP_JOBS_SUCCESSFUL_HOURS = 192 | bpsetconfig



hth

-ray

Message Edited by ray solomon on 04-30-200702:16 PM

Rakesh_Khandelw
Level 6
Follow the steps Ray has provided. If you have UNIX server, update /usr/openv/netbackup/bp.conf file with desire value for KEEP_JOBS_HOURS and KEEP_JOBS_SUCCESSFUL_HOURS

Richard_Bannist
Level 5
in UNIX there's a maximum of 720 hours for this parameter, in versions up to 5.1 (don't know if it's the same maximum in Windows or in NBU 6.0) -

https://forums.symantec.com/syment/board/message?board.id=21&message.id=34048#M34048

Message Edited by Richard Bannister on 06-14-200706:01 AM