Returns a list of protection plans that are part of the current configuration.
When the command getProtectionPlans is executed to the MaxRep Replication Engine hosting the control service, the command provides a list of protection plans that are currently active in the control service configuration.
The IP address or DNS name of the MaxRep Replication Engine.
Identifies the administrator account that runs the command.
Specifies the configuration file to modify logging. When used, the -c command must be the first option entered at the command line.
Prints MaxRep CLI version and exits. This option should be run on its own, separate from additional options.
$ mrcli -v
Prints output in XML format.
Run the getProtectionPlans command to return a list of protection plans from MaxRep Replication Engine co-maxrep-22. The MaxRep CLI will prompt for a password.
maxrepname: co-maxrep-22
plan.xml: plandetails.xml
$ mrcli -u admin -m co-maxrep-22 getProtectionPlans
$ mrcli -u admin -m co-maxrep-22 getProtectionPlans -x stdout
$ mrcli -u admin -m co-maxrep-22 getProtectionPlans -x plandetails.xml