The trick is that you need to keep Netbackup running as normal but you do not want other jobs to run. This is what I do to keep certain backup jobs from being submitted during business hours.
# cat /usr/local/scripts/policy-deactivate.sh
#! /bin/sh
for i in `/usr/bin/cat /usr/local/scripts/policylist`
do
/usr/bin/echo $i
/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/bin/echo $i
/usr/openv/netbackup/bin/admincmd/bpplinfo $i -modify -active
done
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.