Designing backup and disaster recovery
Turn recovery objectives into a design: Azure Backup and Site Recovery for compute, built-in options for databases, and the right protection for unstructured data.
In this lesson you'll learn
- What RPO and RTO mean, and how they drive the design
- Recovery for Azure and hybrid workloads with Site Recovery
- Backup and recovery for VMs, databases and storage
- Choosing between backup and replication
1. Start with the recovery objectives
Refresher: RPO and RTO
RPO (recovery point objective) is how much data you can afford to lose, measured in time. RTO (recovery time objective) is how long you can afford to be down. An RPO of 15 minutes means you need copies at least every 15 minutes.
| Approach | Typical RPO | Typical RTO | Use for |
|---|---|---|---|
| Azure Backup (daily or Enhanced policy) | Hours | Hours | Restoring after deletion, corruption or ransomware |
| Azure Site Recovery | Seconds to minutes | Minutes | Failing whole workloads over to another region or site |
| Active-active across regions | Near zero | Near zero | Mission-critical apps that can't go down |
2. Compute
- Azure VMs: Azure Backup to a Recovery Services vault (application-consistent on Windows), plus Site Recovery to a paired region for DR.
- On-premises VMware, Hyper-V and physical servers: Site Recovery replicates them to Azure, and the MARS agent or MABS backs up files and workloads.
- Recovery plans in Site Recovery fail multi-tier apps over in order, with scripts between steps.
- Stateless app tiers (App Service, containers) are often rebuilt from code with infrastructure as code rather than restored.
3. Databases
| Database | Backup | Disaster recovery |
|---|---|---|
| Azure SQL Database / Managed Instance | Automatic backups with point-in-time restore (1 to 35 days), long-term retention up to 10 years, geo-restore | Failover groups (automatic failover, listener endpoints) or active geo-replication (SQL Database) |
| SQL Server on Azure VMs | Azure Backup for SQL Server in Azure VMs (log backups as often as every 15 minutes) | Always On availability groups across regions, or Site Recovery |
| Cosmos DB | Continuous backup (point in time, 7 or 30 days) or periodic backup | Multi-region replication with service-managed failover |
4. Unstructured data
- Blobs: soft delete, versioning and point-in-time restore protect against mistakes. Operational backup gives local protection, and vaulted backup keeps copies in a separate vault, safe from account compromise.
- Azure Files: share snapshots and Azure Backup.
- Regional disaster: GRS or GZRS, with customer-managed failover.
Example
An insurer's claims system must lose no more than 5 minutes of data, and be back within 1 hour if West Europe fails. The architect recommends Site Recovery for the app VMs with a recovery plan, an Azure SQL failover group to North Europe and GZRS for document storage. Daily vaulted backups mean a ransomware attack can't wipe out both copies.
Exam traps to remember
- An RPO in minutes rules out daily backups. Look for replication (Site Recovery, geo-replication).
- Failover groups give one connection string that keeps working after failover, but active geo-replication doesn't.
- GRS alone doesn't protect against deletion or corruption, because it replicates them.
Test yourself: 3 check questions and exam-style practice questions on this topic are in the AZ-305 Azure Solutions Architect app.
Practise in the app