You can create a snapshot rule to specify which file systems to include in the snapshot.
- Navigate to Data Management > Protection > Snapshots > Snapshot Rules.
- Select the EVS and click Add Rule.
- In the Add Snapshot Rule dialog box, select the EVS and associated file system.
-
In the Rule Name box, enter the rule name.
The rule name can contain alphanumeric characters, and the special characters underscore ( _ ) and hyphen ( - ).
- In the Snapshot Limit box, specify the number of snapshots to keep before deleting the oldest.
-
Set the Retention Status toggle to
Enabled to set a retention period for file system
snapshots. Select one of the following options:
- Default: Select to to use the default retention period.
- Customize: Select to customize the
retention period, and complete the following information:
- Enter a numeric value in the retention period box (for example, 1, 7, or 30).
- From the drop-down list, select the time unit: Weeks, Days, Hours, Minutes, or Seconds. For example, you can set the retention period to 1 Week or 7 Days based on your snapshot retention requirements.
If you set a retention period while creating a file system, the Retention Type toggle is enabled by default and shows the set retention period. You can change the retention period by using the Customize option. -
From the Queue Full Policy list, select one of the
following policies to apply when the snapshot rule queue is full and a new
snapshot request is made by the rule:
- Move out of queue and delete: The
oldest snapshots are removed from the queue and are scheduled for deletion
if if retention is enabled, or deleted immediately if not.
When you use this policy, avoid creating snapshots faster than they are deleted. Doing so can cause the file system to exceed its snapshot limit (1024) or run out of space. The retention interval should be less than the queue size multiplied by the snapshot interval. For example, if you schedule snapshots hourly and the queue size is 24, set the retention to less than 24 hours. In this case, when you schedule a new snapshot, and the queue is full, the system will immediately delete the oldest snapshot as its retention period expires.
- Ignore retention and delete: The oldest snapshots are moved out of the queue and deleted immediately, even if retention is enabled.
- Stop creating new snapshots: Stops taking new snapshots if retention is enabled for the oldest snapshot in the queue and the retention period has not expired.
- Move out of queue and delete: The
oldest snapshots are removed from the queue and are scheduled for deletion
if if retention is enabled, or deleted immediately if not.
- Click Save.