Lesson 2 of 5 Azure Backup

Protecting Disks, Blobs and Databases with Backup Vaults

This lesson explains Backup vaults, the workloads they protect and how they compare with Recovery Services vaults.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish between the workloads of Backup vaults and Recovery Services vaults.
  • Explain the role of the Backup vault's managed identity.
  • Distinguish between operational and vaulted blob backup.

Supported workloads

A Backup vault protects Azure Disks (managed disks, with incremental snapshots), Azure Blobs, Azure Database for PostgreSQL (flexible servers), Azure Kubernetes Service clusters, Azure Data Lake Storage and other newer data sources. The vault type is determined by the data source, so administrators choose the vault that supports the workload. The comparison below summarizes the split.

Recovery Services vault
Azure VMs, SQL Server and SAP HANA in VMsYes
Azure FilesYes
Azure Disks, Azure Blobs, PostgreSQL flexible server, AKSNo
On-premises (MARS, MABS, DPM)Yes
Azure Site RecoveryYes
Choose when VMs, file shares, hybrid and DR
Backup vault
Azure VMs, SQL Server and SAP HANA in VMsNo
Azure FilesNo
Azure Disks, Azure Blobs, PostgreSQL flexible server, AKSYes
On-premises (MARS, MABS, DPM)No
Azure Site RecoveryNo
Choose when Disks, blobs and managed data services
Sort into groups

Which vault type?

Exam skills 5.2.1 · 5.2.2

Choose the vault type that protects each workload.

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

How Backup vault protection works

A Backup vault has a system-assigned managed identity that performs backups. Before protection is configured, that identity needs roles on the data source and related resources, such as Disk Backup Reader on the disk and Disk Snapshot Contributor on the snapshot resource group for disks, or Storage Account Backup Contributor on the storage account for blobs. The portal's configure backup wizard validates the permissions and can assign missing roles.

Blob backup has two modes. Operational backup keeps data in the source storage account using soft delete, versioning, change feed and point-in-time restore, and allows continuous restore to any point within the retention period. Vaulted backup copies data to the vault on a schedule, which protects against deletion or corruption of the source account. Disk backups store incremental snapshots in a resource group you choose (operational tier) and can also copy them to the vault.

The following diagram shows a Backup vault and the two protections it provides for workloads that whole-VM backup does not cover.

A Backup vault for workloads the Recovery Services vault does not cover this way. Azure Disk backup takes snapshots of the cluster's shared data disks every four hours without backing up whole VMs, after the vault's managed identity is granted the disk roles; operational backup for blobs allows point-in-time restore over the last 30 days.
Role assignments are summarized.
Scenario questions

Configuring a Backup vault

Exam skills 5.2.2

Work out the permissions and modes Backup vault protection needs.

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

Shared features and management

Backup vaults offer the same protection features as Recovery Services vaults: storage redundancy (LRS, ZRS or GRS) chosen before protection, cross-region restore for some data sources, soft delete, immutability and multi-user authorization. Both vault types are created in the same region as the data they protect and are managed together in Business Continuity Center (the successor to Backup center), which shows protection status, jobs, policies and reports across subscriptions.

True or false

Managing both vault types

Exam skills 5.2.2

Check what Backup vaults share with Recovery Services vaults.

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

Protecting disks and blobs

A team must back up the managed data disks of a SQL cluster that uses shared disks, without backing up the whole VMs, every four hours, and must protect a storage account's blobs so that accidentally deleted blobs can be restored to any point in the last 30 days. Which vault and settings should you use?

Create a Backup vault in the region of the disks and storage account. Configure Azure Disk backup with a policy that takes snapshots every four hours, after granting the vault's managed identity Disk Backup Reader on the disks and Disk Snapshot Contributor on the snapshot resource group, and configure operational backup for blobs with 30 days of retention. A Recovery Services vault cannot protect individual disks or blobs.

Check yourself

Which vault type backs up Azure Files shares?

Show answer

A Recovery Services vault.

Exam Tips

Remember for the exam

  • Backup vault: disks, blobs, PostgreSQL flexible server, AKS. Recovery Services vault: VMs, Azure Files, SQL and SAP HANA in VMs, on-premises.
  • Grant the Backup vault's managed identity roles on the data source first.
  • Operational blob backup allows point-in-time restore within the source account.
  • Manage both vault types in Business Continuity Center.