i am using veritas admenistration console to control all backup operations of our servers .
we use SUN LT25 LTO library connected to a backupserver running solaris 8 .
i was wondering if there is a command that i can use from solaris so that i can activate and deactivate some policeis , rather than to always use the GUI .
there are more than a few Netbackup commands that you can use on the command line to do whatever you need or for your scripting needs ... check the Netbackup manuals ...
i went through the Document that comes with veritas, i found loads and loads of command ,but this specific command i wasnt able to find .
i.e. enable and disable policeis .
anybody any ideas
cheers
# cat /usr/local/scripts/policy-deactivate.sh
#! /bin/sh
for i in `/usr/bin/cat /usr/local/scripts/policylist`
do
/usr/openv/netbackup/bin/admincmd/bpplinfo $i -modify -inactive
done
# cat /usr/local/scripts/policy-activate.sh
#! /bin/sh
for i in `/usr/bin/cat /usr/local/scripts/policylist`
do
/usr/openv/netbackup/bin/admincmd/bpplinfo $i -modify -active
done