Lesson 3 of 5 Azure Backup

Designing Backup Policies

This lesson explains VM backup policy types, instant restore and retention ranges, and policies for other workloads.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish between Standard and Enhanced VM backup policies.
  • Explain instant restore and retention ranges.
  • Describe how policy changes affect protected items.

VM backup policies

Azure VM backup policies come in two types. A Standard policy takes one backup per day (or weekly) at a scheduled time. An Enhanced policy takes multiple backups per day, every 4, 6, 8, 12 or 24 hours, supports Trusted launch VMs, Premium SSD v2 and Ultra disks, and is required for some newer features. Each policy has a time zone.

Backups have two tiers. Instant restore snapshots are kept with the VM's disks for fast restores: 1 to 5 days with Standard policies (2 by default) and up to 30 days with Enhanced policies. The data is also transferred to the vault tier, where retention ranges keep daily, weekly, monthly and yearly recovery points, such as 30 daily, 12 weekly, 60 monthly and 10 yearly, for up to 99 years.

SettingStandard policyEnhanced policy
Backup frequencyDaily or weeklyEvery 4, 6, 8, 12 or 24 hours
Instant restore retention1 to 5 daysUp to 30 days
Trusted launch, Premium SSD v2, Ultra disksNot supportedSupported

The following diagram shows the schedule and retention of an Enhanced backup policy for production VMs.

An Enhanced backup policy for production VMs. A 6-hour schedule with 7 days of instant restore, which only Enhanced policies allow (Standard stops at 5), keeps fast restores for a week; retention keeps 30 daily, 12 monthly and 7 yearly points. A built-in policy for the tag env=prod protects new VMs automatically.
The retention bands are not to scale.
Sort into groups

Standard or Enhanced policy?

Exam skills 5.2.3

Decide which VM backup policy type each requirement needs.

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

Policies for other workloads

Each workload has its own policy type. Azure Files policies take share snapshots once or several times a day (snapshot tier) and can keep daily, weekly, monthly and yearly snapshots, with a vaulted option that copies data to the vault. SQL Server in Azure VM and SAP HANA policies combine full, differential and log backups as frequent as every 15 minutes for point-in-time restore. Backup vault policies for disks and blobs define snapshot frequency, operational retention and optional vault retention.

Match the pairs

Policies for each workload

Exam skills 5.2.3

Match each workload with what its backup policy provides.

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

Managing policies

Policies belong to a vault and are created on its Backup policies page or while configuring backup. Modifying a policy applies to all items associated with it, and a change to retention also applies to existing recovery points: shortening retention deletes older points at the next cleanup. An item can be moved to another policy. Azure Policy built-in definitions can automatically configure backup for VMs with a specific tag or in a resource group, using a chosen vault and policy, which ensures new VMs are protected.

Scenario questions

Keeping new VMs protected

Exam skills 5.2.3

Choose how backup policies are applied and managed.

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

Designing a policy

Production VMs must be backed up every 6 hours, restored within minutes from any backup in the last week, and kept with daily points for 30 days, monthly points for 12 months and yearly points for 7 years. New production VMs, identified by the tag env=prod, must be protected automatically. What should you configure?

Create an Enhanced policy with a 6-hour schedule, instant restore retention of 7 days (allowed only by Enhanced policies, since Standard allows up to 5), and retention ranges of 30 daily, 12 monthly and 7 yearly points. Assign the built-in Azure Policy that configures backup for VMs with a given tag to a chosen vault and policy, using env=prod, with a remediation task for existing VMs.

Check yourself

Does shortening a policy's retention affect recovery points that already exist?

Show answer

Yes. Retention changes apply to existing recovery points too.

Exam Tips

Remember for the exam

  • Several VM backups per day need an Enhanced policy.
  • Instant restore snapshots: up to 5 days (Standard) or 30 days (Enhanced).
  • Changing a policy's retention affects existing recovery points.
  • Use Azure Policy to configure backup automatically for tagged VMs.