hands-on lab

Back Up Files and Folders with the Azure Backup Agent

Up to 1h 10m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Azure Backup is a service for backing up your data in Azure. You can back up files, folders, and system state of Windows machines running on-premises or in the cloud. Azure Backup can be used for more than just backing up files and folders but that is the focus of this lab.

The ability to back up files and folders hinges on installing an agent on any machine that you want to back up. The Azure Backup Agent, also known as the Microsoft Azure Recovery Services (MARS) Agent, backs up data to a Recovery Services Vault in Azure. You can configure what files and folders to include in the backup, when the backup operations should occur, and how long the backed up data should be retained for. You will learn all about this while performing backup and restore operations in this Lab.

Learning Objectives

Upon completion of this lab you will be able to:

  • Backup and restore files and folders of Windows machines
  • Configure backup policies to schedule backups and define data retention periods
  • Understand how to back up on-demand using the Azure Backup Agent

Intended Audience

This lab is intended for:

  • Azure administrators
  • AZ-104 exam candidates
  • Anyone responsible for backup and retention of data on Windows systems


You should be familiar with:

  • Azure VM basics

You can complete the Azure Resource Manager Virtual Machines course to satisfy the prerequisites.


April 8th, 2022 - Updated the VM to include Microsoft Edge browser

Environment before
Environment after
About the author
Logan Rakai, opens in a new tab
Lead Content Developer - Labs
Learning paths

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.

LinkedIn, Twitter, GitHub

Covered topics
Lab steps
Logging in to the Microsoft Azure Portal
Creating an Azure Recovery Services Vault
Understanding the High-Level Process for Backing Up Files and Folders to Azure
Connecting to the Virtual Machine (RDP)
Installing the Azure Backup Agent
Scheduling Backups with the Azure Backup Agent
Backing Up Files and Folders Immediately with the Azure Backup Agent
Recovering Files and Folders with the Azure Backup Agent