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-azure-dataprotection-use-rest-api-backup-disks.md
+19-18Lines changed: 19 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
title: Back up Azure Disks using Azure Data Protection REST API.
3
3
description: In this article, learn how to configure, initiate, and manage backup operations of Azure Disks using REST API.
4
4
ms.topic: how-to
5
-
ms.date: 05/30/2023
5
+
ms.date: 05/27/2024
6
6
ms.assetid: 6050a941-89d7-4b27-9976-69898cc34cde
7
7
author: AbhishekMallick-MS
8
8
ms.author: v-abhmallick
9
-
ms.custom: engagement-fy23
9
+
ms.custom: engagement-fy24
10
10
---
11
11
12
12
# Back up Azure Disks using Azure Data Protection via REST API
@@ -19,43 +19,44 @@ For information on the Azure Disk backup region availability, supported scenario
19
19
20
20
## Prerequisites
21
21
22
+
Before you back up disks, ensure that you:
23
+
22
24
-[Create a Backup vault](backup-azure-dataprotection-use-rest-api-create-update-backup-vault.md)
23
25
24
26
-[Create a disk backup policy](backup-azure-dataprotection-use-rest-api-create-update-disk-policy.md)
25
27
26
28
## Configure backup
27
29
28
-
### Key entities involved
29
-
30
-
Once the vault and policy are created, there are three critical points that you need to consider to protect an Azure Disk.
30
+
Once the vault and policy are created, there are two critical points that the user needs to consider to protect all Azure blobs within a storage account.
31
31
32
-
#### Disk to be protected
32
+
- Key entities
33
+
- Permissions
33
34
34
-
Note the ARM ID and the location of the disk to be protected. This will serve as the identifier of the disk.
Once the vault and policy are created, there are three critical points that you need to consider to protect an Azure Disk.
39
38
40
-
#### Snapshot resource group
39
+
-**Disk to be protected**: Note the ARM ID and the location of the disk to be protected. This will serve as the identifier of the disk.
41
40
42
-
The disk snapshots are stored in a resource group within your subscription. As a guideline, we recommend creating a dedicated resource group as a snapshot datastore to be used by the Azure Backup service. Having a dedicated resource group allows restricting access permissions on the resource group, providing safety and ease of management of the backup data. Note the ARM ID for the resource group where you wish to place the disk snapshots.
-**Snapshot resource group**: The disk snapshots are stored in a resource group within your subscription. As a guideline, we recommend creating a dedicated resource group as a snapshot datastore to be used by the Azure Backup service. Having a dedicated resource group allows restricting access permissions on the resource group, providing safety and ease of management of the backup data. Note the ARM ID for the resource group where you wish to place the disk snapshots.
The Backup vault requires permissions on the disk to enable backups. The system-assigned managed identity of the vault is used for assigning such permissions.
51
+
-**Backup vault**: The Backup vault requires permissions on the disk to enable backups. The system-assigned managed identity of the vault is used for assigning such permissions.
51
52
52
53
### Assign permissions
53
54
54
55
You need to assign a few permissions via RBAC to the vault (represented by vault MSI) and the relevant disk and/or the disk RG. These can be performed via Azure portal or CLI. To assign related permissions, see the [prerequisites to configure backup of managed disks](./backup-managed-disks-ps.md#assign-permissions).
55
56
56
57
### Prepare the request to configure backup
57
58
58
-
Once the relevant permissions are set to the vault and the disk, and the vault and policy are configured, we can prepare the request to configure backup. The following is the request body to configure backup for an Azure Disk. The Azure Resource Manager ID (ARM ID) of the Azure Disk and its details are mentioned in the `datasourceinfo` section and the policy information is present in the `policyinfo` section where the snapshot resource group is provided as one of the policy parameters.
59
+
Once the relevant permissions are set to the vault and the disk, and the vault and policy are configured, prepare the request to configure backup. The following is the request body to configure backup for an Azure Disk. The Azure Resource Manager ID (ARM ID) of the Azure Disk and its details are mentioned in the `datasourceinfo` section and the policy information is present in the `policyinfo` section where the snapshot resource group is provided as one of the policy parameters.
0 commit comments