🛡️ AWS RDS Aurora Cluster Backtracking is not enabled🟢
- Contextual name: 🛡️ Aurora Cluster Backtracking is not enabled🟢
- ID:
/ce/ca/aws/rds/cluster-backtracking - Tags:
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logic
Similar Policies
- AWS Security Hub: [RDS.14] Amazon Aurora clusters should have backtracking enabled
Description
Description
This policy identifies Amazon Aurora MySQL DB clusters that do not have backtracking enabled.
Aurora backtracking lets administrators rewind a cluster to an earlier point in time within the configured backtrack window. Compared with restoring from a backup, backtracking can provide a faster recovery path for recent operational mistakes such as accidental deletes, incorrect updates, or failed deployment changes.
Rationale
Enabling backtracking strengthens the recovery posture of supported Aurora MySQL workloads by reducing the time and effort required to reverse recent data changes. It complements automated backups by providing an additional recovery option when rapid rollback is needed after an application, administrative, or deployment error.
Impact
Enabling backtracking can increase storage consumption and cost because Aurora retains additional change records for the configured backtrack window. Choose a window that aligns with your recovery objectives, workload change rate, and cost tolerance.
... see more
Remediation
Remediation
Enable Aurora Backtracking
Update the affected Aurora MySQL DB cluster to set a backtrack window greater than 0 seconds.
From Command Line
Use the following AWS CLI command to enable backtracking for an existing Aurora MySQL DB cluster:
aws rds modify-db-cluster \
--db-cluster-identifier {{db-cluster-id}} \
--backtrack-window {{seconds}} \
--apply-immediatelySet
{{seconds}}to a value that matches your recovery requirements. If you prefer to defer the change until the next maintenance window, replace--apply-immediatelywith--no-apply-immediately.Considerations
- Backtracking is supported only for Aurora MySQL DB clusters that support this feature.
- A larger backtrack window can increase storage consumption and cost.
- Backtracking supplements automated backups and snapshots; it does not replace long-term backup retention requirements.