03-13-2009 03:07 AM
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
03-13-2009 04:25 AM
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"]
03-14-2009 09:28 AM
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.
03-15-2009 06:31 AM
if [ $# -eq 0 ]; then
echo "Enter server name "
exit
fi
bppllist -byclient $1 -U|grep -i "Policy Name"|awk '{print $3}'