I want to stop continuous backups for my Amazon Relational Database Service (Amazon RDS) in AWS Backup.
Resolution
Stop continuous backups for all resources
To stop a continuous Amazon RDS backup for all resources, delete the continuous backup rule from your backup plan. For more information, see Updating a backup plan.
Note: AWS Backup remembers the retention period from a deleted rule. AWS Backup deletes the continuous backup from your backup vault when the retention period elapses.
If you have only one backup rule in your backup plan, then the option to delete the backup rule is unavailable. To stop a continuous Amazon RDS backup with only one backup rule, you must delete the backup plan.
When deleting the backup plan, you might see the following error message:
"Related backup plan selections must be deleted prior to backup plan deletion."
To resolve this error, you must delete your RDS resource assignments. For instructions on deleting resources, see How do I delete or terminate Amazon RDS resources?
Stop continuous backups for specific resources
To stop continuous backups for specific resources, you must create a new backup plan. Then, add the continuous backup rule for the resources you want backed up. After creating the new backup plan with the continuous backup rule, delete the previous backup plan.
To delete the continuous recovery point, you can choose to run the DisassociateRecoveryPoint or DeleteRecoveryPoint API manually. Or, you can wait for the recovery point to expire based on your retention period.
Notes:
- If you delete only the continuous backup recovery point from your backup vault, then your backup plan continues to run the continuous backup rule. The continuous backup rule creates a new recovery point.
- If your requirement is to release the control back to Amazon RDS, then run the DisassociateRecoveryPoint API. The DisassociateRecoveryPoint API deletes the continuous backup and release the control to Amazon RDS. This preserves the backup data in Amazon RDS that you can use to perform a restore.
- If your requirement is to completely remove backup data and release control to Amazon RDS, then run DeleteRecoveryPoint API. This deletes the continuous recovery point that removes backup data and gives back control to Amazon RDS.
- When you run DisassociateRecoveryPoint or DeleteRecoveryPoint API, then AWS Backup calls the ModifyDBInstance API and applies that change immediately. If there are any pending configuration changes on Amazon RDS, then those configuration changes are applied immediately.
AWS Backup plans for the same resource in different vaults
If two AWS Backup plans are configured with different vaults for the same RDS database, then the first backup job creates a Point-In-Time Recovery (PITR) backup. The job that runs next creates only a snapshot backup with the following status message:
"PITR already configured in backup plan: with backup vault: for DB Instance: "
Also, when a backup plan has two backup rules for the same resource, it provides a message similar to the following:
"More than one Backup rule has continuous backups enabled: The rule "backup-rule" is creating continuous backups for supported resources because it has the longest retention period. Other rules will default to creating snapshots of protected resources based on their backup window configuration."
For more information, see Overlapping continuous backups on the same resource.
Related information
Working with continuous backups
Point-in-time recovery and continuous backup for Amazon RDS with AWS Backup
Supported services and applications for Point-In-Time Recovery (PITR)