protectedpath add-stream

Prev Next

This command adds a replication stream to a protected path.

Usage

protectedpath add-stream --id ID
                         --name NAME
                         --protection-policy-id ID
                        [--target-exported-dir]
                        [--remote-tenant-name]

Required Parameters

--id ID

Specifies the protected path by its ID.

--name NAME

A name for the replication stream.

--protection-policy-id ID

The ID of the protection policy to use for the replication stream.

Options

--target-exported-dir PATH

Specifies the path on the remote peer to which the stream should replicate data.

--remote-tenant-name TENANT_NAME

Specifies the name of the remote tenant on which you want to create the target directory.

By default, the target directory is created on the default tenant.

Example

vcli: admin> protectedpath add-stream --id 6 --name vcli-stream-b-c --protection-policy-id 7