- Newest
- Most votes
- Most comments
The issue you're experiencing with enabling continuous backup for your RDS instance is likely related to a previous deletion attempt of a recovery point that hasn't fully completed. When a recovery point is in the DELETING state, it cannot be updated or modified, which is preventing the new continuous backup from being enabled.
To resolve this issue, you can try the following steps:
-
Wait for 2-3 days: In some cases, AWS Backup might need additional time to complete the deletion process. Give it a few days to see if the status changes on its own.
-
Check for expired recovery points: After waiting, look for any recently EXPIRED recovery points that resulted from your first manual deletion operation.
-
Manually delete expired recovery points: If you find any EXPIRED recovery points, try to manually delete them through the AWS Backup console or API.
-
Verify IAM permissions: Ensure that the IAM role used for AWS Backup operations has the necessary permissions, particularly the 'iam:CreateServiceLinkedRole' action. This permission allows AWS Backup to perform manual deletions.
-
Modify the backup rule: If the issue persists, you might need to modify your existing backup rule to target a different backup vault temporarily. This could help bypass the conflicting recovery point.
-
Create a new backup plan: As a last resort, you could create a new backup plan for the affected RDS instance, ensuring it uses a different backup vault.
If these steps don't resolve the issue, it's recommended to contact AWS Support for further assistance, as they can investigate the specific details of your account and the affected recovery points.
Remember that working with backups and recovery points requires careful consideration to avoid data loss. Always ensure you have proper backups before making any changes to your backup configuration.
Sources
Backup deletion - AWS Backup
RecoveryPointByResource - AWS Backup
AwsBackupRecoveryPointDetails - AWS Security Hub
Hello Jan,
The issue you're experiencing with enabling continuous backup for your RDS instance is likely related to a previous deletion attempt of a recovery point that hasn't fully completed. When a recovery point is in the DELETING state, it cannot be updated or modified, which is preventing the new continuous backup from being enabled.
If you find the recovery point in the EXPIRED state, try manually deleting it through the AWS Backup console or by using the AWS CLI/API. You can use the following AWS CLI command to delete the recovery point: $ aws backup delete-recovery-point --backup-vault-name <vault-name> --recovery-point-arn <recovery-point-arn>
Please note that if the recovery point is in the EXPIRED state and not deleted, it can affect newer continuous backups. In such cases, the AWS Backup service will take a regular snapshot backup whenever it is unable to perform continuous backups for the RDS instance.
After the expired recovery point is deleted, the next scheduled backup run will again attempt to perform a continuous backup. At that point, the process should be able to execute successfully.
If these steps don't resolve the issue, I recommend reaching out to AWS Support for further assistance. They can investigate the specific details of your account and the affected recovery points to help you resolve this issue.
Sources https://repost.aws/knowledge-center/backup-recovery-point-expired
Relevant content
- asked 4 years ago
- asked 4 years ago
- asked 4 years ago
