Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » AWS/Azure/OpenShift » How to backup Azure VM with VM Settings

How to backup Azure VM with VM Settings

Posted on 19/11/202107/12/2023 Imoh Etuk By Imoh Etuk No Comments on How to backup Azure VM with VM Settings
How-to-backup-Azure-VIM-2
Azure Virtual Machine Backup

In this article, I will explain how to backup Azure VM with VM Settings (Azure Backup service). Therefore, you can back up Azure VMs using a couple of methods. This guide describes how to back up a single Azure VM directly from the VM menu settings. When it comes to cloud computing, Microsoft Azure is one of the leading cloud providers in the Infrastructure as a Service (IaaS) cloud model. If you want to get started with Azure DevOps, see also how to build your first CI/CD Pipeline in Azure DevOps using ASP.Net Core Application.

Just as you will have your on-premises PC backed up either to external hard disk storage, and keep the backup drive offsite that’s at a place different from your business premises to avoid any disaster that may result in data loss or breach the same way Azure also allows you to backup your Virtual Machine in the cloud.

Meanwhile, you may be interested in learning about how to provision Azure Resources using Azure Az PowerShell Cmdlet from Cloud Shell. Also, learn about how to how to secure access to your Virtual Machine with Just-in-Time (JIT) VM Access.

Requirements for Initiating Azure VM Backup

Before you start, you need the following:

  1. An active subscription on Azure VM. If you don’t have one already, you can sign up for Azure free account.
  2. Azure VM agent extension must be installed and running on the machine.
The point to note is if your Virtual Machine was created from an Azure Marketplace image, the agent will be running automatically immediately the VM deployment is complete. A situation where you will be required to manually installed the agent is if you create a custom VM, you migrate a machine from on-premises to Azure. 

Thus, if you do need to install the Azure VM agent manually, follow the instructions for Windows or Linux VMs. Once the agent is installed, enabling backup triggers the installation of Azure Backup extension onto the agent. In addition, it updates and patches the extension without user intervention.

Create VM from Azure Portal

Sign into Azure Portal at portal.azure.com. Type virtual machines in the search. Under Services, select Virtual machines.

In the Virtual machines page, select Create then Virtual machine. Confirm the subscription in the “Basics” tab and opt for a new resource group creation under “Project details.” Then. Type a name for your Resource Group. Here we use vmbackupRg

Creating-Azure-VM

Under Instance details, type the name for the Virtual machine and choose the Region of your choice.

Choose Windows Server 2019 Datacenter for the Image and Standard_DS1_v2 for the Size. Leave the other defaults. Click Review + Create

After the VM has been created successfully, click to go to resource. This will open up the VM you just created.

Back up from Azure VM settings

With VM still open down, select Backup on the VM menu

  • 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 Azure VM settings.
Azure-Recovery-Service

3. In Choose backup policy, do one of the following:

- Leave the default policy. This backs up the VM 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.

4. Click Edit this policy. Please note this is not compulsory as you choose to go with the default settings.

Meanwhile, you might just do this to enable you to explore the available backup policy options you can select based on your preference.

VM-Back-policy
VM Backup Policy Settings

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

Summary-of-Backup-policy
Summary of Back Policy

The screenshot above shows the summary of the backup policy we defined. Thus, you can track the configuration progress in the portal notifications.

Deployment-Template
VM Backup Deployment Progress

After the job completes, in the Azure VM menu, select Backup. Following this, the page shows the backup status for the VM, information about recovery points, jobs running, and alerts issued.

Back-up-Status
VM Backup Status
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, Last backup status shows as Warning (Initial backup pending). To see when the next scheduled backup will run, select the backup policy name.

Afterwards, the below screen shows you the overview screen of the jobs and backup instances.

Data-Source-Azure-VM
Backup Summary

Run a VM backup immediately

1: To run a backup immediately after the initial backup is complete, in the VM menu, select Backup > Backup now.

