Video Screencast Help
Protect Your POS Environment Against Retail Data Breaches. Learn More.

Policy Report

Created: 02 Aug 2013 • Updated: 06 Aug 2013 | 6 comments
This issue has been solved. See solution.

Hi everyone, I'm new to the backup world and am learning using the trial by fire technique due to short staff. I was hoping someone could tell me how to get a report from Netbackup 7.5 to show all of the backup policies that are active. I need info such as policy name, server, retention, frequency, etc. Any steps on how to accomplish this would be much appreciated. Thank you!

Operating Systems:

Comments 6 CommentsJump to latest comment

Marianne's picture

There is unfortunately no NBU command to list only active policies. 

bppllist will print details of a specific policy or all policies.

To list all policies:

bppllist -allpolicies -U >C:\temp\policies.txt
(command is in <install-path>\netbackup\bin\admincmd)

You will then have to open the output file with a text editor, find inactive policies and delete them.

Maybe one of our expert script-writer forum members can help with filtering out inactive policies!

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

SOLUTION
Omar Villa's picture

You can get this report from the NBU GUI just go to the Policies and in the right pane filter by active, then you can export it to a .csv file, other way you will need to write a small script tha dumps the images info and grep by active policies or install and configure opscenter analytics.

 

Hope this helps.

Regards.

Omar Villa

Netbackup Expert

Twiter: @omarvillaNBU

 

Vince L.'s picture

Thank you all for your replies!

Marianne, is there a switch to use to run it as Admin? I'm getting a permission denied error when I try to run it. I'm logged in not as Admin but my account has Admin rights, I verified. Am I missing something?

Gary, thanks! That would be a great tool but we don't have Excel installed on our servers.

Omar, I've looked at the Summary of All Policies as well but the results are not very user friendly. Thanks for the input.

 

Thanks for you help!!

Marianne's picture

Open cmd with "Run as Administrator".

Best to completely disable UAC!

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Vince L.'s picture

Oh geez, I should have known that. Thanks so much for your help, that's exactly what I wanted! Holy cow that's a big report. :)