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.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- 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.
Create a Recovery Services Vault
- Click on the + Create a resource option.
- Search for backup.
- Choose the Backup and Site Recovery option, then click Create.
- 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 a Backup Policy
Use the Azure portal to perform the following tasks. Please log in with the credentials provided to you for this lab.
Create a Backup Policy
- Once the deployment is complete, click Go to resource to navigate to the vault1 Recovery Services vault you just created.
Note: You can also search for vault1, access it via All resources, or through the Recovery Services vault service page. - Click on Backup policies in the Manage section of the resource menu on the left-hand side.
- Click + Add within the resource command menu.
- Choose Azure Virtual Machine for the Policy Type.
- 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
- Click Create.
- Once the deployment is complete, click Go to resource to navigate to the vault1 Recovery Services vault you just created.
- Enable Backups for VM1
Use the Azure portal to perform the following tasks. Please log in with the credentials provided to you for this lab.
Enable Backups for VM1
- Navigate to the virtual machine, vm1, which has been created for you.
Note: You can search for vm1, access it via All resources, or through the Virtual machines service page. - Click on Backup in the Operations section of the resource menu on the left-hand side.
- Configure the backup with the following settings:
- Recovery Services vault: Choose Select existing and select vault1
- Choose backup policy: NightlyVMBackup
- 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.
- Navigate to the virtual machine, vm1, which has been created for you.