This command creates a protected path.
Usage
protectedpath create --name NAME --protection-policy-id PROTECTION_POLICY_ID --source-dir SOURCE_DIR --local-tenant-id ID [--target-exported-dir PATH_ON_PEER] [--remote-tenant-name NAME] [--sync-interval SYNC_INTERVAL]
Required Parameters
| Sets a name for the protected path. |
| Specifies which protection policy to apply to the protected path.
|
| Specifies the path to a directory to back up. A snapshot of this directory will be taken periodically on the schedule configured in the protection policy. For example: |
| Specifies to which local tenant the path belongs. |
Options
| For async replication, specify the path on the destination peer where the data should be replicated. This must be a directory that does not yet exist on the async replication peer.
|
| If |
| The maximum duration gap between restore points of members in the replication group, in seconds. Guarantees that a common restore point exists between group members within the specified duration. Default value: 86400 seconds (1 day) |
Example
vcli: admin> protectedpath create --name stream1 --protection-policy-id 1 --source-dir /