Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Backup » How to Install Azure Backup Agent
  • WCD
    Join Bulk Devices using a Provisioning Package to Azure AWS/Azure/OpenShift
  • How to Make More Space Available on the Windows 11 Taskbar
    How to Make More Space Available on the Windows 11 Taskbar Windows
  • hyper v 1
    How to fix unable to create a new VM on HyperV Virtualization
  • banner 2
    How to Configure and Run Performance Tests in Postman Automation
  • Featured image Chrome notification
    How to Disable Chrome Browser Notifications on Windows Windows
  • Missing Windows defender
    Missing Windows Defender? Install and manage Microsoft Defender via Windows Security on Windows Server Windows Server
  • screenshot 2020 02 08 at 17.31.28
    How to perform Password Change with OWA Network | Monitoring
  • veeam backup for aws Processing postgres rds failed
    Veeam backup for aws Processing postgres rds failed: No valid combination of the network settings was found for the worker configuration AWS/Azure/OpenShift

How to Install Azure Backup Agent

Posted on 27/12/202327/12/2023 Imoh Etuk By Imoh Etuk No Comments on 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.

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, 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
    BitLocker Drive Encryption architecture and implementation types on Windows Windows Server
  • unnamed 2
    How to create a contact in Active Directory Windows Server
  • ackup Repository and Add HyperV to VBR Inventory
    Create local Backup Repository and Add HyperV to VBR Inventory Backup
  • Configure AD LDAPs
    Generate a self-signed SSL certificate: Enable LDAP over SSL Windows Server
  • banner
    Various ways to restart an AWS EC2 instance AWS/Azure/OpenShift
  • images 6
    Important Areas to Master on WSUS Windows Server

More Related Articles

BitLocker BitLocker Drive Encryption architecture and implementation types on Windows Windows Server
unnamed 2 How to create a contact in Active Directory Windows Server
ackup Repository and Add HyperV to VBR Inventory Create local Backup Repository and Add HyperV to VBR Inventory Backup
Configure AD LDAPs Generate a self-signed SSL certificate: Enable LDAP over SSL Windows Server
banner Various ways to restart an AWS EC2 instance AWS/Azure/OpenShift
images 6 Important Areas to Master on WSUS Windows Server

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

sysadmin top30a

  • WCD
    Join Bulk Devices using a Provisioning Package to Azure AWS/Azure/OpenShift
  • How to Make More Space Available on the Windows 11 Taskbar
    How to Make More Space Available on the Windows 11 Taskbar Windows
  • hyper v 1
    How to fix unable to create a new VM on HyperV Virtualization
  • banner 2
    How to Configure and Run Performance Tests in Postman Automation
  • Featured image Chrome notification
    How to Disable Chrome Browser Notifications on Windows Windows
  • Missing Windows defender
    Missing Windows Defender? Install and manage Microsoft Defender via Windows Security on Windows Server Windows Server
  • screenshot 2020 02 08 at 17.31.28
    How to perform Password Change with OWA Network | Monitoring
  • veeam backup for aws Processing postgres rds failed
    Veeam backup for aws Processing postgres rds failed: No valid combination of the network settings was found for the worker configuration AWS/Azure/OpenShift

Subscribe to Blog via Email

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

Join 1,825 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

AWS 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.