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/tutorial-backup-azure-vm.md
+6-14Lines changed: 6 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: 'Tutorial: Multiple Azure VM backup with PowerShell'
3
3
description: This tutorial details backing up multiple Azure VMs to a Recovery Services vault using Azure PowerShell.
4
4
ms.topic: tutorial
5
-
ms.date: 03/05/2019
5
+
ms.date: 04/30/2025
6
6
ms.custom: mvc, devx-track-azurepowershell
7
7
author: jyothisuri
8
8
ms.author: jsuri
@@ -14,15 +14,7 @@ ms.author: jsuri
14
14
15
15
This tutorial describes how to deploy an [Azure Backup](backup-overview.md) Recovery Services vault to back up multiple Azure VMs using PowerShell.
16
16
17
-
In this tutorial you learn how to:
18
-
19
-
> [!div class="checklist"]
20
-
>
21
-
> * Create a Recovery Services vault and set the vault context.
22
-
> * Define a backup policy
23
-
> * Apply the backup policy to protect multiple virtual machines
24
-
> * Trigger an on-demand backup job for the protected virtual machines
25
-
Before you can back up (or protect) a virtual machine, you must complete the [prerequisites](backup-azure-arm-vms-prepare.md) to prepare your environment for protecting your VMs.
17
+
Before you back up (or protect) a virtual machine, complete the [prerequisites](backup-azure-arm-vms-prepare.md) to prepare your environment for protecting your VMs.
26
18
27
19
> [!IMPORTANT]
28
20
> This tutorial assumes you've already created a resource group and an Azure virtual machine.
@@ -48,7 +40,7 @@ A [Recovery Services vault](backup-azure-recovery-services-vault-overview.md) is
48
40
* In this tutorial, you create the vault in the same resource group and location as the VM you want to back up.
49
41
* Azure Backup automatically handles storage for backed up data. By default the vault uses [Geo-Redundant Storage (GRS)](../storage/common/storage-redundancy.md#geo-redundant-storage). Geo-redundancy ensures that backed up data is replicated to a secondary Azure region, hundreds of miles away from the primary region.
50
42
51
-
Create the vault as follows:
43
+
To create the vault, run the following cmdlets:
52
44
53
45
1. Use the [New-AzRecoveryServicesVault](/powershell/module/az.recoveryservices/new-azrecoveryservicesvault) to create the vault. Specify the resource group name and location of the VM you want to back up.
54
46
@@ -78,7 +70,7 @@ Backups run in accordance with the schedule specified in the backup policy. When
78
70
* The default protection policy triggers a backup job once a day at a specified time.
79
71
* The default retention policy retains the daily recovery point for 30 days.
80
72
81
-
To enable and backup up the Azure VM in this tutorial, we do the following:
73
+
To enable and backup up the Azure VM, follow these steps:
82
74
83
75
1. Specify a container in the vault that holds your backup data with [Get-AzRecoveryServicesBackupContainer](/powershell/module/az.recoveryservices/get-Azrecoveryservicesbackupcontainer).
84
76
2. Each VM for backup is an item. To start a backup job, you obtain information about the VM with [Get-AzRecoveryServicesBackupItem](/powershell/module/az.recoveryservices/Get-AzRecoveryServicesBackupItem).
0 commit comments