cancel
Showing results for 
Search instead for 
Did you mean: 

How to add multiple clients to a policy via command line

Puffy
Level 6

I am trying to use command line to add clients to a policy.

 

Been trying to use bppolicynew but to no avail.

 

I have around 50-100 clients to add hence trying to think of using command lines to do it.

 

Thanks. 

 

2 REPLIES 2

Karthikeyan_Sun
Level 6

Very Easy !

 

install_path\NetBackup\bin\admincmd\bpplclients policy_name | -allunique [-pt policy_type] [-L | -l | -U | -noheader] [-M master_server,...] [-v] install_path\NetBackup\bin\admincmd\bpplclients policy_name [-M master_server,...] [-v] -add host_name hardware os [-priority priority] install_path\NetBackup\bin\admincmd\bpplclients policy_name [-M master_server,...] [-v] -delete host_name ... install_path\NetBackup\bin\admincmd\bpplclients policy_name [-M master_server,...] [-v] -modify host_name [-hardware hardware] [-os os] [-priority priority] install_path\NetBackup\bin\admincmd\bpplclients policy_name -rename old_client_name new_client_name [-os os] [-hardware hardware]

 

Write a script to add more clients in policy by using  bpplclients COmmand !

Puffy
Level 6

Yes! My time consuming job is now shorter .

 

Thanks.