herman.rutten
6 Indium

Running NW8.x VMware Protection Policies from the command line (ie script)

Hi All,

When using NetWorker VMware Protection with EBR appliances, is there a way to run VMware Protection Policies from a script, just like you previously could with Save Groups? Thanks in advance!

Tags (4)
0 Kudos
2 Replies
8 Krypton

Re: Running NW8.x VMware Protection Policies from the command line (ie script)

Hi,

Yes, you can run policies using the nsrpolicy command.  You can find details of the command and its options in the NetWorker Command Reference Guide p. 265 

nsrpolicy -p [policy name] -s [NetWorker server]

-Bobby

0 Kudos
Highlighted
kshariprakash
6 Indium

Re: Running NW8.x VMware Protection Policies from the command line (ie script)

Yes ,

nsrpolicy is the command used.

nsrpolicy -p [policy name] -s [NetWorker server]


nsrpolicy – run the actions in a data protection policy RAP resource


nsrpolicy -p policyname [ -s networker_server_name ] [ -D debug_level ]


Regards


Hari Prakash.

0 Kudos