You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/backup/backup-instant-restore-capability.md
+39-32Lines changed: 39 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,59 +1,63 @@
1
1
---
2
2
title: Azure Instant Restore Capability
3
3
description: Azure Instant Restore Capability and FAQs for VM backup stack, Resource Manager deployment model
4
-
ms.reviewer: sogup
5
4
ms.topic: conceptual
6
-
ms.date: 07/20/2023
5
+
ms.date: 04/03/2024
7
6
author: AbhishekMallick-MS
8
7
ms.author: v-abhmallick
9
8
---
10
9
11
10
# Get improved backup and restore performance with Azure Backup Instant Restore capability
12
11
13
-
> [!NOTE]
14
-
> Based on feedback from users, we've renamed **VM backup stack V2** to **Instant Restore** to reduce confusion with Azure Stack functionality.
15
-
> All Azure Backup users have now been upgraded to **Instant Restore**.
12
+
This article describes the improved backup and restore performance of Instant Restore capability in Azure Backup.
13
+
14
+
## Key capabilities
16
15
17
-
The new model for Instant Restore provides the following feature enhancements:
16
+
The Instant Restore feature provides the following capabilities:
18
17
19
18
* Ability to use snapshots taken as part of a backup job that's available for recovery without waiting for data transfer to the vault to finish. It reduces the wait time for snapshots to copy to the vault before triggering restore.
20
-
* Reduces backup and restore times by retaining snapshots locally, for two daysby default. This default snapshot retention value is configurable to any value between 1 to 5 days.
19
+
* Reduces backup and restore times by retaining snapshots locally, for *two days* using Standard policy and for *seven days* using Enhanced policy by default. This default snapshot retention value is configurable to any value between 1 to 5 days for Standard policy and 1 to 30 days for Enhanced policy.
21
20
* Supports disk sizes up to 32 TB. Resizing of disks isn't recommended by Azure Backup.
22
-
*Supports Standard SSD disks along with Standard HDD disks and Premium SSD disks.
21
+
*Standard policy supports Standard SSD disks along with Standard HDD disks and Premium SSD disks. Enhanced policy supports backup and instant restore of Premium SSD v2 and Ultra Disks, in addition to standard HDD, standard SSD, and Premium SSD v1 disks.
23
22
* Ability to use an unmanaged VMs original storage accounts (per disk), when restoring. This ability exists even when the VM has disks that are distributed across storage accounts. It speeds up restore operations for a wide variety of VM configurations.
24
23
* For backup of VMs that are using unmanaged premium disks in storage accounts, with Instant Restore, we recommend allocating *50%* free space of the total allocated storage space, which is required **only** for the first backup. The 50% free space isn't a requirement for backups after the first backup is complete.
25
24
26
-
## What's new in this feature
25
+
## How Instant Restore works?
27
26
28
-
Currently, the backup job consists of two phases:
27
+
A backup job consists of two phases:
29
28
30
29
1. Taking a VM snapshot.
31
30
2. Transferring a VM snapshot to the Azure Recovery Services vault.
32
31
33
-
A recovery point is considered created only after phases 1 and 2 are completed. As a part of this upgrade, a recovery point is created as soon as the snapshot is finished and this recovery point of snapshot type can be used to perform a restore using the same restore flow. You can identify this recovery point in the Azure portal by using “snapshot” as the recovery point type, and after the snapshot is transferred to the vault, the recovery point type changes to “snapshot and vault”.
34
-
35
-

