You can configure the lifecycle of a backup schedule based on your business requirements. The lifecycle of a backup schedule indicates the retention period of backup sets that are generated based on the backup schedule. This topic describes how to modify the lifecycle of a backup schedule.
Prerequisites
A backup schedule is created in the Data Disaster Recovery console, or a default physical backup schedule is generated for an ApsaraDB RDS instance that is automatically connected to Data Disaster Recovery.
Procedure
Log on to the Data Management (DMS) console V5.0.
In the top navigation bar, choose
.NoteIf you use the DMS console in simple mode, move the pointer over the
icon in the upper-left corner of the DMS console and choose .
Find the backup schedule that you want to manage and click Manage in the Actions column. The Configure Task page appears.
In the Lifecycle Information section, click Edit Lifecycle.
On the page that appears, modify the retention periods of full backup data and incremental backup data and click Save.
ImportantYou can specify a retention period in the range of 7 to 3,650 days. After the retention period expires, backup sets are automatically deleted.
If you do not enable incremental backup, you can specify a retention period only for full backup data in the Data Disaster Recovery console. For information about how to enable incremental backup, see Enable or disable incremental log backup.
References
For information about the databases that support incremental backup, see Supported database types and features.
You can also modify the retention period of backup data by calling an API operation. For more information, see ModifyStorageStrategy.