Database Backup (DBS) allows you to retain minimal backup sets to prevent data from being unable to be restored due to accidental deletion of all backup sets.
How it works
DBS dumps and deletes backup sets based on the lifecycles that you specify for backup sets.
DBS allows you to manually delete the oldest backup sets and the latest backup sets. However, DBS does not allow you to delete the intermediate backup sets. This ensures the continuity of backup data.
By default, DBS retains three latest backup sets. If you manually delete backup sets, DBS forcibly retains two latest backup sets.
References
You can specify a lifecycle for each type of backup set when you configure a backup schedule or modify the lifecycle settings based on your business requirements by using one of the following methods:
Use the DBS console: Configure a backup schedule and Modify the lifecycle of a backup schedule.
Call API operations: CreateAndStartBackupPlan and ModifyStorageStrategy.
When you configure a backup schedule, if you store backup data in Object Storage Service (OSS), you are not charged for DBS storage. If you store backup data in DBS built-in storage, you are charged for DBS storage. The storage fees are calculated based on the actual data volume and storage duration. For more information, see Built-in storage and OSS and Storage fees.
NoteIf your business involves a large volume of data, we recommend that you purchase storage plans to deduct the storage fees that are incurred by the backup schedule. For more information, see Use storage plans.
You can also manually delete backup sets to reduce storage costs. For more information, see Delete a backup set.