As you already know Microsoft Azure Fabric is now in version 2 which is sometimes referred to as Azure Resource Manager (ARM) deployment model. Most of the services from old Azure Service Management model are now available in the new model (the new portal) and today we are going to see how we can backup VMs deployed using ARM deployment model using a Azure Recovery Services Vault.
Note that you may notice another two services in your Azure subscription called Backup vaults & Site Recovery vaults which are redundant and has no use. (They are just placeholders which will be removed soon I assume)
Essentially following scenarios are supported in a new Recovery Services vault. If you are using premium storage accounts for your VMs keep in mind that it is only supported in a public preview and not generally available as of yet.
Azure Resource Manager VMs
The process can be done in few easy steps.
Creating a Recovery Services Vault
A Recovery Services vault holds all the backups and recovery points of the VMs that are being protected along with the backup policy applied to that vault. One important thing to keep in mind is that Recovery Services Vaults are geo specific, meaning if you need to backup a VM in one region the target vault should reside in the same region as well.
In the Hub menu, click Browse and then search for Recovery Services. I’ve already added it as a favorite by clicking the star right next. Then select Recovery Services vault and click Add.
Provide a name, select the target Azure subscription, create a new resource group or select an existing one and finally select the region for your Recovery Services vault.
Next you can select the storage replication option. The default is Geo-redundant storage and if you want a cheaper (but not durable as Geo-redundant) option you can opt out for locally-redundant storage. Click the All Settings option in your vault dashboard to get started.
Select a Backup Target
You need to discover your Azure ARM VMs first before they are added to a recovery services vault. This will identify the VMs that can be protected by your recovery services vault.
Define a Backup Policy
A backup policy defines how frequent the VMs are protected and when the recovery points are created along with the retention range for those recovery points. You can edit the default policy to fit to your needs or create new policy here. You can choose between a daily or weekly schedule to backup your VMs.
Next select the desired VMs that you wish to backup and finally click Enable Backup.
Start the Initial Backup
By default the first scheduled backup is the initial backup. If you want to manually force the first backup it is also possible. In the vault dashboard click Azure Virtual Machines and right click on the desired VM and select Backup Now.
You can see the backup job progress by clicking All Settings > Jobs > Backup Jobs as below from the vault dashboard.
When you further expand the backup job you can see the status of each task running underneath.