File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 2
2
title : Tutorial - Restore a VM with Azure CLI
3
3
description : Learn how to restore a disk and create a recover a VM in Azure with Backup and Recovery Services.
4
4
ms.topic : tutorial
5
- ms.date : 04/25 /2022
5
+ ms.date : 10/28 /2022
6
6
ms.custom : mvc, devx-track-azurecli
7
7
author : v-amallick
8
8
ms.service : backup
@@ -346,9 +346,15 @@ az backup restore restore-disks \
346
346
--vault-name myRecoveryServicesVault \
347
347
--container-name myVM \
348
348
--item-name myVM \
349
- --restore-mode OriginalLocation
349
+ --restore-mode OriginalLocation \
350
350
--storage-account mystorageaccount \
351
- --rp-name myRecoveryPointName \
351
+
352
+ --target-resource-group "Target_RG" \
353
+ --rp-name myRecoveryPointName \
354
+ --target-vm-name "TargetVirtualMachineName" \
355
+ --target-vnet-name "Target_VNet" \
356
+ --target-vnet-resource-group "Target_VNet_RG" \
357
+ --target-subnet-name "targetSubNet"
352
358
```
353
359
354
360
``` output
You can’t perform that action at this time.
0 commit comments