Lesson 1 of 4 Backup Solutions

Understanding Azure Backup Vaults and Protection

This lesson explains vault types, redundancy and defences against ransomware.

Learning outcomes

After completing this lesson, you will be able to:

  • Match workloads to a vault type.
  • Describe vault redundancy and Cross Region Restore.
  • Distinguish immutable vaults from multi-user authorization.

How Azure Backup works

Azure Backup keeps protected copies of data in a managed store, separate from the source. Backup data lives in a Microsoft-managed tenant, not in the customer's own storage account, so an attacker who controls the subscription has no direct access to it. A vault holds backup items and their settings, and a backup policy sets the schedule and how long each recovery point is retained.

Two vault types exist, and which is used depends on the workload.

Recovery Services vault

A Recovery Services vault holds backups for Azure virtual machines, SQL Server and SAP HANA in Azure virtual machines, and Azure Files. It also holds data from the on-premises agents, and it is the vault used by Azure Site Recovery.

Backup vault

A Backup vault is the newer vault, used for workloads such as Azure Blob Storage, Azure managed disks, Azure Database for PostgreSQL, Azure Kubernetes Service and Azure Cosmos DB.

The following table recaps the mapping, which is a frequent exam topic.

VaultWorkloads
Recovery Services vaultAzure VMs, SQL Server in Azure VMs, SAP HANA in Azure VMs, Azure Files, on-premises data through the MARS agent and MABS
Backup vaultAzure Blob Storage, Azure managed disks, Azure Database for PostgreSQL, Azure Kubernetes Service, Azure Cosmos DB
Sort into groups

Which vault?

Exam skills 3.1.2

Choose the vault type that protects each workload.

Log in to try this activity Interactive activities are free with an account.

Vault redundancy and cross-region restore

Vault data can be stored with LRS, ZRS or GRS. The setting is chosen when the vault is created and, once items are protected, generally cannot be changed. GRS provides protection if the region is lost, and Cross Region Restore allows recovery in the secondary region without waiting for a Microsoft-declared disaster. ZRS suits a requirement to keep data in one region, while surviving a zone failure. LRS is the cheapest, and it suits non-critical or dev/test data.

A vault must be in the same region as the resources it protects, for most workloads. A multi-region estate therefore has at least one vault per region.

Scenario questions

Vault redundancy

Exam skills 3.1.2

Choose the vault redundancy that fits each requirement.

Log in to try this activity Interactive activities are free with an account.

Protecting backups from attack

Ransomware operators target backups first, because destroying them forces payment. Azure Backup provides several layers against this, which a design should enable for important data.

  • Soft delete keeps deleted backup data for a retention period, usually 14 days or longer, so a deletion can be reversed.
  • Immutable vault prevents operations that could remove recovery points before they expire, such as shortening retention. Once locked, the setting is irreversible, which gives write once, read many protection.
  • Multi-user authorization uses a Resource Guard, which can be held in a different subscription or tenant, so that a critical operation needs permission from a second administrator.
  • Azure RBAC separates backup roles, such as Backup Operator and Backup Reader.
  • Customer-managed keys can encrypt vault data when a policy requires it.

Multi-user authorization and immutability address different threats. Immutability stops recovery points being removed, even by an administrator. Multi-user authorization stops one compromised administrator from weakening protection, as a second person must approve.

The following diagram matches each requirement for protecting backups from a compromised backup administrator to a vault control.

Three controls against a compromised backup administrator. Multi-user authorization through a Resource Guard in a separate subscription, owned by another team, approves critical operations; a locked immutable vault stops early removal of recovery points, even by a Global Administrator; and GRS with Cross Region Restore survives the loss of the region.
The scenario is illustrative.
Match the pairs

Defences for backups

Exam skills 3.1.2

Match each backup protection with the threat it addresses.

Log in to try this activity Interactive activities are free with an account.

Backup strategy

A sound strategy applies the 3-2-1 principle: at least three copies, on two types of storage, with one copy offsite. Retention should follow data value and regulation, often with a grandfather-father-son pattern of daily, weekly, monthly and yearly recovery points. Restores should be tested, since a backup that cannot be restored has no value. Backup coverage can be enforced with Azure Policy, which can enable backup automatically for tagged virtual machines.

Worked example

Protecting backups from attack

A bank's backup administrators have accounts that could be compromised by an attacker. The bank requires that no single administrator can reduce backup retention or disable protection, and that recovery points cannot be deleted before they expire, even by a Global Administrator. Backups must survive the loss of the region. What should you recommend?

The first requirement is multi-user authorization: a Resource Guard, held in a separate subscription and owned by a different team, approves critical operations. The second is a locked immutable vault, which blocks early removal of recovery points, even for highly privileged accounts.

The regional requirement needs GRS on the vault, with Cross Region Restore for faster use of the secondary copy. Soft delete alone is not sufficient, because it only delays permanent deletion. Azure RBAC alone would not protect against a compromised administrator who already holds the required role.

Check yourself

Which vault type protects Azure Blob Storage?

Show answer

A Backup vault. Recovery Services vaults hold virtual machines, SQL Server in virtual machines, SAP HANA and Azure Files.

Exam Tips

Remember for the exam

  • Recovery Services vault: VMs, SQL in VMs, SAP HANA, Azure Files. Backup vault: blobs, disks, PostgreSQL, AKS, Cosmos DB.
  • Vault redundancy is LRS, ZRS or GRS; Cross Region Restore uses the GRS copy.
  • A locked immutable vault cannot be unlocked.
  • Multi-user authorization uses a Resource Guard to require a second administrator.