Deleting retained automated backups for Amazon Aurora
You can delete retained automated backups when you no longer need them. To delete a retained automated backup using the Amazon Web Services Management Console, Amazon CLI, or Amazon RDS API, use the following procedures.
When you delete a DB cluster and choose to retain its automated backups, the retained automated backups remain in your account until the end of the source cluster's backup retention period. Retained automated backups that you keep for more than one day after you delete the cluster incur backup storage charges. To stop these charges, delete the retained automated backups when you no longer need them. For more information, see Retention costs.
To delete a retained automated backup
Sign in to the Amazon Web Services Management Console and open the Amazon RDS console at https://console.amazonaws.cn/rds/
. -
In the navigation pane, choose Automated backups.
-
Choose the Retained tab.
-
Choose the retained automated backup that you want to delete.
-
For Actions, choose Delete.
-
On the confirmation page, enter
delete meand choose Delete.
You can delete a retained automated backup by using the Amazon CLI command delete-db-cluster-automated-backup with the following option:
-
--db-cluster-resource-id– The resource identifier for the source DB cluster.You can find the resource identifier for the source DB cluster of a retained automated backup by running the Amazon CLI command describe-db-cluster-automated-backups.
Example
This example deletes the retained automated backup for the source DB cluster that has the resource ID
cluster-123ABCEXAMPLE.
For Linux, macOS, or Unix:
aws rds delete-db-cluster-automated-backup \ --db-cluster-resource-idcluster-123ABCEXAMPLE
For Windows:
aws rds delete-db-cluster-automated-backup ^ --db-cluster-resource-idcluster-123ABCEXAMPLE
You can delete a retained automated backup by using the Amazon RDS API operation DeleteDBClusterAutomatedBackup with the following parameter:
-
DbClusterResourceId– The resource identifier for the source DB cluster.You can find the resource identifier for the source DB instance of a retained automated backup using the Amazon RDS API operation DescribeDBClusterAutomatedBackups.