Skip to content

Commit 93db2d8

Browse files
Merge pull request #308781 from AbhishekMallick-MS/Nov-26-2025-AiOptimization
AI optimization - Azure VM backup using PS
2 parents 018b0cd + cf1166e commit 93db2d8

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

articles/backup/backup-azure-vms-automation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Back up and recover Azure VMs with PowerShell
33
description: Describes how to back up and recover Azure VMs using Azure Backup with PowerShell
44
ms.topic: how-to
5-
ms.date: 12/03/2024
5+
ms.date: 11/26/2025
66
ms.custom: devx-track-azurepowershell, engagement-fy24
77
ms.service: azure-backup
88
author: AbhishekMallick-MS
@@ -32,7 +32,7 @@ The object hierarchy is summarized in the following diagram.
3232

3333
Review the **Az.RecoveryServices** [cmdlet reference](/powershell/module/az.recoveryservices/) reference in the Azure library.
3434

35-
## Set up and register
35+
## Set up Azure PowerShell for Azure VM backup
3636

3737
[!INCLUDE [updated-for-az](~/reusable-content/ce-skilling/azure/includes/updated-for-az.md)]
3838

@@ -75,7 +75,7 @@ To begin:
7575
7676
In the command output, the **RegistrationState** should change to **Registered**. If not, just run the **[Register-AzResourceProvider](/powershell/module/az.resources/register-azresourceprovider)** cmdlet again.
7777
78-
## Create a Recovery Services vault
78+
## Create a Recovery Services vault for Azure VM backup
7979
8080
The following steps lead you through creating a Recovery Services vault. A Recovery Services vault is different than a Backup vault.
8181
@@ -256,7 +256,7 @@ Enable-AzRecoveryServicesBackupProtection -Policy $pol -Name "V2VM" -ResourceGro
256256
257257
If you want to selectively back up a few disks and exclude others as mentioned in [these scenarios](selective-disk-backup-restore.md#scenarios), you can configure protection and backup only the relevant disks as documented [here](selective-disk-backup-restore.md#enable-backup-with-powershell).
258258

259-
## Monitoring a backup job
259+
## Monitor an Azure VM backup job
260260

261261
You can monitor long-running operations, such as backup jobs, without using the Azure portal. To get the status of an in-progress job, use the [Get-AzRecoveryservicesBackupJob](/powershell/module/az.recoveryservices/get-azrecoveryservicesbackupjob) cmdlet. This cmdlet gets the backup jobs for a specific vault, and that vault is specified in the vault context. The following example gets the status of an in-progress job as an array, and stores the status in the $joblist variable.
262262

articles/backup/backup-support-automation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Automation in Azure Backup support matrix
33
description: This article summarizes automation tasks related to Azure Backup support.
4-
ms.date: 10/17/2025
4+
ms.date: 11/26/2025
55
ms.topic: reference
66
ms.service: azure-backup
77
author: AbhishekMallick-MS
@@ -31,7 +31,7 @@ You can automate most backup related tasks using programmatic methods in Azure
3131
| Restore | Create a VM from restored disks | Supported <br><br> [See the examples](./backup-azure-vms-automation.md#using-managed-identity-to-restore-disks). | Supported <br><br> [See the examples](./tutorial-restore-disk.md#using-managed-identity-to-restore-disks). | Supported <br><br> [See the examples](/rest/api/backup/restores/trigger). | N/A | N/A | N/A | N/A |
3232
| Restore | Restore files | Supported <br><br> [See the examples](./backup-azure-vms-automation.md#create-a-vm-from-restored-disks). | Supported <br><br> [See the examples](./tutorial-restore-disk.md#create-a-vm-from-the-restored-disk). | Supported <br><br> [See the examples](./backup-azure-arm-userestapi-restoreazurevms.md#restore-disks). | N/A | N/A | N/A | N/A |
3333
| Manage | Monitor jobs | Supported <br><br> [See the examples](./backup-azure-vms-automation.md#restore-files-from-an-azure-vm-backup). | Supported <br><br> [See the examples](./tutorial-restore-files.md). | N/A | N/A | N/A | N/A |
34-
| Manage | Modify backup policy | Supported <br><br> [See the examples](./backup-azure-vms-automation.md#monitoring-a-backup-job). | Supported <br><br> [See the examples](./quick-backup-vm-cli.md#monitor-the-backup-job). | Supported <br><br> [See the examples](./backup-azure-arm-userestapi-managejobs.md#track-the-job). | N/A | N/A | N/A | N/A |
34+
| Manage | Modify backup policy | Supported <br><br> [See the examples](./backup-azure-vms-automation.md#monitor-an-azure-vm-backup-job). | Supported <br><br> [See the examples](./quick-backup-vm-cli.md#monitor-the-backup-job). | Supported <br><br> [See the examples](./backup-azure-arm-userestapi-managejobs.md#track-the-job). | N/A | N/A | N/A | N/A |
3535
| Manage | Stop protection and retain backup data | Supported <br><br> [See the examples](./backup-azure-vms-automation.md#retain-data). | Supported <br><br> [See the examples](/cli/azure/backup/protection#az-backup-protection-disable). | Supported <br><br> [See the examples](./backup-azure-arm-userestapi-backupazurevms.md#stop-protection-but-retain-existing-data). | N/A | N/A | N/A | N/A |
3636
| Manage | Stop protection and delete backup data | Supported <br><br> [See the examples](./backup-azure-vms-automation.md#delete-backup-data). | Supported <br><br> [See the examples](/cli/azure/backup/protection#az-backup-protection-disable). | Supported <br><br> [See the examples](./backup-azure-arm-userestapi-backupazurevms.md#stop-protection-and-delete-data). | N/A | N/A | N/A | N/A |
3737
| Manage | Resume protection | Supported <br><br> [See the examples](./backup-azure-vms-automation.md#resume-backup). | Supported <br><br> [See the examples](/cli/azure/backup/protection#az-backup-protection-resume). | Supported <br><br> [See the examples](./backup-azure-arm-userestapi-backupazurevms.md#undo-the-deletion) | N/A | N/A | N/A | N/A |
@@ -124,7 +124,7 @@ You can automate most backup related tasks using programmatic methods in Azure
124124

125125
| **Category** | **Operation** | **PowerShell** | **CLI** | **REST API** | **Azure Policy** | **ARM Template** |
126126
| --- | --- | --- | --- | --- | --- | --- |
127-
| Manage | Create Recovery Services vault | Supported <br><br> [See the examples](./backup-azure-vms-automation.md#create-a-recovery-services-vault). | Supported <br><br> [See the examples](./quick-backup-vm-cli.md#create-a-recovery-services-vault). | Supported <br><br> [See the examples](./backup-azure-arm-userestapi-createorupdatevault.md). | N/A | Supported <br><br> [See the examples](./backup-rm-template-samples.md). |
127+
| Manage | Create Recovery Services vault | Supported <br><br> [See the examples](./backup-azure-vms-automation.md#create-a-recovery-services-vault-for-azure-vm-backup). | Supported <br><br> [See the examples](./quick-backup-vm-cli.md#create-a-recovery-services-vault). | Supported <br><br> [See the examples](./backup-azure-arm-userestapi-createorupdatevault.md). | N/A | Supported <br><br> [See the examples](./backup-rm-template-samples.md). |
128128
| Manage | Create Backup vault | Supported <br><br> [See the examples](./backup-blobs-storage-account-ps.md#create-a-backup-vault). | Supported <br><br> [See the examples](./backup-blobs-storage-account-cli.md#create-a-backup-vault). | Supported <br><br> [See the examples](./backup-azure-dataprotection-use-rest-api-create-update-backup-vault.md). | N/A | Supported |
129129
| Manage | Move Recovery Services vault | Supported <br><br> [See the examples](./backup-azure-move-recovery-services-vault.md#use-powershell-to-move-recovery-services-vault). | Supported <br><br> [See the examples](./backup-azure-move-recovery-services-vault.md#use-powershell-to-move-recovery-services-vault). | Supported | N/A | N/A |
130130
| Manage | Move Backup vault | Supported | Supported | Supported | N/A | N/A |

0 commit comments

Comments
 (0)