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
description: Learn how to restore Azure Managed Disks using Azure CLI.
4
4
ms.topic: how-to
5
5
ms.custom: devx-track-azurecli
6
-
ms.date: 07/30/2024
6
+
ms.date: 04/23/2025
7
7
author: jyothisuri
8
8
ms.author: jsuri
9
9
---
10
10
11
11
# Restore Azure Managed Disks using Azure CLI
12
12
13
-
This article describes how to restore [Azure Managed Disks](/azure/virtual-machines/managed-disks-overview) from a restore point created by Azure Backup using Azure CLI.
13
+
This article describes how to restore [Azure Managed Disks](/azure/virtual-machines/managed-disks-overview) from a restore point created by Azure Backup using Azure CLI. You can also [restore Managed Disk using REST API](backup-azure-dataprotection-use-rest-api-restore-disks.md).
14
14
15
15
> [!IMPORTANT]
16
16
> Support for Azure Managed Disks backup and restore via CLI is in preview and available as an extension in Az 2.15.0 version and later. The extension is automatically installed when you run the **az dataprotection** commands. [Learn more](/cli/azure/azure-cli-extensions-overview) about extensions.
@@ -27,7 +27,7 @@ Backup vault uses managed identity to access other Azure resources. To restore f
27
27
28
28
Backup vault uses a system-assigned managed identity, which is restricted to one per resource and is tied to the lifecycle of this resource. You can grant permissions to the managed identity by using the Azure role-based access control (Azure RBAC). Managed identity is a service principal of a special type that may only be used with Azure resources. Learn more about [Managed Identities](../active-directory/managed-identities-azure-resources/overview.md).
29
29
30
-
Assign the relevant permissions for vault's system-assigned managed identity on the target resource group where the disks will be restored/created as mentioned [here](restore-managed-disks.md#restore-to-create-a-new-disk).
30
+
Assign the relevant permissions for vault's system-assigned managed identity on the target resource group where the disks should be restored/created as mentioned [here](restore-managed-disks.md#restore-to-create-a-new-disk).
31
31
32
32
### Fetching the relevant recovery point
33
33
@@ -181,7 +181,7 @@ az dataprotection recovery-point list --backup-instance-name diskrg-CLITestDisk-
181
181
182
182
### Preparing the restore request
183
183
184
-
Construct the ARM ID of the new disk to be created with the target resource group, to which permissions were assigned as detailed [above](#setting-up-permissions), and the required disk name. We'll use an example of a disk named _CLITestDisk2_, under a resource group _targetrg_, under a different subscription.
184
+
Construct the ARM ID of the new disk to be created with the target resource group, to which permissions were assigned as detailed [above](#setting-up-permissions), and the required disk name. Let's use an example of a disk named _CLITestDisk2_, under a resource group _targetrg_, under a different subscription.
description: Learn how to restore Azure Managed Disks using Azure PowerShell.
4
4
ms.topic: how-to
5
5
ms.custom: devx-track-azurepowershell
6
-
ms.date: 07/30/2024
6
+
ms.date: 04/23/2025
7
7
author: jyothisuri
8
8
ms.author: jsuri
9
9
---
10
10
11
11
# Restore Azure Managed Disks using Azure PowerShell
12
12
13
-
This article explains how to restore [Azure Managed Disks](/azure/virtual-machines/managed-disks-overview) from a restore point created by Azure Backup.
13
+
This article describes how to restore [Azure Managed Disks](/azure/virtual-machines/managed-disks-overview) from a restore point created by Azure Backup. You can also [restore Managed Disk using REST API](backup-azure-dataprotection-use-rest-api-restore-disks.md).
14
14
15
15
Currently, the Original-Location Recovery (OLR) option of restoring by replacing existing the source disk from where the backups were taken isn't supported. You can restore from a recovery point to create a new disk either in the same resource group as that of the source disk from where the backups were taken or in any other resource group. This is known as Alternate-Location Recovery (ALR) and this helps to keep both the source disk and the restored (new) disk.
Copy file name to clipboardExpand all lines: articles/backup/restore-managed-disks.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,14 @@
2
2
title: Restore Azure Managed Disks
3
3
description: Learn how to restore Azure Managed Disks from the Azure portal.
4
4
ms.topic: how-to
5
-
ms.date: 07/18/2024
5
+
ms.date: 04/23/2025
6
6
author: jyothisuri
7
7
ms.author: jsuri
8
8
---
9
9
10
10
# Restore Azure Managed Disks
11
11
12
-
This article explains how to restore [Azure Managed Disks](/azure/virtual-machines/managed-disks-overview) from a restore point created by Azure Backup.
12
+
This article describes how to restore [Azure Managed Disks](/azure/virtual-machines/managed-disks-overview) from a restore point created by Azure Backup. You can also [restore Managed Disk using REST API](backup-azure-dataprotection-use-rest-api-restore-disks.md).
13
13
14
14
Currently, the Original-Location Recovery (OLR) option of restoring by replacing existing the source disk from where the backups were taken isn't supported. You can restore from a recovery point to create a new disk either in the same resource group as that of the source disk from where the backups were taken or in any other resource group. This is known as Alternate-Location Recovery (ALR) and this helps to keep both the source disk and the restored (new) disk.
0 commit comments