Azure ARM VM Snapshot

As Azure provides a perfect Azure Backup Solution for Virtual Machines. There is another alternate way where you can create your own customized Backup Solution for Virtual machines using Blob Snapshots.

Azure Storage provides the capability to take snapshots of blobs.

You might me wondering what is a Snapshots ?

Traditional Snapshot

In Hyper-V Environment the configuration, memory, and supporting process information is saved and a differencing disk is created to store future disk changes. When you delete a VM, all the snapshots are deleted. However, the virtual hard disk (VHD) is not deleted, which means all content stored in the differencing disks associated with the snapshots must be merged with the original VHD, as the following diagram shows.

In Azure it’s similar where Azure capture the blob state at that point in time. Lets dig down the scenario of how we can maintain backups of virtual machine disks using snapshots.

 

Steps for Implementing a full snapshot copy:

  1. First, take a snapshot of the base blob using the Snapshot Blob operation.
  2. Then, copy the snapshot to a target storage account using Copy Blob.
  3. Repeat this process to maintain backup copies of your base blob.

To read more on the implementation please navigate to: http://raghu.space/azure-arm-vm-snapshot/

Official Azure Documentation link: https://docs.microsoft.com/en-us/azure/storage/storage-incremental-snapshots

 

Happy Reading 🙂

3 Comments

  1. Can you please elaborate on Azure Backup solution that you have mentioned in your post? I want to start backup my environment and it’s look like I’m going to use CloudEndure for DR and daily backups.

  2. Hi Jim,

    DR and Backup are totally two different things. The article which I wrote is for having a customized solution for backing up Azure Virtual machines. In traditional world we used to have snapshots features the same concept can be used in Azure as well known as Blob Snapshots. I have also provided the link where you can find an automation powershell script which will take snapshots of all your VMs with some specific tags.

    Link for Powershell script: https://gallery.technet.microsoft.com/scriptcenter/Azure-ARM-VM-Snapshot-3292a891

    Link to know more: http://raghu.space/azure-arm-vm-snapshot/

    Thanks,
    Raghu

Leave a Reply

Your email address will not be published. Required fields are marked *