cancel
Showing results for 
Search instead for 
Did you mean: 

Req: How to deactivate policies from command line.

Nathan_Kippen
Level 6
Certified
I'm looking for away to deactivate multiple policies (or all of them) from the command line without stopping netbackup.

Every once in a while I have two libraries that will go into AVR mode and in order to fix it I have to temporarily suspend/stop all jobs .. however if the jobs are running in their "run-time window" they'll keep starting themselves automatically.

thanks,

nk
4 REPLIES 4

Sergey_Evsyuk1
Level 4
for UNIX:

for i in /usr/openv/netbackup/bin/admincmd/bppllist
do
echo $i
/usr/openv/netbackup/bin/admincmd/bpplinfo $i -modify -inactive
done

Nathan_Kippen
Level 6
Certified
Found it....


bpplinfo

-modify -inactive -M

Deepak_Bhalwank
Level 5
HI,
/usr/openv/netbackup/bin/admincmd/bpplinfo policy_name -set | -modify

Good Link-
http://forums.veritas.com/discussions/thread.jspa?messageID=4434981갥

Br,
Deepak.Message was edited by:
Deepak Bhalwankar

Stumpr2
Level 6
Be careful to use modify and not set
 

    policy_name -set | -modify

              Initialize or modify attributes for this  policy.

              This is a required option.

 

              -set initializes (or reinitializes) attributes for

              the policy  to  their  default values, except for

              those attributes set by  options  on  the  current

              command line.

 

              -modify modifies attributes for the policy.

              Attributes that are not explicitly set by options

              on the current command line do  not  change  their

              values.