edit-icon download-icon

Delete data backup files

Last Updated: Dec 07, 2018

Description

This API is used to delete the data backup files whose storage time is more than 7 days and longer than the log backup retention period.

This API only deletes the specified backup sets for the target instance. It does not delete the backup sets for the associated instances, such as read-only, disaster recovery, or cloned instances.

The following conditions must be met:

  • The target instance is running.

  • The instance engine is MySQL, PostgreSQL, or PPAS.

Request parameters

Parameter Type Required Description
Action String Yes Name of the interface. Set this parameter to DeleteBackup.
DBInstanceId String Yes Instance name.
BackupId String Yes Backup set ID, which can be obtained using DescribeBackups. You can enter up to 100 backup set IDs at a time. Separate them with commas (,). You can only delete the backup sets whose Store Status is Enabled. To query the Store Status, DescribeBackups.

Response parameters

Parameter Type Description
<Public response parameters> - For more information, see Public parameters.
Thank you! We've received your feedback.