AWS › RDS & Databases

How does automated backup and point in time recovery work in RDS, and what recovery options does it provide?

Intermediate

Answer

RDS automatically takes daily backup snapshots of your database and continuously captures transaction logs, allowing you to restore your database to any specific point in time within your configured retention period, typically anywhere from one to thirty five days, which is invaluable for recovering from an accidental data deletion or a bad application deployment that corrupted data, since you can restore to the exact moment right before the problem occurred rather than only to the most recent daily snapshot.
aws rds restore-db-instance-to-point-in-time --source-db-instance-identifier my-database --target-db-instance-identifier my-database-restored --restore-time 2026-09-06T14:30:00Z
Real-world example A development team accidentally runs a database migration script that deletes important customer records, but quickly recovers by restoring the database to the exact point in time just before the faulty script ran, minimizing actual data loss to just a few minutes.

Common follow-ups: What is the difference between automated backups and manually created DB snapshots?;How does point in time recovery affect the restored database's instance identifier and connection endpoint?