32
+
A recovery point is created as soon as the snapshot is finished and this recovery point of snapshot type can be used to perform a restore using the same restore flow. You can identify this recovery point in the Azure portal by using *snapshot* as the recovery point type, and after the snapshot is transferred to the vault, the recovery point type changes to *snapshot and vault*.
36
33
37
-
By default, snapshots are retained for two days. This feature allows restore operation from these snapshots there by cutting down the restore times. It reduces the time required to transform and copy data back from the vault.
34
+
:::image type="content" source="./media/backup-azure-vms/instant-rp-flow.png" alt-text="Diagram shows the backup job in VM backup stack Resource Manager deployment model for storage and vault." lightbox="./media/backup-azure-vms/instant-rp-flow.png":::
38
35
39
36
## Feature considerations
40
37
41
-
* Snapshots are stored along with the disks to boost recovery point creation and to speed up restore operations. As a result, you'll see storage costs that correspond to snapshots taken during this period.
42
-
* Incremental snapshots are stored as page blobs. All the users using unmanaged disks are charged for the snapshots stored in their local storage account. Since the restore point collections used by Managed VM backups use blob snapshots at the underlying storage level, for managed disks you'll see costs corresponding to blob snapshot pricing and they're incremental.
43
-
* For premium storage accounts, the snapshots taken for instant recovery points count towards the 10-TB limit of allocated space.
44
-
* You get an ability to configure the snapshot retention based on the restore needs. Depending on the requirement, you can set the snapshot retention to a minimum of one day in the backup policy pane as explained below. This will help you save cost for snapshot retention if you don’t perform restores frequently.
45
-
* It's a one directional upgrade. Once upgraded to Instant restore, you can't go back.
46
-
* When you use an Instant Restore recovery point, you must restore the VM or disks to a subscription and resource group that don't require CMK-encrypted disks via Azure Policy.
47
-
48
-
>[!NOTE]
49
-
>With this instant restore upgrade, the snapshot retention duration of all the customers (**new and existing both included**) will be set to a default value of two days. However, you can set the duration according to your requirement to any value between 1 to 5 days.
38
+
* The snapshots are stored along with the disks to boost recovery point creation and to speed up restore operations. As a result, you'll see storage costs that correspond to snapshots taken during this period.
39
+
* For standard policy, all snapshots are incremental in nature and are stored as page blobs. All the users using unmanaged disks are charged for the snapshots stored in their local storage account. Since the restore point collections used by Managed VM backups use blob snapshots at the underlying storage level, for managed disks you'll see costs corresponding to blob snapshot pricing and they're incremental.
40
+
* For premium storage accounts, the snapshots taken for instant recovery points count towards the 10-TB limit of allocated space. For Enhanced policy, only Managed VM backups are supported. The initial snapshot is a full copy of the disk(s). The subsequent snapshots are incremental in nature and occupy only delta changes to disks since the last snapshot.
41
+
When you use an Instant Restore recovery point, you must restore the VM or disks to a subscription and resource group that don't require CMK-encrypted disks via Azure Policy.
50
42
51
43
## Cost impact
52
44
53
-
The incremental snapshots are stored in the VM's storage account, which is used for instant recovery. Incremental snapshot means the space occupied by a snapshot is equal to the space occupied by pages that are written after the snapshot was created. Billing is still for the per GB used space occupied by the snapshot, and the price per GB is same as mentioned on the [pricing page](https://azure.microsoft.com/pricing/details/managed-disks/). For VMs that use unmanaged disks, the snapshots can be seen in the menu for the VHD file of each disk. For managed disks, snapshots are stored in a restore point collection resource in a designated resource group, and the snapshots themselves aren't directly visible.
45
+
Instant Restore feature for snapshots (stored along with the disks) boosts recovery point creation and speed up restore operations. This incurs additional storage costs for the corresponding snapshots taken during this period. The snapshot storage cost varies depending on the type of backup policy.
46
+
47
+
### Cost impact of standard policy
48
+
49
+
Standard policy uses blob snapshots for Instant Restore functionality. All snapshots are incremental in nature and stored in the VM's storage account, which is used for instant recovery. Incremental snapshot means the space occupied by a snapshot is equal to the space occupied by pages that are written after the snapshot was created. Billing is still for the per GB used space occupied by the snapshot as explained in [this section](../storage/blobs/snapshots-overview.md#pricing-and-billing). As an illustration, consider a VM with 100GB in size, change rate of 2% and retention of 5 days for Instant Restore. In this case, the snapshot storage billed will be 10GB (100* 0.02* 5).
50
+
51
+
For VMs that use unmanaged disks, the snapshots can be seen in the menu for the VHD file of each disk. For managed disks, snapshots are stored in a restore point collection resource in a designated resource group, and the snapshots themselves aren't directly visible.
52
+
53
+
### Cost impact of enhanced policy
54
+
55
+
Enhanced policy uses Managed disk snapshots for Instant Restore functionality. The initial snapshot is a full copy of the disk(s). The subsequent snapshots are incremental in nature and occupy only delta changes to disks since the last snapshot. Pricing for managed disk snapshots is explained in [this pricing page](https://azure.microsoft.com/pricing/details/managed-disks/).
56
+
57
+
For example, a VM with 100GB in size has a change rate of 2% and retention of 5 days for Instant Restore. In this case, the snapshot storage billed will be 108GB (100 + 100 X 0.02 X 4).
54
58
55
59
>[!NOTE]
56
-
> Snapshot retention is fixed to 5 days for weekly policies.
60
+
> Snapshot retention is fixed to 5 days for weekly policies for Standard policy and can vary between 5 to 20 days for enhanced policy.
57
61
58
62
## Configure snapshot retention
59
63
@@ -90,31 +94,34 @@ Yes, for premium storage accounts the snapshots taken for instant recovery point
90
94
91
95
### How does the snapshot retention work during the five-day period?
92
96
93
-
Each day a new snapshot is taken, then there are five individual incremental snapshots. The size of the snapshot depends on the data churn, which are in most cases around 2%-7%.
97
+
For Standard policy, each day a new snapshot is taken, then there are five individual incremental snapshots. The size of the snapshot depends on the data churn, which are in most cases around 2%-7%. For Enhanced policy, the initial snapshot is a full snapshot and subsequent snapshots are incremental in nature.
94
98
95
99
### Is an instant restore snapshot an incremental snapshot or full snapshot?
96
100
97
-
Snapshots taken as a part of instant restore capability are incremental snapshots.
101
+
For Standard policy, snapshots taken as a part of instant restore capability are incremental snapshots. For Enhanced policy, the initial snapshot is a full snapshot and subsequent snapshots are incremental in nature.
98
102
99
103
### How can I calculate the approximate cost increase due to instant restore feature?
100
104
101
-
It depends on the churn of the VM. In a steady state, you can assume the increase in cost is = Snapshot retention period daily churn per VM storage cost per GB.
105
+
It depends on the churn of the VM.
106
+
107
+
-**Standard policy**: In a steady state, you can assume the increase in cost is = Snapshot retention period daily churn per VM snapshot storage cost per GB.
108
+
-**Enhanced policy**: In a steady state, you can assume the increase in cost is = ((Size of VM) + (Snapshot retention period-1)*daily churn per VM) * snapshot storage cost per GB.
102
109
103
110
### If the recovery type for a restore point is “Snapshot and vault” and I perform a restore operation, which recovery type will be used?
104
111
105
112
If the recovery type is “snapshot and vault”, restore will be automatically done from the local snapshot, which will be much faster compared to the restore done from the vault.
106
113
107
-
### What happens if I select retention period of restore point (Tier 2) less than the snapshot (Tier1) retention period?
114
+
### What happens if I select retention period of restore point (Tier 2) less than the snapshot (Tier 1) retention period?
108
115
109
-
The new model doesn't allow deleting the restore point (Tier2) unless the snapshot (Tier1) is deleted. We recommend scheduling restore point (Tier2) retention period greater than the snapshot retention period.
116
+
The new model doesn't allow deleting the restore point (Tier 2) unless the snapshot (Tier 1) is deleted. We recommend scheduling restore point (Tier 2) retention period greater than the snapshot retention period.
110
117
111
118
### Why does my snapshot still exist, even after the set retention period in backup policy?
112
119
113
120
If the recovery point has a snapshot and it's the latest recovery point available, it's retained until the next successful backup. This is according to the designated "garbage collection" (GC) policy. It mandates that at least one latest recovery point always be present, in case all subsequent backups fail due to an issue in the VM. In normal scenarios, recovery points are cleaned up at most 24 hours after they expire. In rare scenarios, there might be one or two additional snapshots based on the heavier load on the garbage collector (GC).
114
121
115
122
### Why do I see more snapshots than my retention policy?
116
123
117
-
In a scenario where a retention policy is set as “1”, you can find two snapshots. This mandates that at least one latest recovery point always be present, in case all subsequent backups fail due to an issue in the VM. This can cause the presence of two snapshots.<br></br>So, if the policy is for "n" snapshots, you can find “n+1” snapshots at times. Further, you can even find “n+1+2” snapshots if there is a delay in garbage collection. This can happen at rare times when:
124
+
In a scenario where a retention policy is set as “1”, you can find two snapshots. This mandates that at least one latest recovery point always be present, in case all subsequent backups fail due to an issue in the VM. This can cause the presence of two snapshots.<br></br>So, if the policy is for "n" snapshots, you can find “n+1” snapshots at times. Further, you can even find “n+1+2” snapshots if there's a delay in garbage collection. This can happen at rare times when:
118
125
- You clean up snapshots, which are past retention.
119
126
- The garbage collector (GC) in the backend is under heavy load.
120
127
@@ -129,5 +136,5 @@ Instant restore feature is enabled for everyone and can't be disabled. You can r
129
136
130
137
### Is it safe to restart the VM during the transfer process (which can take many hours)? Will restarting the VM interrupt or slow down the transfer?
131
138
132
-
Yes it's safe, and there is absolutely no impact in data transfer speed.
139
+
Yes it's safe, and there's absolutely no impact in data transfer speed.
0 commit comments