Backup-Immediately
Backup VM Immediately

2. In Backup Now, use the calendar control to select until when the recovery point will be retained and OK.

Back-schedule
Backup Schedule

As you can see from the screenshot, my next backup will occur on December 1st, 2021.

Congratulations, you have just succeeded in configuring backup for your Azure Virtual Machine.

Clean up your environment

One last thing you need to do is to clean up your environment to avoid incurring unnecessary charges from Azure VM. To do so, launch the Cloud Shell directly on the Azure Portal, Select the PowerShell option and run the PowerShell command shown below:

Remove-AzResourceGroup -Name YourResourceGroup
PowerShell
Deleting Resource Group via PowerShell

However, remember Resource group is the logical folder where the VM and the Backup we created above are stored. So deleting it will delete everything at once for you.

RG
Resource Group

I hope you found this blog post on how to backup Azure VM with VM Settings helpful. Hence, if you have any questions, please let me know in the comment session.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift, Backup Tags:Azure, Image backup, Windows Server Backup

Post navigation

Previous Post: How to create a Traffic Manager Profile in Azure
Next Post: How to use the DigiCert certificate utility for Windows to create a CSR

Related Posts

  • Microsoft Enterprise Root Certification Authority and Forest Domain to Azure migration
    Migrate Microsoft Enterprise Root Certification Authority and Forest Domain to Azure AWS/Azure/OpenShift
  • Fix invalid backup repostory and delete not needed repo via Veeam Backup Repository
    Fix missing path and delete a Veeam Backup Repository Backup
  • a Multiple SPF Records  Issues and Examples@2x
    How to setup SPF and TXT Records in AWS AWS/Azure/OpenShift
  • kubernetes
    Create and monitor Apps using the Azure Kubernetes Service manifest AWS/Azure/OpenShift
  • DevOps
    Create an App Service Plan with Continuous Deployment to deploy a .NET Application from GitHub AWS/Azure/OpenShift
  • Upgrade the embedded PostgreSQL for Veeam Backup and replication
    How to upgrade PostgreSQL Engine used by VBR Backup

More Related Articles

Microsoft Enterprise Root Certification Authority and Forest Domain to Azure migration Migrate Microsoft Enterprise Root Certification Authority and Forest Domain to Azure AWS/Azure/OpenShift
Fix invalid backup repostory and delete not needed repo via Veeam Backup Repository Fix missing path and delete a Veeam Backup Repository Backup
a Multiple SPF Records  Issues and Examples@2x How to setup SPF and TXT Records in AWS AWS/Azure/OpenShift
kubernetes Create and monitor Apps using the Azure Kubernetes Service manifest AWS/Azure/OpenShift
DevOps Create an App Service Plan with Continuous Deployment to deploy a .NET Application from GitHub AWS/Azure/OpenShift
Upgrade the embedded PostgreSQL for Veeam Backup and replication How to upgrade PostgreSQL Engine used by VBR Backup

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • update powershell
    Fix WDAC vulnerabilities by updating PowerShell Security | Vulnerability Scans and Assessment
  • Resolving Vsss Error
    Resolving VSS Errors: Veeam AD Backups failing with SentinelOne Backup
  • schedulepythontasksinWindows
    Task Scheduler shows task still running despite successful Windows
  • asdfgh
    All Group Policies (GPO) available to configure Microsoft Edge settings Windows Server
  • drivelock 1280x720 1
    The server could not be reached or validated: Timeout expired. The Time out expired prior to obtaining a connection from the pool Security | Vulnerability Scans and Assessment
  • Wordpress
    How to Install and Configure WordPress on Your Windows Computer Using WAMP SERVER Web Server
  • How to Remove Hyper V
    How to uninstall Hyper-V on a Windows PC Virtualization
  • How to Disable Users Seeing Wi Fi Password on Windows.jpg banner
    How to Prevent Users from Seeing Wi-Fi Password on Windows Network | Monitoring

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,817 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.