<img src="//bat.bing.com/action/0?ti=5794969&amp;Ver=2" height="0" width="0" style="display:none; visibility: hidden;">

How-To : Symantec Netbackup - Increase Number of Days in Activity Monitor Job History

[fa icon="long-arrow-left"] Back to all posts

[fa icon="pencil'] Posted by Lewan Solutions [fa icon="calendar"] January 16, 2010

By default (in Netbackup 6.5.x) Netbackup will only keep 78 hours (3.25 days) worth of job history under the activity monitor. For some environments this is not enough so this lesson will show how to increase this setting so that more days are kept in the activity monitor.

Query the Current Setting

media_1263671092837.png

To see what the current setting is, you can use the command:
bpgetconfig -M masterserver KEEP_JOBS_SUCCESSFUL_HOURS
This command is located under: <InstallDir>binadmincmd
As you can see in the screenshot, the default setting is 78 hours (3.25 days).

Changing/Increasing the Setting

media_1263671519337.png

Make a simple text file on the Netbackup Master server and put the following 2 lines in it:
KEEP_JOBS_SUCCESSFUL_HOURS = new-number
KEEP_JOBS_HOURS = new-number
Where "new-number" is, enter the new number/amount of hours that you want to keep in the Activity monitor.
In my example, I'll use 128, which equals a little over 5 days.

Update Setting on Master Server

media_1263671989945.png

Now, to update the setting on the Master server, run the command:
bpsetconfig -h masterserver mytxtfilename.txt
Replace masterserver with your master server name.
Replace mytxtfilename.txt with the location and the name of the text file that you created in the previous step.
In my example, the command is:
bpsetconfig -h masterserver d:myfile.txt

Restart Netbackup Services

media_1263672410011.png

In order to apply the changes, you'll need to restart the Netbackup services. Make sure no backup or restore jobs are running before you restart services.

To do this on a Windows master, you can use the following commands to achieve this:
bpdown
bpup
These scripts are located under the <installpath>bin directory.

To do this on a Linux master, you can use the following commands to achieve this:
service netbackup stop
service netbackup start

To do this on a Solaris master, you can use the following commands to achieve this:
netbackup stop
netbackup start

After the services are restarted, you can start the Netbackup Administration Console and you should now start seeing additional days worth of jobs kept in the Activity Monitor.


Lewan Solutions
Written by Lewan Solutions

  • View & Submit Comments

[fa icon="envelope"] Subscribe to Email Updates



[fa icon="comments-o"] Follow us

Get even more great content, photos, event info and industry news.



[fa icon="calendar"] Recent Posts