|
1 | 1 | ---
|
2 |
| -title: About agentless multi-disk crash consistent backup for Azure Virtual Machines by using Azure Backup |
3 |
| -description: Learn about agentless multi-disk crash consistent backup for Azure VMs by using Azure Backup via Azure portal. |
4 |
| -ms.topic: conceptual |
| 2 | +title: Back up Azure VM with agentless multi-disk crash consistent backup by using Azure Backup |
| 3 | +description: Learn how to configure backup for Azure VMs with agentless multi-disk crash consistent backup via Azure portal. |
| 4 | +ms.topic: how-to |
5 | 5 | ms.date: 03/15/2024
|
6 | 6 | author: AbhishekMallick-MS
|
7 | 7 | ms.author: v-abhmallick
|
8 | 8 | ---
|
9 | 9 |
|
10 |
| -# About agentless multi-disk crash consistent backup for Azure VMs (preview) |
| 10 | +# Back up Azure VM with agentless multi-disk crash consistent backup (preview) |
| 11 | + |
| 12 | +This article describes how to configure backup for Azure VMs with agentless multi-disk crash consistent backup (preview) and back up VM by using the Azure portal. |
11 | 13 |
|
12 | 14 | Azure Backup supports agentless VM backups by using multi-disk crash-consistent restore points (preview). The Enhanced VM backup policy now enables you to configure the consistency type of the backups (application-consistent restore points or crash-consistent restore points preview) for Azure VMs. This feature also enables Azure VM backup to retry the backup operation with *crash consistent snapshots* (for *supported VMs*) if the application-consistent snapshot fails.
|
13 | 15 |
|
14 |
| -## When do I choose crash-consistent backup over application-consistent backup? |
| 16 | +## Configure backup for a new Azure VM with agentless multi-disk crash consistent backup |
| 17 | + |
| 18 | +The agentless crash consistent backup is available the *Enhanced VM backup policy* only. You need to set *crash-consistent backup* explicitly in this policy because *application/file-system consistent backup* is the default setting. |
| 19 | + |
| 20 | +To configure backup for a new Azure VM with agentless multi-disk crash consistent backup enabled, [create a Recovery Services vault](backup-create-recovery-services-vault.md#create-a-recovery-services-vault) and follow these steps: |
| 21 | + |
| 22 | +1. On the **Configure backup** blade, under **Policy sub type**, select **Enhanced** > **Create a new policy**. |
| 23 | + |
| 24 | +2. On the **Create policy** blade, set the **Consistency type** to **Only crash consistent snapshot (Preview)** to enable *agentless crash consistent backup*. |
| 25 | + |
| 26 | +3. Select **OK**. |
| 27 | + |
| 28 | +## Move a VM from application/file-system consistent to crash consistent backup. |
| 29 | + |
| 30 | +If you have VMs backed up with Enhanced Policy, you can move them from agent based application/file-system consistent backups to agentless crash consistent backups by: |
| 31 | + |
| 32 | +- Changing their associated backup policy (recommended) |
| 33 | +- Editing the policy setting directly |
| 34 | + |
| 35 | +### Option 1: Change the VM backup policy to switch from application/file-system consistent backup to crash-consistent backup (recommended) |
| 36 | + |
| 37 | +Follow these steps: |
| 38 | + |
| 39 | +1. Go to a **Recovery Services vault**, and then select **Manage** > **Backup policies** to check the policy for the VMs you want to move to *crash-consistent backup*. |
| 40 | + |
| 41 | + |
| 42 | +2. Select the *backup policy*, and then on the **Modify policy** blade, select **Associated Items** to identify the VMs that you want to move to crash consistent backup. |
| 43 | + |
| 44 | + >[!Note] |
| 45 | + >Ensure that the VMs are supported for crash-consistent backups. Learn about the [supported scenarios](backup-azure-vms-agentless-multi-disk-crash-consistent.md#supported-scenarios-for-agentless-multi-disk-crash-consistent-vm-backup-preview). |
| 46 | +
|
| 47 | +3. Go to the **Modify policy** blade, and then make a note of the settings in the policy to use the same in the new backup policy. |
| 48 | + |
| 49 | +4. Go to the **Backup policies** blade, and select **Add** to create a new policy. |
| 50 | + |
| 51 | +5. On the **Select policy type** blade, select **Azure Virtual Machine**. |
| 52 | + |
15 | 53 |
|
16 |
| -- If your workload is performance sensitive and can tolerate recovery from crash-consistent backups, crash-consistent backups help quiesce VM I/O for shorter period during backup. Crash-consistent backup doesn't use Volume Shadow Copy Service, VSS (for Windows) or fsfreeze (for Linux) to avoid the associated quiescing delays. |
| 54 | +6. On the **Create policy** blade, select **Enhanced** as the **Policy sub type**, and then configure the new policy with the same backup frequency and retention as the existing policy. |
17 | 55 |
|
18 |
| -- If you don't want to install the VM Agent or snapshot extension required for application consistent or file-system consistent snapshots in your Azure VM, use crash-consistent backups for an agentless backup solution. |
| 56 | +7. Set the **Consistency type** to **Only crash consistent snapshot (Preview)**, and then select **Create**. |
| 57 | +SetCrashConsistent.png <highlight setting crash consistent option> |
19 | 58 |
|
20 |
| -- If your operating system is not supported for application or file-system consistent backup, use crash consistent backups. Crash-consistent backup is operating system agnostic as it doesn't rely on the VM agent or snapshot extension. |
| 59 | +8. Go to the *existing policy*, select **Associated Items**, and then select **View details** corresponding to the VM you want to move to crash consistent backup. |
21 | 60 |
|
22 |
| -## When do I not use crash-consistent backups? |
| 61 | +9. Select **Backup policy** to go to the **Change Backup Policy** blade. |
23 | 62 |
|
24 |
| -- If your application can't tolerate recovery from crash consistent backups. |
25 |
| -- If you use pre/post scripts for Linux VM backups. |
26 |
| -- If you use read/write host caching and your workload is sensitive to cached data not being flushed before backup. |
| 63 | +10. On the **Change Backup Policy** blade, change the backup policy to the new one you created, verify that it has the Consistency type set to Crash consistent, and then select **Change**. |
27 | 64 |
|
28 |
| -## Pricing for agentless multi-disk crash-consistent backup |
| 65 | + A **Modifying protection** notification and a **Configure backup** job in your vault for the VM is triggered. Monitor the notification or job to check if the crash-consistent backup policy is added successfully. |
29 | 66 |
|
30 |
| -During preview, Azure VMs backed up with multi-disk crash consistent type is charged for 0.5 protected instance (PI) and the backup storage consumed. |
| 67 | +### Option 2: Modify the backup policy to change from application/file-system consistent backup to crash consistent backup |
31 | 68 |
|
32 |
| -## Supported scenarios for agentless multi-disk crash consistent VM backup (preview) |
| 69 | +If you don't want to create a new policy and move specific VMs, edit the **Consistency type** option in the existing policy. |
33 | 70 |
|
34 |
| -[!INCLUDE [backup-azure-agentless-multi-disk-crash-consistent-vm-backup-support-scenarios.md](../../includes/backup-azure-agentless-multi-disk-crash-consistent-vm-backup-support-scenarios.md)] |
| 71 | +Follow these steps: |
35 | 72 |
|
| 73 | +1. Go to the *Recovery Services vault*, select **Backup policies**, and then choose an existing policy. |
36 | 74 |
|
| 75 | +2. On the **Modify policy** blade, select **Associated Items**. |
| 76 | + |
| 77 | + >[!Note] |
| 78 | + >Ensure that all the VMs in the policy are supported for crash-consistent backups. Learn about the [supported scenarios](backup-azure-vms-agentless-multi-disk-crash-consistent.md#supported-scenarios-for-agentless-multi-disk-crash-consistent-vm-backup-preview). |
| 79 | +
|
| 80 | +3. Go to the **Modify policy** blade, and set the **Consistency type** to **Only crash consistent snapshot (Preview)**, and then select **Update**. |
| 81 | + |
| 82 | + |
| 83 | + You can monitor the *Modify backup policy* job on the **Backup jobs** blade. The *Configure backup jobs* triggered for each VM in the policy appear. |
37 | 84 | >[!Note]
|
38 |
| ->Multi-disk crash consistency might not succeed for disks configured with read or write host caching because writes that occur while the snapshot is taken might not be acknowledged by Azure Storage. If you need to maintain consistency, we recommend that you use the application-consistent backups. |
| 85 | +>If the job fails for an unsupported VM, revert the policy to opt out of crash-consistent backup and retry the update after you remove all unsupported VMs from the policy. |
| 86 | +
|
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | +. |
39 | 102 |
|
40 | 103 | ## Next steps
|
41 | 104 |
|
|
0 commit comments