Extend or permanently retain snapshots with custom retention periods before they expire.
When a snapshot has 3 days or fewer left, the Retention Period column highlights Released After xx days.
Limitations
-
Permanently retained snapshots cannot be extended.
-
Cloud Backup snapshots cannot be extended in the ECS console. Use the Cloud Backup console to extend the retention period of a backup point.
-
Shared snapshots cannot be extended.
-
Archived snapshots cannot be extended.
-
You can only extend a retention period, not shorten it.
Considerations
-
Alibaba Cloud charges standard snapshot storage fees in each region based on the snapshot size and retention period. Extending the retention period increases storage costs. See Snapshot billing.
-
If the Delete Automatic Snapshots While Releasing Disk attribute is enabled for a disk, its automatic snapshots are deleted when the disk is released, even if the retention period has not expired. A disk can be released manually, with its instance, or when you replace the operating system. See Enable automatic snapshots to be released with the disk.
Procedure
Go to ECS console - Snapshots.
In the upper-left corner of the page, select a region and resource group.
-
On the Disk Snapshots tab, find the target snapshot and extend its retention period by using one of the following methods.
-
In the Actions column, choose .
-
In the Retention Period column, click the
icon.
-
-
Set the new retention period and click OK.
The Retention Period ranges from 1 to 65,536 days. You can only extend, not shorten, an existing retention period.
References
-
Call the ModifySnapshotAttribute API operation to extend snapshot retention programmatically.
-
To reduce storage costs, periodically delete snapshots that you no longer need.
> Extend Retention Period