How I can backup whole azure VM?

Vijay Gawte 40 Reputation points
2025-03-20T10:22:52.6566667+00:00

Hello,
I would like to backup whole Azure VM as like we have AMI in AWS.

Could you please help me with the process to backup whole VM?

Thanks!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,035 questions
{count} votes

Accepted answer
  1. Amira Bedhiafi 33,631 Reputation points Volunteer Moderator
    2025-03-20T11:36:16.1933333+00:00

    Hello Vijay !

    Thank you for posting on Microsoft Learn.

    You can use Azure Backup to create full VM backups, or you can take snapshots and custom images to restore the VM later. Below are the different methods:

    Azure Backup is the highly recommended method for backing up the entire VM, including OS, data disks, and system state.

    1. Go to the Azure Portal (https://portal.azure.com).
    2. Navigate to "Backup Center" from the left-side menu.
    3. Click "Vaults", then "+ Create", and choose "Recovery Services Vault".
    4. Provide a name for the vault, select the resource group, and choose the region.
    5. Once the vault is created, open it and go to "Backup".
    6. Under "Where is your workload running?", select "Azure".
    7. Under "What do you want to back up?", choose "Azure Virtual Machine".
    8. Click "Select", then select the VM you want to back up.
    9. Choose the backup policy:
      • Default policy: Daily backups with a 30-day retention.
        • Custom policy: Define backup frequency and retention period.
        1. Click "Enable Backup" to start the backup process.

    For the Restoration:

    • Go to Backup Center → Protected Items → Azure Virtual Machines.
    • Select the VM and choose "Restore VM".
    • You can restore the VM to a new instance or replace the existing one.

    A second alternative, if you want an image-based backup of your VM, you can capture a Managed Image.

    1. Go to Azure Portal and open the VM.
    2. Deallocate the VM:
      • Click "Stop" → Click "Deallocate".
      1. Click Capture on the VM page.
      2. Provide an image name and save it in a resource group.
      3. Choose Automatically delete this VM after image creation (optional).
      4. Click "Create".

    For the Restoration: When you create a new VM, select "Use existing image" and choose your managed image.

    A third alternative is to take a Snapshot of the VM Disks

    1. Go to Azure Portal and open the VM.
    2. Click Disks, then select the OS Disk.
    3. Click "Create Snapshot".
    4. Select Full snapshot or Incremental snapshot.
    5. Click "Create".

    The Restoration: You can create a new disk from the snapshot and attach it to a new or existing VM.

    Finally you can also use Azure Site Recovery (For Disaster Recovery), it replicates your VM to another region for high availability.

    1. Go to Azure Portal → Site Recovery.
    2. Click "Set up Recovery".
    3. Select your VM and target region.
    4. Configure replication policy.
    5. Enable replication.

    For the Failover/Restore: You can trigger failover to recover your VM in another region.

    Links to help you :

    https://docs.azure.cn/en-us/virtual-machines/linux/tutorial-custom-images

    https://learn.microsoft.com/en-us/azure/virtual-machines/capture-image-resource

    https://www.reddit.com/r/AZURE/comments/1gr7dld/creating_vm_image_from_a_vm_without_destroying_it/

    https://helpcenter.veeam.com/docs/vbazure/guide/overview.html?ver=70

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.