Microsoft recently announced support for backing up Azure IaaS virtual machines in the new Azure Portal, which in turn means there is support for Azure Resource Manager (ARM) and Cloud Solution Provider (CSP) subscriptions. In this post, I will show you how to configure backup of Azure virtual machines in the Azure Portal.
We’ve had support for backing up Azure virtual machines for a while now, via the class Azure management portal. This was great unless:
This is why Microsoft introduced the Recovery Services vault in the new Azure Portal, offering Azure Backup and Azure Recovery Services (disaster recovery), for Azure V1 (classic or Service Management) and Azure V2 (ARM or Azure Resource Manager) virtual machines.
Log into the Azure Portal (https://portal.azure.com) and click New. Search for Backup and Site Recovery, select Backup and Site Recovery (OMS), and select Create.
Name the vault, select your Azure subscription, and either create a new or select a resource group in your region of choice. Note that the region must match the region that the virtual machines that you want to protect are located in.
Open the vault after it has been created and expand All Settings. Under Backup Infrastructure you will find Backup Configuration; it is here that you can switch your backup storage from the default of geo-redundant storage (GRS) to the more affordable locally-redundant storage (LRS). You cannot switch the resiliency model for Azure Backup in this Recovery Services vault after configuring a backup job so make sure you get the configuration correct now.
To start backing up machines, go to All Settings > Getting Started – Backup; a wizard will step you through setting up the backup job. The first screen is Backup Goal; select Azure as your workload location, and virtual machine as the type of item that you want to backup.
In Backup Policy, you can either select an existing policy, such as DefaultPolicy, or create a new one. I will show you how create a new policy; select Create New in the drop-down list box:
You will select which virtual machines you want to backup using the previously selected backup policy.
You can monitor backup tasks under All Settings > Jobs > Backup Jobs. Every operation that takes place in Azure Backup will appear here. There is no email alerting for Azure Backup at this time, but Microsoft has stated that this much desired feature is planned.
You can see the status of protected items under All Settings > Backup Items. Note that the first backup will not take place until either:
You can delve deeper in Backup Items by selecting a virtual machine. There you will see actions:
You can force a manual backup by running Backup Now. Note the Restore Points tile in the virtual machine’s blade; here you can see how many restore points you can recover the virtual machine from.
If you go deeper into All Settings > Backup Items > Virtual Machine > All Settings > Backup Policy, you can switch the virtual machine over to a different backup policy.