utility:getProtectionPlanId

Presents the ID of the protection plan.

SYNOPSIS

mrcli [-c configfile] -u user -m maxrepname [-v] utility:getProtectionPlanId planName

DESCRIPTION

If you are unsure of the ID of the protection plan in which you are working in or that you are searching for, you can return the ID of the protection plan with the plan name. Run the command utility:getProtectionPlanId to obtain the ID of a specific protection plan.

OPTIONS

m maxrepname

The IP address or DNS name of the MaxRep Replication Engine.

planName

Specifies the name of the protection plan.

u user

Identifies the administrator account that runs the command.

c configfile

Specifies the configuration file to modify logging. When used, the -c command must be the first option entered at the command line.

-v

Prints the current version of the MaxRep CLI then exits. This option should be run on its own, separate from additional options.

$ mrcli -v

EXAMPLE

Task

Run the command utility:getProtectionPlanId to obtain the internal ID of protection replicationplan01 on MaxRep Replication Engine co-mrengine-01.

Parameters
  • planName: replicationplan01

  • maxrepname:  co-mrengine-01

$ mrcli -u admin -m co-mrengine-01 utility:getProtectionPlanId replicationplan01