cancel
Showing results for 
Search instead for 
Did you mean: 

Adding client in multiple policies through cmd line.

MABaig
Level 3

 

Hi,

Got a query on a issue I am facing.

I am migrating clients from old master to new master and policies are already created in new master can any one tell me how add client in multiple policies in one time through cmd line.

Thanks,

Abaig

1 ACCEPTED SOLUTION

Accepted Solutions

revarooo
Level 6
Employee

bpplclients <policyname> -M <master_name> -add client_hostname <hardware> <os>

 

Script it to add to more policies

 

for policy in policy1 policy2

do

bpplclients $policy -M <master_name> -add client_hostname <hardware> <os>

done

 

or something like that. Don't have a netbackup system to try it.

View solution in original post

1 REPLY 1

revarooo
Level 6
Employee

bpplclients <policyname> -M <master_name> -add client_hostname <hardware> <os>

 

Script it to add to more policies

 

for policy in policy1 policy2

do

bpplclients $policy -M <master_name> -add client_hostname <hardware> <os>

done

 

or something like that. Don't have a netbackup system to try it.