Problem Description
When using the import feature to import all the snapshots to a particular policy, some users may encounter failed import jobs and error alerts related to automated RDS snapshots. These errors occur during the execution of backup policies and result in messages such as: "Automated snapshots cannot be deleted."
Error Details
Platform: CloudRanger
Region: us-east-1
Example Policy Name: Policy_name
Error Status: aws/deletebackup
Status Message: automated snapshots cannot be deleted.
CloudRanger Notification:
An error occurred while executing the policy PolicyName!The policy was triggered automatically at Tue Sep 10 2024 15:39:03 GMT+0000 (UTC).Details:
CloudRanger Account: Account Name
CloudRanger Policy: policy Name
Region: us-east-1
Resource ID: RDS resource ID
Resource Name: RDS resource Name
Failed Step: aws/deletebackup
Status Message: automated snapshots cannot be deleted.
Cause:
This issue occurs when:
The RDS instance has automated snapshots configured directly through AWS.
Correct filter or tags were not applied during the import which will differentiate CloudRanger-managed snapshots from AWS-automated snapshots.
Resolution:
To resolve this issue and prevent failures, ensure that the appropriate filter tags are applied during snapshot imports.
Follow these steps:
Use tags to distinguish snapshots created by CloudRanger from automated snapshots. The recommended tags are:
"key": "Created by application", "value": "CloudRanger".
For more details about importing backups, please refer article
Tags: RDS Snapshots, import snapshots