Skip to content

Commit 5ad5e42

Browse files
Merge pull request #276384 from AbhishekMallick-MS/May-27-2024-Freshness
Freshness - Disk backup via REST
2 parents 9089478 + c45e255 commit 5ad5e42

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

articles/backup/backup-azure-dataprotection-use-rest-api-backup-disks.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
title: Back up Azure Disks using Azure Data Protection REST API.
33
description: In this article, learn how to configure, initiate, and manage backup operations of Azure Disks using REST API.
44
ms.topic: how-to
5-
ms.date: 05/30/2023
5+
ms.date: 05/27/2024
66
ms.assetid: 6050a941-89d7-4b27-9976-69898cc34cde
77
author: AbhishekMallick-MS
88
ms.author: v-abhmallick
9-
ms.custom: engagement-fy23
9+
ms.custom: engagement-fy24
1010
---
1111

1212
# 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
1919

2020
## Prerequisites
2121

22+
Before you back up disks, ensure that you:
23+
2224
- [Create a Backup vault](backup-azure-dataprotection-use-rest-api-create-update-backup-vault.md)
2325

2426
- [Create a disk backup policy](backup-azure-dataprotection-use-rest-api-create-update-disk-policy.md)
2527

2628
## Configure backup
2729

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.
3131

32-
#### Disk to be protected
32+
- Key entities
33+
- Permissions
3334

34-
Note the ARM ID and the location of the disk to be protected. This will serve as the identifier of the disk.
35+
### Key entities
3536

36-
```http
37-
"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx/resourcegroups/RG-DiskBackup/providers/Microsoft.Compute/disks/msdiskbackup"
38-
```
37+
Once the vault and policy are created, there are three critical points that you need to consider to protect an Azure Disk.
3938

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.
4140

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.
41+
```http
42+
"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx/resourcegroups/RG-DiskBackup/providers/Microsoft.Compute/disks/msdiskbackup"
43+
```
4344

44-
```http
45-
"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/snapshot-rg"
46-
```
45+
- **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.
4746

48-
#### Backup vault
47+
```http
48+
"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/snapshot-rg"
49+
```
4950

50-
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.
5152

5253
### Assign permissions
5354

5455
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).
5556

5657
### Prepare the request to configure backup
5758

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.
5960

6061
```json
6162
{

0 commit comments

Comments
 (0)