Forum Discussion

Vince_L_'s avatar
Vince_L_
Level 3
12 years ago

Policy Report

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!

  • 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!

  • 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!

  • U can get help from below Link : https://www-secure.symantec.com/connect/downloads/netbackup-policy-reporter
  • 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.

  • 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!!

  • Open cmd with "Run as Administrator".

    Best to completely disable UAC!

  • 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. :)