Designing backup and disaster recovery

AZ-305 Azure Solutions ArchitectBusiness continuityAbout 25 minutesBy Cloud Hands On

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

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.

A timeline: the last good copy, then the disaster, then service restored. The gap before the disaster is the RPO, data lost. The gap after the disaster is the RTO, time down. Last good copy Disaster Service restored RPO: data lost RTO: time down
Smaller RPO and RTO need more frequent copies and faster failover, which costs more.
ApproachTypical RPOTypical RTOUse for
Azure Backup (daily or Enhanced policy)HoursHoursRestoring after deletion, corruption or ransomware
Azure Site RecoverySeconds to minutesMinutesFailing whole workloads over to another region or site
Active-active across regionsNear zeroNear zeroMission-critical apps that can't go down
Backup and DR aren't the same. Replication copies mistakes and ransomware straight to the secondary. You usually need both: replication for availability, backups for point-in-time recovery.

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

DatabaseBackupDisaster recovery
Azure SQL Database / Managed InstanceAutomatic backups with point-in-time restore (1 to 35 days), long-term retention up to 10 years, geo-restoreFailover groups (automatic failover, listener endpoints) or active geo-replication (SQL Database)
SQL Server on Azure VMsAzure 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 DBContinuous backup (point in time, 7 or 30 days) or periodic backupMulti-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

Keep going