Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to Install Azure Backup Agent

Posted on 27/12/202311/08/2026 Imoh Etuk By Imoh Etuk No Comments on How to Install Azure Backup Agent
  1. Home
  2. AWS/Azure/OpenShift
  3. How to Install Azure Backup Agent
Azure-Backup-1

In this post, I show you how to install Azure Backup Agent on your on-premises machine and use it to back up the machine to the Azure Cloud. Azure Backup uses the MARS agent to back up files, folders, and system states from on-premises machines and Azure VMs. You can take the backup for your Azure VM with VM Settings and store the backup in the Azure Recovery Services vault. Please see how to secure a Web Server on a Windows VM in Azure using TLS/SSL Certificates Saved in Azure Key Vault, and how to secure a Web Server on a Windows VM in Azure using TLS/SSL Certificates Saved in Azure Key Vault.

The MARS agent, also known as the Microsoft Azure Recovery Services (MARS) agent, is a software tool used to back up data from on-premises Windows machines and Azure VMs to a Recovery Services vault in Azure.

Azure Backup requires an Azure Recovery Services Vault for the storage of backup data in Azure using the Azure Backup Agent setup on the on-premises machine. There are various ways to back up your files; you can set up Norton Cloud Backup on Windows. Check out the Virtual Machine Snapshot vs Backup post to learn about VM snapshots and backups. You can also set up Veeam Backup for Microsoft Azure.

Azure Recovery Services Vault is a centralized management service in Azure that acts as a storage container for backup data and recovery points created from various Azure services and on-premises sources.

Why an Azure Backup Agent?

With Azure Backup Agent, you can back up specific files and folders or entire volumes. You can also back up the entire system state of your machine. This gives you granular control over what gets protected. The MARS agent seamlessly integrates with Azure Backup, making it easy to manage your backups and restore data.

Install Azure Backup Agent

To install Azure Backup Agent and initiate your first backup to Azure, you need to carry out the following steps:

Step 1: Create Azure Recovery Services Vault

All the backups will be stored in the Recovery Services Vault. So, the first resource to set up is the Recovery Services Vault. Kindly refer to one of my previous guides on backing up Azure VM with VM Settings to learn how to create a Recovery Services Vault.

Next, modify the storage replication from geo-redundant storage (GRS) to locally redundant storage (LRS) to reduce Azure storage costs.

To do so, from the Recovery Services vault you created, locate Properties -> Backup Configuration -> Updates -> Select Locally redundant storage and click on Save.

1-Modiy-storage-replication-1
Modifying Storage Replication

Step 2: Download and Install the MARS agent

In this step, you download and install the MARS agent on the on-premise machine to set up the backup. To do so, from the properties tab of the Recovery Services vault, locate the download under Recovery Services, or you can download it from here.

2-Download-MARS-Agent
Downloading MARs Agent

Step 3: Prepare Backup Infrastructure

Locate backup under the “Getting Started” tab

2-Select-where-your-workloads-is-running
Preparing Backup Infrastructure

Select On-Premises as where your workloads are running, and select files and folders as the workloads you want to backup.

Next, click on Prepare Infrastructure:

3-Prepare-your-Infrastructure
Prepare Infrastructure

On the Prepare Infrastructure page, download the vault credentials if you have not already done so, but if you have already downloaded the agent, check “Already downloaded.”

4-download-vault-credentials
Vault Credentials Download page
Note, you will need the vault credentials file above for server registration later in this demonstration. It also set to expire after 10 days.

As shown in the screenshot above, we can browse the jobs page, and we can also browse the alerts page to set up email notifications.

We will come back to the steps above. For now, let’s run the MARS agent installation on our on-premises machine.

Step 4: Install the MARS Agent on the On-Premises Machine

From the download folder of your on-premises machine, double-click on the MARS Agent you downloaded earlier. Leave everything as default and click on Next to continue.

5-MARSAgentInstallation
Installing MARS Agent on the On-premises Machine

On the proxy configuration page, leave everything as default and click on Next.

6-Proxy-Configuration
Proxy Configuration

On the Microsoft Update Opt-In page, specify if you want to use Microsoft Update or not. Here, I selected that I do not want to use Microsoft Update.

7-Microsoft-Update-Opt-In-1
Microsoft Update Opt-In

Proceed to the installation page and click on Install.

8-Installation-Page
MARS Agent Installation

As soon as you click on Install, the installation process will begin. Grab a cup of coffee and wait for it to finish.

9-Installation-in-progress
MARS Agent Installation in Progress

Proceed to register your backup vault by clicking on “Proceed to Registration.”

10-Proceed-to-Registration
Proceed to Registration

Step 5: Register Server

As soon as you proceed to register your server, you will be taken to an interface similar to the one below:

11-Vault-Identification-Page-1
Vault Identification Page

From the screen above, select the credentials file you downloaded, and then select Next.

12-Vault-Credentials-Applied
Vault Credentials Applied

The next step requires that you generate a passphrase.

Note: The best practice is to store your passphrase securely in the Azure Key Vault.

If you have configured your key vault to store a passphrase, enter the key vault URL as shown below. For the sake of this demo, we will not store passphrase in the Azure Key Vault.

13-Generate-a-Passphrase
Generate Passphrase

Here, I store the passphrase locally.

14-Manually-store-passphrase
Storing Passphrase

In the server registration screen, wait for it to complete.

15-Server-Registration-Screen
Server registration is in Progress

