cancel
Showing results for 
Search instead for 
Did you mean: 

Check Policies in NetBackup

zaadss
Level 3

 

What is the way to check in which server(master/media) holds the policies through command line.

In Gui we can see manually by opening the console in Win,what abt the Unix and Sun os

3 REPLIES 3

Stumpr2
Level 6

The policies exist only on the master server at

/usr/openv/netbackup/db/class

$INSTALL_DIR\netbackup\db\class

 

You can view them via the command bppllist which is located on the master server at this location

/usr/openv/netbackup/bin/admincmd/bppllist

$INSTALL_DIR\netbackup\bin\admincmd\bppllist

 

USAGE:

# bppllist -help
bppllist: [<policy name>] [-L|-l|-U] [-verbose] [-allpolicies] [-inventory]
        [-M <master_server,...,master_server>]
        [-hwos]
        [-byclient <client>] [-keyword "keyword phrase"]
 

Douglas_A
Level 6
Partner Accredited Certified

i you want to get which clients are part of a policy you can do something like

 

bppllist <policy> -U | grep "Client" | awk '{print $2}'

 

This will give you a list of all clients attached to the policy.

Amit_Karia
Level 6

if [ $# -eq 0 ]; then
        echo "Enter server name  "
        exit
fi
bppllist -byclient $1 -U|grep -i "Policy Name"|awk '{print $3}'