You can set the lifecycle of a backup schedule, which defines the retention period for backup sets, to meet your business requirements.
Prerequisites
Before you begin, ensure that you have:
Created a backup plan
Configured the backup plan
Usage notes
This operation supports only backup schedules created in the Database Backup Service (DBS) console and the default physical backup schedules of ApsaraDB RDS instances that are automatically added to the DBS console.
Procedure
-
Log on to the Data Management (DMS) 5.0 console.
-
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 target backup schedule and click Manage in the Actions column. The Configure Task page appears.
-
In the Lifecycle Information section, click Edit Lifecycle.
-
Set the retention period for your full or incremental backups, and then click Save.
Important-
The retention period must be in the range of 7 to 3,650 days. After the retention period expires, the backup sets are automatically deleted and cannot be restored.
-
If you do not enable incremental backup, the console displays only the configuration option for the full backup lifecycle. To learn how to enable incremental backup, see Enable or disable incremental log backup.
-
References
-
To check if your database supports incremental backup, see Supported database types and features.
-
You can also modify the retention period for backup sets by calling an API. For more information, see Modify the lifecycle of stored data.