Once it is complete, click on Close, leaving the “Launch Microsoft Azure Recovery Services Agent” dialog box checked. This enables you to launch the agent as soon as you click on Close.

16-Server-Registration-completed
Server registration is complete.
Note you must configure and schedule backup options before your server can be backed up.

Step 6: Configure and Schedule Backup Options

When the MARS Agent opens up, click on “Schedule Backup.”

17-Configuring-backup-options
Scheduling backup

On the Getting Started screen, click Next to proceed.

1-Scheduling-backup
Getting started with a backup schedule

Select a backup item. To select a backup item, click on Add Items, select C:\ drive, and then click OK.

2-Select-Items-to-Backup
Select a backup item

The screenshot below shows that a backup item has been selected. Click next to continue.

3-Backup-Item-selected
Backup Item Selected

Specify a backup schedule. As shown below, I specify the backup schedule as Week, set the timing at midnight, and select Monday – Friday.

4-Specify-backup-schedule
Specify backup schedule

Click on Next to continue.

Configure a retention policy. As shown below, the backup data will be retained for 104 weeks, 60 months, and 10 years. This policy is the default policy, and I will leave it as is.

5-Configure-Retention-policy
Retention policy

Configure the initial backup type. Here, I chose online and clicked on Next.

6-Choose-the-initial-backup
Choose initial backup

On confirmation, click Finish

7-Confirmation-page
Confirmation page

Take your first backup.

9-Take-your-first-backup
Back-Up Now

Configure a retention backup until the date you wish.

10-Retain-Backup-Till
Configure backup retention

Confirmation

11-Confirm-Backup
Backup now

Backup in Progress

12-backup-progress
Backing up Item

Check Azure Portal to verify the backup item

13-Check-for-your-backup-item
Verifying backup item

Clicking on Azure Backup Agent takes you to the status of your last backup. As shown below, the first backup we took was successful.

14-Backup-successful
The first backup succeeded

Navigate to Backup > Prepare infrastructure > Browse the jobs page to view backup jobs.

15-Backup-job
Backup Jobs

Step 7: Configure the Backup Email Notifications

As mentioned previously in Step 3 above, you can configure an email alert to stay informed whenever a backup is successful.

To do so, from the prepare infrastructure page, click on the “browse alerts page.”

4-Recovery-Services-Agent-1
Configuring Backup Alerts

Click on Configure Notifications to continue to the screen to configure the notifications.

16-configure-email-notifications
Configure Alert notifications

On the Configure Notifications screen, set the Email Notifications radio button to On. Enter the email addresses you would like to be notified in the recipients’ field. Choose when to notify, select the alert severity level, and then click on Save.

17-configure-email-notifications2
Configuring Alert Notification Settings

The alert configuration is successful, as shown below.

18-Email-Notification-configured-successfully
Alert configuration is successful

Step 8: Clean up resources to avoid incurring Azure charges

Run az group delete --name <Resource_Group_Name> --no-wait to delete the resource group that holds the Recovery Services Vault.

Note you won't be able to delete that Resource Group if the Recovery Services Vault is still in use.

I hope you found this guide on how to install Azure Backup Agent useful. Please feel free to leave a comment below.

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
AWS/Azure/OpenShift, Backup, Windows, Windows Server Tags:Azure, Windows 11

Post navigation

Previous Post: How to Take a Scrolling Screenshot on Windows 11
Next Post: How to create blue screen using the Not my Fault tool from Sysinternals

Related Posts

  • BitLocker unlock
    How to unlock a fixed drive protected by BitLocker Windows
  • How to Remove Hyper V
    How to uninstall Hyper-V on a Windows PC Virtualization
  • fast user switching in windows 10 1
    Fast user switching: How to create a desktop shortcut in Windows 10 to switch User Accounts Windows
  • powershell01 3
    How to install and Update Azure PowerShell on your Windows PC AWS/Azure/OpenShift
  • create a Lenovo USB Recovery key
    Windows 10 Yoga Recovery: Download the files needed to create a Lenovo USB Recovery key Windows
  • cannot connect to the virtual machine try to connect again HyperV
    Could not connect to virtual machine try to connect again Hyper-V Virtualization

More Related Articles

How to Install Winget on Windows Server How to Install Winget on Windows Server Windows Server
Local System Account How to Run a Program in Windows as the Local System Account Windows
RDP The connection was denied because the user is not authorized for remote Login: Enable Remote Desktop Connection on Windows 11 for non-administrators or selected users Windows
Access Synology Remotely How to create a Tailscale VPN connection to Synology NAS Backup
active directory faq 2016 1 How to detect who disabled a user in Active Directory Windows Server
Route53AWS Set up and configure Route 53 for your Domain in AWS AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • MBAM
    The web application “Administration Portal” cannot be enabled because one or more software dependencies are not met Windows
  • Slide1 1
    Create Multiple Users with Passwords in Ubuntu Linux Linux
  • Windows Logo
    Restrict IP Address Range on Windows PC Windows
  • rdp
    How to fix Remote Desktop can’t connect to the remote computer for one of these reasons Windows Server
  • ansible
    KDC reply did not match expectations while getting initial credential Configuration Management Tool
  • PUA copy
    Enable or disable Reputation-Based Protection on Windows 10 and 11 Network | Monitoring
  • Free up filesystem root space
    How to fix the Filesystem root is running low on Disk space Virtualization
  • VBR upgrade
    Upgrade Veeam Backup and Replication to version 12.2 Backup

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.