Azure Backup (Azure Resource Manager)

Azure Backup (Azure Resource Manager)

In traditional enterprise scenarios, organizations used to store their data on tapes for backup for long term retention. But, over the years that data has started to grow exponentially. Azure Backup is a robust and a simple solution and serves as a solution to the traditional enterprise tape backups.

In this blog we will be diving through a the process of creating a Recovery Services vault and backing up an Azure Virtual Machine (VM) using Azure Backup service and at the end you should have a general idea of how Azure Backup works.

A Recovery Services vault is an entity that stores all the backups and recovery points that have been created over time. The Recovery Services vault also contains the backup policy applied to the protected VMs.

Recovery Services vaults protect:

  • Azure Resource Manager-deployed VMs
  • Classic VMs
  • Standard storage VMs
  • Premium storage VMs

At a high level, here are the steps that we will complete.

  • Create a Recovery Services vault for a VM.
  • Use the Azure portal to select a Virtual Machine, set Backup Policy.
  • Run the initial backup.
  • Restore the Azure Virtual Machine.

Steps to Backup Azure VM:

  1. Sign in to the Azure Portal using your Azure subscription.
  2. On the Hub menu, click Browse and in the list of resources, type Recovery Services and click Recovery Services vault.

    Azure Backup

    Create Recovery Services Vault

  3. On the Recovery Services vault menu, click Add.

    Azure Backup

    Add Recovery Services Vault

  4. The Recovery Services vault blade opens, prompting you to provide a Name, Subscription, Resource group, and Location.

    Azure Backup

    Recovery Services Creation

  5. Provide the details for creating the Recovery Services vault:
    • For Name, enter a friendly name to identify the vault.
    • Click Subscription to see the available list of subscriptions
    • Click Resource group to see the available list of Resource groups, or click New to create a new Resource group.
    • Click Location to select the geographic region for the vault.
    • Click Create. It can take a while for the Recovery Services vault to be created
  6. Now that you’ve created a vault, we need to Backup Azure Workload.

    Azure Backup

    Recovery Services Vault

  7. Navigate to the Recovery Services Resource and click on the created resource from above and Click on Backup at top blade.
  8. In the Backup Goal, select Azure for Where is your workload running? and Virtual machine for What do you want to backup?

    Azure Backup

    Select Backup Goals

  9. Create a backup policy or select the Default Policy which is created by Azure which will back up the data on a Daily basis at 8:30AM and retains the backup taken every day for 30 days.

    Azure Backup

    Select Policy for backup

  10. Once the VMs you want to backup are selected, Click on Select and Click Enable Backup which will start configuring Backup to the Azure Virtual Machine.

    Note: If you want to take backup of VMs at West US then we have to create the Recovery Services vault at location West US too, only then the VMs be listed in the Select Virtual Machine blade.

    Azure Backup

    Select Policy for backup

  11. To view the Backup Items navigate to Recovery Services vault and you will find Backup Items below in Essentials dashboard or in Settings. Click to view the list of items which are being backed up by Azure. You have generally two types of backup:
    1. Azure Virtual Machine – You will see that the Azure VMs which are selected for backup are listed.

      Azure Backup

      Select Backup Items

    2. Files and Folder – You will see all the machines which has windows Backup client installed.
  12. You can also find Backup Jobs listed below the Recovery Services vault Essentials dashboard or in Settings, which will show all the Backup jobs which azure has performed and also the status of the job. We can find one job, Since in the previous steps we have configured Backup for a Virtual Machine.
  13. We can wait till the Policy time arrives or we can navigate to Backup-Items from step 11 above, select the respective VM and Click Backup Now .

    Azure Backup

    Backup Now in Backup Items

  14. Once you click on Backup Now button, Azure will try to perform below tasks:
    1. Take Snapshot
    2. Transfer data to vault (it should roughly take 30-35mins)

Restoring Azure Virtual Machine:

  1. For Restoring the Virtual Machine, Navigate to Backup Items by clicking onSettings -> Backup Items, click on the virtual machine and hit Restore at the top which will open up a Restore blade where we can select the restore point and navigate to restore configuration.
    Provide the below information:

    • For Virtual Machine Name, enter a friendly name(which is the to-be restored virtual machine).
    • Select Resource group from the available list of Resource groups.
    • Click Virtual Network from the available list and select the respective VNet.
    • Select the respective Subnet from the available Subnets.
    • Click Storage.

      Note: To create an alternate configuration when restoring your VM (from the following menus), use PowerShell cmdlets.

    Azure Backup

    Select Restore points

    Azure Backup

    Select Restore Configuration

Once you are done with all settings click on Restore which will create a new Virtual Machine with similar configurations(New Resources will be created).

Summary

Azure backup is a simple and cost-effective solution that enables protection of data irregardless of the location of the data, whether it be an on-premise data center or a public cloud. Azure backup is integrated in the Recovery Service Vault providing seamless experience, making it not only cost efficient but also offering resilience and security.

Share this post

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email

2 Comments

  1. Joan Martin May 4, 2017 at 11:24 am - Reply

    Hey, thanks for sharing very useful information about Azure Backup. Glad to see your other blogs about Azure Backup Service.

  2. Raghuram Korukonda July 24, 2017 at 6:27 pm - Reply

    Awesome. Thanks for the comment @Joan Martin. I have published another blog explaining a custom Azure Backup mechanism using Azure Snapshots. Do read it and let me know your thoughts.

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.