Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Increse retention time in activity monitor

Updated: 21 May 2010 | 4 comments
jneltech's picture
0 0 Votes
Login to vote
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

Comments

Alex Vasquez's picture
30
Apr
2007
0 Votes 0
Login to vote

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.

"I’m an early bird and a night owl. So I’m wise and I have worms."
- Michael Scott

ray solomon's picture
30
Apr
2007
0 Votes 0
Login to vote

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 Khandelwal's picture
30
Apr
2007
0 Votes 0
Login to vote

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 Bannister's picture
14
Jun
2007
0 Votes 0
Login to vote

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