Updated on 2026-07-22 GMT+08:00

Modifying an Automatic Snapshot Policy

During routine data management, you may need to adjust how frequently snapshots are created based on service changes. This section describes how to modify an automatic snapshot policy. This ensures that the policy can adapt to service changes in a timely manner and improves the data management flexibility and efficiency.

Constraints

  • An EVS disk can retain up to 1,000 automatic snapshots. When this limit is reached, the system automatically deletes the oldest automatic snapshot.
  • An account can retain up to 100 automatic snapshot policies in a region.
  • If automatic snapshots are retained by time and the total retained snapshots reach 1,000, the system will still delete the oldest snapshot even if it is within the retention period.
  • Retention rules apply only to snapshots created based on automatic snapshot policies. Manually created snapshots are not deleted automatically. If needed, you need to manually delete them from the snapshot list.

Procedure

  1. Sign in to the EVS console.
  1. In the navigation pane on the left, choose Elastic Volume Service > Snapshots to go to the Snapshots page.
  2. Click the Automatic Snapshot Policies tab, locate the target policy in the policy list, and click Edit in the Operation column.
  1. On the displayed page, modify the policy as required.

    If this is your first time using this function, you need to create an agency to authorize EVS to use the function.

    Table 1 Parameters required for editing an automatic snapshot policy

    Parameter

    Description

    Example Value

    Policy Name

    A name must contain 1 to 64 characters including letters, digits, periods (.), underscores (_), and hyphens (-).

    test_policy

    Frequency

    Specify the interval between automatic snapshot policy executions.

    • Weekly: Select one or multiple days from Monday to Sunday.
    • Day based: Enter an integer ranging from 1 to 30.

    Mon

    Execution Time

    Set the times when automatic snapshots are created.

    • The automatic snapshot creation starts within one hour after the specified execution time.
    • You can select one or multiple hours from 00:00 to 23:00.
      NOTE:
      • If there is a large amount of data, you are advised to take snapshots less frequent to prevent the system from skipping any execution time.

        For example, the snapshots of a disk are scheduled at 00:00, 01:00, and 02:00. A snapshot task starts at 00:00. Because there is a large amount of incremental data or a heap of snapshot tasks are executed at the same time, this snapshot task takes 90 minutes and completes at 01:30. EVS skips the snapshot task at 01:00 and takes the next snapshot at 02:00. In this case, only two snapshots are created in total, one at 00:00, and the other at 02:00.

      • The execution times refer to the local times of the clients, not the times in the time zone of the region.

    00:00, 08:00

    Retention Type

    Rule that specifies how automatic snapshots will be retained

    • By time: You can customize a retention duration. The system automatically deletes expired snapshots. The value ranges from 1 to 65536 days.
    • Continuous retention: When the number of retained snapshots reaches the maximum allowed, the oldest snapshot is automatically deleted.
      NOTE:
      • By default, the system automatically clears expired snapshots every other day.
      • There are delays before the system deletes expired automatic snapshots.

    Continuous retention

  2. Click OK. After the modification, view the latest policy settings in the Details column in the policy list.