- Lab
- A Cloud Guru
Configure a Backup Policy for an Azure Virtual Machine
Azure Backup is a Backup-as-a-Service (BaaS) solution that supports a range of different workloads. Within this hands-on lab, you will have the opportunity to gain experience configuring Azure Backup for a virtual machine. You will be using the virtual machine direct method.
Path Info
Table of Contents
-
Challenge
Create a Recovery Services Vault
Use the Azure portal to perform the following tasks. Please log in with the credentials provided to you for this lab.
Please take note of the region in use for all of the resources that have been deployed for you, as we will need to use the same region in the following steps.
To create a Recovery Services vault:
- Create the Recovery Services vault with the following settings:
- Subscription: Select the existing subscription.
- Resource group: Select the existing resource group.
- Name: vault1
- Region: Select the region in use for your existing resources.
- Click Review + create and then Create.
- Create the Recovery Services vault with the following settings:
-
Challenge
Create a Backup Policy
- Once the Recovery Services Vault deployment is complete, navigate to the vault you just created.
- Navigate to Backup policies in the menu on the left-hand side.
- Add a new policy with a policy type of Azure Virtual Machine and a policy sub-type of Standard
- Create a policy with the following settings:
- Policy name: NightlyVMBackup
- Frequency: Daily
- Time: 9:00 PM
- Timezone: Select your own timezone.
- Instant Restore: 1 Day(s)
- Retention range:
- Retention of daily backup point: Leave checked by default and set it for 7 Day(s).
- Retention of weekly/monthly/yearly backup point: Leave unchecked.
- Azure Backup Resource Group: Leave blank.
-
Challenge
Enable Backups for VM1
- Navigate to the virtual machine, vm1, which has been created for you.
- Select Backup in the left menu.
- Configure the backup with the following settings:
- Recovery Services vault: Choose the vault you created.
- Choose backup policy: Choose the policy you create.
- Click Enable Backup.
Additional Information
Azure Backup for virtual machines direct is a very simple process to enable. So the steps you've completed above are all that is required.
If you are configuring backups in your own environment, you might choose to:
- Force a backup, using Backup now
- Perform a VM restore, using Restore VM
- Recover data, using File Recovery
Note that the backup and restore experience is different, depending on the Azure Backup solution you use. Azure Backup includes several other agents for different workloads and scenarios.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.