AWS Backup Restore Testing for RDS and Aurora: What It Checks (and What It Doesn't)
By Jérémy Sculfort · · 3 min read
Key takeaways
- Restore testing schedules restores of AWS Backup recovery points and measures how long they take.
- Data validation is not built in: you add it with an EventBridge rule and your own Lambda.
- It only tests recovery points created by AWS Backup — not snapshots taken by RDS or other tools.
- Billing combines a fee per tested recovery point, restored data and the runtime of the restored resources.
Since late 2023, AWS Backup includes restore testing: you define a plan, and AWS Backup periodically restores selected recovery points, records the outcome and the restore duration, then deletes the restored resources. It supports Amazon RDS and Aurora among many other services. It is a solid building block — as long as you know what it actually verifies.
How restore testing works
- A restore testing plan sets the schedule (for example weekly) and which recovery points to pick — such as the latest one or a random one within a window.
- Protected resource selections choose the resources to test, by resource type, ARN or tag, with optional restore metadata overrides (subnet group, instance class…).
- At each run, AWS Backup starts the restore jobs, waits for them to complete, keeps the restored resources for the validation window you set, then deletes them.
- Results and durations appear in the AWS Backup console and as EventBridge events, which helps you compare restore times with your RTO.
Validation is your code
A completed restore job proves that the database could be created. To check what is inside, AWS documents an event-driven pattern: an EventBridge rule listens for the "Restore Job State Change" event with status COMPLETED, invokes your Lambda function, and the function reports the outcome with the PutRestoreValidationResult API so it shows up next to the restore job.
For an RDS database, that Lambda has to:
- run inside a VPC that can reach the restored instance, with a security group rule allowing it;
- obtain credentials — the restored copy keeps the source master password, so you typically reset it first;
- connect with a MySQL or PostgreSQL driver packaged in the function, and run meaningful queries (see which checks to run);
- handle Aurora clusters, which need an instance before you can connect, and the time the restored resource stays available.
None of this is difficult, but it is real engineering work and code you will maintain for every engine you use.
What it does not cover
- Only AWS Backup recovery points. Automated RDS backups and manual snapshots created outside AWS Backup are not selected by restore testing.
- No SQL-level checks out of the box. Without your validation function, "successful" means the restore job completed.
- No report for humans. You get job statuses; per-table results or audit-ready documents are up to you.
What it costs
Restore testing is billed per recovery point that is tested (the AWS pricing page uses $1.50 per recovery point in US East as an example), plus restored data for the resource types where restores are charged, plus the normal cost of the restored DB instance or cluster for as long as it exists. For a handful of critical databases tested weekly, this is modest; for hundreds of databases tested daily it adds up, and keeping restored resources longer than needed is the usual source of surprises.
Restore testing, DIY scripts or a dedicated tool
| AWS Backup restore testing | DIY (CLI + Lambda) | SnapshotShield | |
|---|---|---|---|
| Snapshots covered | AWS Backup recovery points | Anything you script | Any RDS/Aurora snapshot of a tagged resource |
| Trigger | Schedule | Your choice | Each new snapshot (event-driven) |
| Database-level checks | Your Lambda | Your code | Built in: databases, tables, row counts, sample queries |
| Report | Job status | Your code | JSON, HTML and CSV in your S3 bucket + email |
| Where it runs | Your account | Your account | Your account (data never leaves it) |
Which one should you use?
If all your RDS backups already go through AWS Backup and you have the time to write and maintain a validation Lambda, restore testing is a native, cost-effective option. If you rely on RDS automated backups or manual snapshots, want every snapshot verified rather than a sample, or simply want table-level reports without writing code, a dedicated tool such as SnapshotShield covers the gap. The two are not exclusive: many teams use AWS Backup for retention and copies, and a separate pipeline for data-level validation.
Sources
Automate this for every RDS snapshot
SnapshotShield restores each new snapshot in an isolated VPC in your own AWS account, checks every table and sends you a report — then cleans everything up.
Start the 14-day free trial See a sample report