utility:getScenarioId

Returns the internal ID of the scenario associated with a protection plan ID.

SYNOPSIS

mrcli [‑c configfile] -u user -m maxrepname [‑v] utility:getScenarioId planID scenariotype

DESCRIPTION

The command utility:getScenarioId is a utility namespace command that returns the internl ID of the scenario associated with a protection plan ID.

OPTIONS

m maxrepname

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

planID

The ID of the protection plan that is being queried.

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:getScenarioId to learn the scenario ID of protection plan ID 42 on MaxRep Replication Engine co-mrengine-02 . The scenario type of the plan is backup protection.

Parameters
  • maxrepname: co-mrengine-02

  • planID: 42

  • scenariotype: backup protection

$ mrcli -u admin -m co-mrengine-02 utility:getScenarioId 42 backup protection