Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerFlex v3.6.x CLI Reference Guide

PDF

add_snapshot_policy

Create a new snapshot policy to enable you to define the number of snapshots taken at a given time for one or more volumes.

Syntax strings

Snapshots are taken of the volumes according to the rule defined in the snapshot policy. Define the time interval in between two rounds of snapshots as well as the number of snapshots to retain, in a multi-level structure. For example take snapshots every x minutes/hours/days/weeks. There are one to six levels, with the first level having the most frequent snapshots.

scli  --add_snapshot_policy [--snapshot_policy_name <NAME>] --snapshot_creation_cadence <CADENCE> --number_of_snapshots_per_retention_level <LEVELS> [--paused] [--read_only_snapshots] [--secure_snapshots [--i_am_sure]]

Parameters

--snapshot_policy_name <NAME>
Snapshot policy name
--snapshot_creation_cadence <CADENCE>
The interval in minutes between two snapshots in the policy
--number_of_snapshots_per_retention_level <LEVELS>
A comma-separated list which represents the number of snapshots per retention level. There are one to six levels, and the first level has the most frequent snapshots. There can be up to 60 snapshots in all levels totalled (note that two consecutive levels overlap by one).
--paused
Indicates that the snapshot policy should paused on creation.
--read_only_snapshots
Specify all mappings of the created auto snapshots to be limited to read-only access.
--secure_snapshots
Use this flag to define all auto snapshots created as secure. It will not be possible to edit or remove them before the retention period is complete.
--i_am_sure
Preemptive approval for the creating the snapshots as secure.

Example

scli --add_snapshot_policy --snapshot_policy_name S_Pol_1 --snapshot_creation_cadence 4 --number_of_snapshots_per_retention_level 6,4,3,2,2,1 --read_only_snapshots

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\