Learn to Back up an Azure VM from the VM settings

  1. Home
  2. Learn to Back up an Azure VM from the VM settings

This tutorial explains how to back up Azure VM with the Azure Backup service. You can back up Azure VMs using a couple of methods:

  • Single Azure VM: The instructions in this article describe how to back up an Azure VM directly from the settings.
  • Multiple Azure VMs: You can set up a Recovery Services vault and configure backup for multiple Azure VMs.

Before you start

  1. Learn how backup works, and verify support requirements.
  2. Get an overview of Azure VM backup.

Azure VM agent installation

To back up Azure VMs, Azure Backup installs an extension on the VM agent running on the machine. If your VM was created from an Azure Marketplace image, the agent will be running. In some cases, for example if you create a custom VM, or you migrate a machine from on-premises, you might need to install the agent manually.

  • If you do need to install the VM agent manually, follow the instructions for Windows or Linux VMs.
  • After the agent is installed, when you enable backup, Azure Backup installs the backup extension to the agent. It updates and patches the extension without user intervention.

Back up from Azure VM settings

  1. Sign in to the Azure portal.
  2. Select All services and in the Filter, type Virtual machines, and then select Virtual machines.
  3. From the list of VMs, select the one you want to back up.
  4. On the menu, select Backup.
  5. In Recovery Services vault, do the following:
    • If you already have a vault, select Select existing, and select a vault.
    • If you don’t have a vault, select Create new. Specify a name for the vault. It’s created in the same region and resource group as the VM. You can’t modify these settings when you enable backup directly from the settings.
Learn to Back up an Azure VM from the VM settings
Image Source – Microsoft

In Choose backup policy, do one of the following:

  • Leave the default policy. This backs up the virtual machine once a day at the time specified, and retains backups in the vault for 30 days.
  • Select an existing backup policy if you have one.
  • Create a new policy, and define the policy settings.
Learn to Back up an Azure VM from the VM settings
Image Source – Microsoft

Select Enable Backup. This associates the backup policy with the VM.

Learn to Back up an Azure VM from the VM settings
Image Source – Microsoft
  • You can track the configuration progress in the portal notifications.
  • After the job completes, in the menu, select Backup. The page shows backup status for the VM, information about recovery points, jobs running, and alerts issued.
Learn to Back up an Azure VM from the VM settings
Image Source – Microsoft
  • After enabling backup, an initial backup runs. You can start the initial backup immediately, or wait until it starts in accordance with the backup schedule.
    • Until the initial backup completes, the Last backup status shows as Warning (Initial backup pending).
    • To see when the next scheduled backup will run, select the backup policy name.

Run a backup immediately

  1. To run a backup immediately, in the VM menu, select Backup > Backup now.
  2. In Backup Now, use the calendar control to select until when the recovery point will be retained > and OK.
  3. Portal notifications let you know the backup job has been triggered. To monitor backup progress, select View all jobs.
Learn to Back up an Azure VM from the VM settings
Image Source – Microsoft

Back up from the Recovery Services vault

Follow the instructions in this article to enable backup for Azure VMs by setting up an Azure Backup Recovery Services vault, and enabling backup in the vault.

free practice test for AZ- 303

Go back to home page

Reference documentation Back up an Azure VM from the VM settings

Menu