Auto snapshot policy
Auto snapshot policy is a periodic data backup feature provided by Edge Node Service (ENS). You define a schedule — including the snapshot creation time, repeat days, and retention duration — and attach the policy to target disks. The ENS system then creates snapshots automatically according to the defined schedule.
Manual snapshots and auto snapshots serve different purposes. Manual snapshots are suitable for one-off critical backups, such as pre-upgrade backups. Auto snapshot policies provide scheduled, recurring backups for routine data protection. Both types of snapshots are functionally equivalent: they can be used to roll back disks, create new disks, or create custom images (from system disk snapshots). They differ in how they are created and how they are retained: manual snapshots persist until you delete them, while auto snapshots are automatically deleted after the retention period defined in the policy expires.
The following table compares the two snapshot types to help you choose:
Dimension | Manual snapshot | Auto snapshot |
Creation method | Manually triggered by the user | Automatically triggered by the policy schedule |
Deletion | Never automatically deleted; persists until you delete it | Automatically deleted after the retention period expires |
Typical use case | One-off critical backups (pre-upgrade, pre-migration) | Routine, periodic, and batched data protection |
Limits
The following execution rules apply to auto snapshot policies:
Snapshot creation skipped due to concurrent tasks — If a snapshot creation task is already in progress at the scheduled time point, the system does not create a snapshot at that time point and waits for the next scheduled trigger.
Manual snapshot waits for auto snapshot — If a disk is executing an auto snapshot, you must wait for the auto snapshot to complete before manually creating a snapshot.
Snapshot timeout skip — If a disk has a large amount of data and a single snapshot takes longer than the interval between two consecutive scheduled time points, the next scheduled time point is skipped. For example, if the policy schedules snapshots at 09:00, 10:00, and 11:00, and the 09:00 snapshot takes 70 minutes (completing at 10:10), the 10:00 time point is skipped and the next snapshot is triggered at 11:00.
Quota-based automatic cleanup — After a disk reaches the limit of 100 auto snapshots, the system automatically deletes the oldest auto snapshot before creating a new one.
View auto snapshot policies
Log on to the ENS console.
In the left-side navigation pane, choose .
On the Snapshot page, click the Auto Snapshot Policy tab at the top of the page.
The policy list displays the following information for each policy: policy name, associated disk count, execution schedule (start time and repeat days), and retention duration. You can view, create, modify, attach disks to, and delete policies from this page.
Create an auto snapshot policy
On the Auto Snapshot Policy tab, click Create Auto Snapshot Policy.
On the Create Auto Snapshot Policy page, configure the parameters as described in the following table.
Click Create to complete the policy creation. To discard the current configuration, click Cancel to return to the list page.
Parameter | Description |
Policy Name | The name of the auto snapshot policy. Requirements: 2 to 128 characters in length, starting with a letter or Chinese character. Can contain digits, colons (:), underscores (_), and hyphens (-). Example: |
Start Time | The daily time at which automatic snapshots are triggered. Supports multiple selections. Timezone is UTC+8. Available values: Every Hour, 00:00, 01:00, 02:00, ... 23:00. We recommend selecting off-peak hours such as 02:00 or 03:00. Selecting Every Hour is equivalent to selecting all 24 time points (00:00 through 23:00). |
Repeat Days | The days of the week on which the policy is active. Supports multiple selections. Available values: Every Day, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. Selecting Every Day is equivalent to selecting all seven days (Monday through Sunday). |
Retention Duration | Choose one of the following options:
|
After the policy is created, it appears in the list but does not automatically apply to any disk. You must attach the auto snapshot policy to a disk before snapshots are created according to the schedule.
Result: The new policy appears in the auto snapshot policy list.
Attach a disk to an auto snapshot policy
On the Auto Snapshot Policy tab, find the target policy and click Attach Disk in the Actions column.
In the dialog box that appears, select one or more disks to attach.
Only efficient disks and SSD disks are displayed.
Disks that are already attached to the current policy are disabled with the note: "This disk has already applied the current policy. To cancel, perform a dissociate operation."
Disks that are attached to other policies are disabled with the note: "The disk is already attached to another policy. To attach the current policy, perform a dissociate operation first."
Click OK to complete the attachment.
The policy begins executing auto snapshots from the next matched "Start Time + Repeat Days" point.
Result: The disk appears in the Attached Disks list on the policy details page, and the number of attached disks in the policy list updates accordingly.
Dissociate a disk from an auto snapshot policy
On the Auto Snapshot Policy tab, find the target policy and click its policy name to go to the Auto Snapshot Policy Details page.
On the details page, find the disk you want to dissociate in the Attached Disks section, and click Dissociate Disk in the Actions column.
In the confirmation dialog box, confirm the operation.
After a disk is dissociated from an auto snapshot policy, the auto snapshots already created for that disk are not automatically cleaned up and must be manually deleted if no longer needed.
Result: The disk is removed from the Attached Disks list on the policy details page, and the number of attached disks in the policy list decreases accordingly.
Modify an auto snapshot policy
On the Auto Snapshot Policy tab, find the target policy and click Modify in the Actions column.
In the dialog box that appears, adjust the parameters you want to change (Start Time, Repeat Days, or Retention Duration).
Click Modify to save the changes.
After the parameters are modified, already-created auto snapshots continue to follow the updated policy schedule.
Result: A message indicating successful modification is displayed, and the updated parameters are reflected in the policy list.
Delete an auto snapshot policy
On the Auto Snapshot Policy tab, find the target policy and click Delete in the Actions column.
In the confirmation dialog box, review the risk warning: "Are you sure you want to delete this auto snapshot policy? After deletion, attached disks will no longer execute this policy."
Click OK to complete the deletion.
After the policy is deleted, it no longer creates auto snapshots for attached disks, and all previously attached disks are automatically dissociated. Already-created auto snapshots are not automatically cleaned up and must be manually deleted on the Disk Snapshot tab if you want to free up space. Deletion is irreversible. We recommend recording the policy name, start times, and repeat days before deletion for future reference.
Result: The policy is removed from the auto snapshot policy list.
Troubleshooting
Auto snapshots are not being created at the scheduled time
Verify the following:
The policy is attached to at least one disk. A newly created policy does not execute until you attach it to a disk.
The current time falls within the policy's active schedule. Snapshots are triggered only at the configured start time on the configured repeat days.
No other snapshot creation task is already in progress. If a snapshot is in progress at the scheduled time, the system skips that time point and waits for the next trigger.
A scheduled snapshot time point was skipped
If the previous snapshot on the disk is still in progress when the next scheduled time arrives, the system skips the current time point. This commonly occurs when:
The disk has a large data volume and a single snapshot takes longer than the interval between scheduled time points.
You reduced the interval between start times to a very short period (for example, selecting Every Hour on a disk with large data volume).
To avoid skipped time points, select start times with sufficient intervals between them or reduce the data volume on the disk before the scheduled snapshot.
Auto snapshots are being deleted unexpectedly
If the Keep Forever retention option is selected, the system automatically deletes the oldest auto snapshot when the disk reaches the limit of 100 auto snapshots. To prevent unexpected deletion:
Switch the retention duration to Custom Duration and set a longer retention period.
Manually delete old auto snapshots on the Disk Snapshot tab to free up space.