SaaS Backup and Recovery: Design for Restore Tests
Design SaaS backup and recovery around restore tests: back up data, files and settings to a common point in time, protect copies and keys, and prove every restore.

SaaS backup and recovery is proven by restores, not by backup jobs that report success. A sound design backs up everything needed to rebuild the service to one point in time, keeps protected copies out of reach of the credentials that run production, and runs scheduled restores into an isolated environment that are checked against targets your team has set.
Buyers often ask for restore evidence during a security review, and our related guide on SaaS security covers what they ask and why. This article covers the technical side behind that answer: backup scope, protected copies, encryption keys, tenancy and the restore tests that produce the evidence.
Key Takeaways
- Back up databases, file storage, configuration, infrastructure definitions and key access together, so they can be restored to a common point in time.
- Keep at least one copy in a separate account that production credentials cannot modify or delete.
- Encryption keys must stay available for as long as the backups they protect.
- Schedule automated restores into an isolated environment, then check row counts, files and an application smoke test.
- Record restore duration and data loss window for every test and compare them with the targets your team has set.
What Should a SaaS Backup Include?
A SaaS backup has to cover everything needed to run the product again, not only the main database. The Australian Signals Directorate's Essential Eight guidance on regular backups requires, at all maturity levels, that backups of data, applications and settings are retained according to business criticality and synchronised to allow restoration to a common point in time.
- Databases. Primary stores plus any reporting or queue databases holding state you cannot rebuild.
- Object and file storage. Uploaded documents and images; without them, restored records point at missing files.
- Configuration. Feature flags, tenant settings and environment variables.
- Infrastructure definitions. Infrastructure-as-code templates, so a clean environment can be rebuilt rather than remembered.
- Secrets and keys. A documented way to recover or reissue secrets, plus the encryption keys needed to read the backups.
- Third-party data you depend on. Records held in billing, identity or messaging services, and what each provider can return.
Point-in-Time Recovery, Snapshots and Retention
Point-in-time recovery and snapshots solve different problems, and most SaaS products need both. The managed database you choose decides which features you get, a choice covered in our related guide on SaaS tech stack decisions. Amazon RDS is a useful example of the limits involved.
- According to the Amazon RDS point-in-time restore documentation, RDS uploads transaction logs to Amazon S3 every five minutes and can restore to any point within the backup retention period, creating a new DB instance without modifying the source.
- Automated backup retention can be set from 0 to 35 days, and 0 disables automated backups. If you create an instance through the API or CLI without setting it, the default is one day.
- Automated backups are deleted with the DB instance unless you choose to retain them, while manual snapshots are kept independently.
Retention beyond 35 days, or copies that survive deletion of the instance, therefore needs snapshots or a backup service such as AWS Backup.
Keep Copies Out of Reach of Production Credentials
A backup that production administrators can delete will not survive an attacker who holds those same credentials. The ASD Blueprint's maturity table shows the expectations rising by level: unprivileged accounts are prevented from modifying and deleting backups at all levels, privileged accounts other than backup administrators are also prevented from Maturity Level Two, and at Maturity Level Three backup administrator accounts cannot modify or delete backups during their retention period.
AWS Backup supports cross-account backup copies between accounts in the same AWS Organization, and cross-Region copies for distance from production. In AWS Backup Vault Lock compliance mode, once the grace time of at least 72 hours ends, the vault and its lock cannot be changed or deleted by any user or by AWS while it holds recovery points. AWS warns that recovery points set to "Always" retention are then kept forever. Azure Backup immutable vaults can likewise be locked to make the setting irreversible.
Encryption Keys Must Outlive the Backups
An encrypted backup is unreadable without its key. AWS KMS documentation says deleting a KMS key is irreversible and data encrypted under it can no longer be decrypted, with a waiting period of 7 to 30 days during which the key cannot be used. Cross-account copies of resources encrypted with a customer managed key need that key shared with the destination account. Alert on any scheduled key deletion and include key access in restore tests.
Tenancy Changes What a Restore Means
Restoring a shared database rolls back every tenant, so single-tenant recovery needs a different method, which our guide to SaaS tenant data isolation describes. Test both the full-database restore and the single-tenant path your contracts promise.
Designing Restore Tests That Prove Recovery
A restore test should run on a schedule, restore real backups into an isolated environment and check the result automatically. AWS Backup has a built-in restore testing feature that shows the pattern.
- A restore testing plan sets the frequency and start window, and selects the latest or a random recovery point from the chosen vaults. AWS recommends a designated account for restore tests.
- Restored resources can be retained for 1 to 168 hours for validation, then AWS Backup deletes them.
- Validation runs through an EventBridge rule on the completed restore job, for example a Lambda function that checks the resource and reports a result with PutRestoreValidationResult.
- AWS Backup Audit Manager has a control that checks whether restores completed within your target restore time.
Whatever the tool, compare row counts for key tables with the source at the restore point, verify checksums on sampled files, confirm the schema version matches the release, and run a smoke test that reads tenant data. Record the restore duration and the data loss window, the gap between the restore point and the simulated failure.
SaaS Backup and Recovery Decision Workflow
Product owners and development leads should agree these backup design inputs in writing before choosing tools.
- Recovery targets: the maximum data loss and restore time the business accepts, set through SaaS disaster recovery planning; this design has to meet them.
- Database service: whether point-in-time recovery, retention and cross-Region copies are built in.
- Tenancy model: shared or per-tenant databases, and whether contracts promise single-tenant restores.
- Threat model: accidental deletion calls for retention; compromised administrator credentials call for a separate account and locked vaults.
- Retention period: set by contracts, legal holds and the oldest version you may need.
- Test cadence: how often each data store is restored, and who reviews failures. For example, monthly for the main database (illustrative, not a norm).
Failure Modes to Monitor
Most backup failures stay hidden until a restore is attempted, so monitoring has to cover jobs, schedules and test results.
- Backups succeed, restores fail. Missing permissions, an instance size with an incompatible IOPS value or, for some engines, a missing custom parameter group can stop the restore.
- Missing files bucket. The database comes back but uploads were never in scope.
- Unavailable keys. A deleted or unshared key makes copies unreadable.
- Deleted by the same credentials. Backups held in the production account are removed in the same incident.
- Schema drift. An older backup does not match current migrations or application code.
- Slow restores. Amazon RDS notes a restored instance keeps loading data blocks in the background and may not perform fully until that finishes.
- Silent gaps. RDS creates no automated backups while an instance is stopped.
Alert on failed backup jobs, missed schedules and failed restore tests. Customer-facing exports serve a different purpose, covered in our guide to SaaS data export, and cannot stand in for restorable copies.
SaaS Backup and Recovery Acceptance Gate
Accept the backup design only when a restore test passes these measurable checks.
- A restore of the production database into an isolated account completes within the restore time target the team has set.
- The data loss window at the restore point is within the team's stated target.
- Row counts for key tables match the source, and sampled files match their checksums.
- The application smoke test passes against restored data, including a single-tenant restore if contracts promise one.
- Production credentials cannot delete the protected copies, confirmed by a denied test deletion.
- Results, duration and data loss window are logged monthly and reviewed.
Custom industry business systems that hold job, stock or compliance records deserve this gate too, because lost operational records are hard to recreate.
Related Resources
- AWS Backup restore testing
- AWS Backup Vault Lock
- AWS KMS key deletion
- Azure Backup immutable vaults
- SaaS disaster recovery planning
- our SaaS tech stack guide
Answers for Backups You Can Actually Restore
1. What Is SaaS Backup and Recovery?
It is the design that copies a SaaS product's data, files and settings, protects those copies, and restores them to a known point in time after deletion, corruption or attack.
2. How Often Should You Test SaaS Backup Restores?
Set the cadence from your recovery targets and how often the data changes, then automate it. ASD's Essential Eight expects restoration to be tested as part of disaster recovery exercises, and AWS Backup can run restore tests on a schedule.
3. Is Point-in-Time Recovery Enough on Its Own?
No. Amazon RDS automated backups can be retained for at most 35 days and are deleted with the DB instance unless you choose to retain them, so longer retention and protection from compromised credentials need separate copies, such as snapshots copied to another account.
4. Can Ransomware Delete Cloud Backups?
Yes, if the attacker holds credentials that can delete them. A separate account, AWS Backup Vault Lock in compliance mode or a locked Azure immutable vault blocks that path.
A Backup Counts Once It Restores
Backup jobs that report success prove only that data was copied. Back up data, files and settings to a common point, keep locked copies in a separate account, keep keys available, and run scheduled restore tests that measure time and data loss against your own targets.


