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.

NetBackup policy monitor script

Updated: 20 Mar 2009 | 5 comments
Stumpr2's picture
+5 5 Votes
Login to vote

This is a script to monitor Netbackup policy changes. It is extremely basic as I am not a programmer but it does meet my needs. It runs the bppllist command to an output that sets the benchmark and then when run on a daily basis it simply does a diff from the benchmark output.

 

Also, it creates a tarfile of the class (policies) directory and saves it for 30 days. This has helped eliminate the need for doing a restore when a policy is accidently deleted.

 

Comments

chandrasekarmp@gmail.com's picture
25
Apr
2009
1 Vote +1
Login to vote

Backup policy

Backup policy

Abesama's picture
20
Jul
2009
1 Vote +1
Login to vote

Was just checking before I upload mine

Wow, I was going to upload mine and I find you already put one here.
Using diff is also the same in my script !!!
But I did not think about keeping the tar ball to recover the class directories ... good idea.
Well, I'll upload mine anyway, and we can learn from each other's script.
Cheers
A

Anger Management

Sumeeth Singh's picture
29
Jul
2009
0 Votes 0
Login to vote

NetBackup policy monitor script

Brilliant idea,

Was just wondering if anybody has the Windows equivalent of this script, its becoming trickier than i expected to convert this code, to implement on a batch file.

Regards
 Sumeeth

Paul Saini's picture
08
Jan
2010
0 Votes 0
Login to vote

I am  looking for a way to

I am  looking for a way to reserve a drive for a client for backup and release it after backup is done.  This is needed, once drive is reserved for that particular client,  I have to shutdown client database  which takes 10-to 15 minutes. I have tape library and drives are busy all the time.
Regards
Paul

santoshshelke's picture
12
Apr
2010
0 Votes 0
Login to vote

windows / unix concept is same

hi !

yes i am working on  the script both for windows as well as unix enviornment.

i track a few changes but i dont use diff in two files.. basically it only points out line .. and nothing else..

what if you added a  file system and removed some ..did some1 worked on it ..

i will update my script here soon.