RDS automated backups are disabled

Set RDS automated backup retention to meet recovery objectives and test actual restores.

Description

For a standalone RDS DB instance such as the one shown, BackupRetentionPeriod: 0 turns off automated backups. Aurora sets retention on the cluster. Manual snapshots remain available if you created them.

Potential impact

If data is corrupted or deleted, the most recent manual snapshot may predate changes you need to recover.

Remediation

Choose 1–35 days to cover the required recovery window. Schedule downtime when switching between zero and a positive value. Check that backups complete, review the available restore times, and regularly test restoring a new instance.

Examples

The Oracle example uses an RDS-managed master password. Supply compatible DBAllocatedStorage and DBInstanceType values, licensing and network settings.

Before

yaml
Resources:
  MyDB:
    Type: AWS::RDS::DBInstance
    Properties:
      AllocatedStorage: !Ref DBAllocatedStorage
      DBInstanceClass: !Ref DBInstanceType
      Engine: oracle-ee
      MasterUsername: master
      ManageMasterUserPassword: true
      BackupRetentionPeriod: 0

Zero disables automated point-in-time recovery.

After

yaml
Resources:
  MyDB:
    Type: AWS::RDS::DBInstance
    Properties:
      AllocatedStorage: !Ref DBAllocatedStorage
      DBInstanceClass: !Ref DBInstanceType
      Engine: oracle-ee
      MasterUsername: master
      ManageMasterUserPassword: true
      BackupRetentionPeriod: 7

Seven days is the sample retention period. Verify that the available recovery points cover your needs.

References