This tutorial describes how to back up multiple virtual machines by using the Azure portal .
Azure stores backup data in a Recovery Services vault, which is accessible from the Settings menu of most services. This integration simplifies the backup process. However, managing each database or virtual machine separately can be tedious. To streamline backups for multiple virtual machines (for department or location), you can create a backup policy and apply it to the relevant machines.
Sign in to the Azure portalSign in to the Azure portal.
Note
The functionality described in the following sections can also be accessed via Backup center. Backup center is a single unified management experience in Azure. It enables enterprises to govern, monitor, operate, and analyze backups at scale. With this solution, you can perform most of the key backup management operations without being limited to the scope of an individual vault.
Create a Recovery Services vaultA Recovery Services vault is a management entity that stores recovery points that are created over time, and it provides an interface to perform backup-related operations. These operations include taking on-demand backups, performing restores, and creating backup policies.
To create a Recovery Services vault:
Sign in to the Azure portal.
Search for Business Continuity Center, and then go to the Business Continuity Center dashboard.
On the Vault pane, select +Vault.
Select Recovery Services vault > Continue.
On the Recovery Services vault pane, enter the following values:
Subscription: Select the subscription to use. If you're a member of only one subscription, you'll see that name. If you're not sure which subscription to use, use the default subscription. There are multiple choices only if your work or school account is associated with more than one Azure subscription.
Resource group: Use an existing resource group or create a new one. To view a list of available resource groups in your subscription, select Use existing, and then select a resource in the dropdown list. To create a new resource group, select Create new, and then enter the name. For more information about resource groups, see Azure Resource Manager overview.
Vault name: Enter a friendly name to identify the vault. The name must be unique to the Azure subscription. Specify a name that has at least 2 but not more than 50 characters. The name must start with a letter and consist only of letters, numbers, and hyphens.
Region: Select the geographic region for the vault. For you to create a vault to help protect any data source, the vault must be in the same region as the data source.
Important
If you're not sure of the location of your data source, close the window. Go to the list of your resources in the portal. If you have data sources in multiple regions, create a Recovery Services vault for each region. Create the vault in the first location before you create a vault in another location. There's no need to specify storage accounts to store the backup data. The Recovery Services vault and Azure Backup handle that automatically.
After providing the values, select Review + create.
To finish creating the Recovery Services vault, select Create.
It can take a while to create the Recovery Services vault. Monitor the status notifications in the Notifications area at the upper right. After the vault is created, it appears in the list of Recovery Services vaults. If the vault doesn't appear, select Refresh.
Note
Azure Backup now supports immutable vaults that help you ensure that recovery points once created can't be deleted before their expiry as per the backup policy. You can make the immutability irreversible for maximum protection to your backup data from various threats, including ransomware attacks and malicious actors. Learn more.
When you create a Recovery Services vault, by default the vault has geo-redundant storage. To provide data resiliency, geo-redundant storage replicates the data multiple times across two Azure regions.
Set backup policy to protect VMsAfter the Recovery Services vault creation is complete, configure the vault for the data type backup and set the backup policy. The policy defines the schedule for recovery points and their retention period. In this tutorial, let's assume you have a business (a sports complex with a hotel, stadium, and restaurants) that requires virtual machine data protection.
To set a backup policy to your Azure VMs, follow these steps:
Go to Backup center and click +Backup from the Overview tab.
On the Start: Configure Backup blade, select Azure Virtual machines, as the Datasource type, and then select the vault you have created. Then click Continue.
Assign a Backup policy.
The default policy backs up the VM once a day. The daily backups are retained for 30 days. Instant recovery snapshots are retained for two days.
If you don't want to use the default policy, select Create New, and create a custom policy as described in the next procedure.
Under Virtual Machines, select Add.
The Select virtual machines blade will open. Select the VMs you want to back up using the policy. Then select OK.
The selected VMs are validated.
You can only select VMs in the same region as the vault.
VMs can only be backed up in a single vault.
Note
All the VMs in the same region and subscription as that of the vault are available to configure backup. When configuring backup, you can browse to the virtual machine name and its resource group, even though you donât have the required permission on those VMs. If your VM is in soft deleted state, then it won't be visible in this list. If you need to re-protect the VM, then you need to wait for the soft delete period to expire or undelete the VM from the soft deleted list. For more information, see the soft delete for VMs article.
In Backup, select Enable backup. This deploys the policy to the vault and to the VMs, and installs the backup extension on the VM agent running on the Azure VM.
After enabling backup:
Note
You can also set Enhanced policy to back up Azure VMs multiple times a day. Learn about Enhanced policy.
Initial backupYou've enabled backup for the Recovery Services vaults, but an initial backup hasn't been created. It's a disaster recovery best practice to trigger the first backup, so that your data is protected.
The initial backup will run in accordance with the schedule, but you can run it immediately as follows:
If you plan to continue on to work with subsequent tutorials, don't clean up the resources created in this tutorial. If you don't plan to continue, then delete all resources created by this tutorial in the Azure portal by following these steps:
On the myRecoveryServicesVault dashboard, select 3 under Backup Items to open the Backup Items menu.
On the Backup Items menu, select Azure Virtual Machine to open the list of virtual machines associated with the vault.
The Backup Items list opens.
In the Backup Items menu, select the ellipsis to open the Context menu.
On the context menu, select Stop backup to open Stop Backup menu.
In the Stop Backup menu, select the upper drop-down menu and choose Delete Backup Data.
In the Type the name of the Backup item dialog, type myVM.
Once the backup item is verified (a check mark appears), Stop backup button is enabled. Select Stop Backup to stop the policy and delete the restore points.
When there are no more items in the vault, select Delete.
Once the vault is deleted, you'll return to the list of Recovery Services vaults.
In this tutorial, you used the Azure portal to:
Continue to the next tutorial to restore an Azure virtual machine from disk.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4