chsnapshotpolicy

Use the chsnapshotpolicy command to change an existing snapshot policy.

Syntax

Read syntax diagramSkip visual syntax diagram chsnapshotpolicy -name new_snapshot_policy_name snapshot_policy_namesnapshot_policy_id

Parameters

-name new_snapshot_policy_name
(Required) Specifies a new name for the snapshot policy.
snapshot_policy_name | snapshot_policy_id
Specifies the ID or name of an existing snapshot policy.
Note: Only the name of an existing snapshot policy can be changed.
Note: The -backupstarttime parameter indicates the time of snapshot backups. It is displayed in the standard YYMMDDHHMMSS format. where: Y is year (The first) M is month D is day H is hour (The second) M is minute S is second.

An invocation example

chsnapshotpolicy -name mysgpolicy3 3

The resulting output:

No feedback