Skip to content

Commit e4905cd

Browse files
committed
changed vm backup for move
1 parent 5606984 commit e4905cd

File tree

1 file changed

+28
-6
lines changed

1 file changed

+28
-6
lines changed

articles/azure-resource-manager/management/move-limitations/virtual-machines-move-limitations.md

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Move Azure VMs to new subscription or resource group
33
description: Use Azure Resource Manager to move virtual machines to a new resource group or subscription.
44
ms.topic: conceptual
5-
ms.date: 10/10/2019
5+
ms.date: 03/31/2020
66
---
77

88
# Move guidance for virtual machines
@@ -22,18 +22,40 @@ The following scenarios aren't yet supported:
2222

2323
## Virtual machines with Azure Backup
2424

25-
To move virtual machines configured with Azure Backup, use the following workaround:
25+
To move virtual machines configured with Azure Backup, you must delete the restore points from the vault.
26+
27+
If [soft delete](../../../backup/backup-azure-security-feature-cloud.md) is enabled for your virtual machine, you can't move the virtual machine while those restore points are kept. Either [disable soft delete](../../../backup/backup-azure-security-feature-cloud.md#disabling-soft-delete) or wait 14 days after deleting the restore points.
28+
29+
### Portal
30+
31+
1. Select the virtual machine that is configured for backup.
32+
33+
1. In the left pane, select **Backup**.
34+
35+
1. Select **Stop backup**.
36+
37+
1. Select **Delete back data**.
38+
39+
1. After delete is complete, you can move the vault and virtual machine to the target subscription. After the move, you can continue backups.
40+
41+
### PowerShell
2642

2743
* Find the location of your Virtual Machine.
2844
* Find a resource group with the following naming pattern: `AzureBackupRG_<location of your VM>_1` for example, AzureBackupRG_westus2_1
29-
* If in Azure portal, then check "Show hidden types"
3045
* If in PowerShell, use the `Get-AzResource -ResourceGroupName AzureBackupRG_<location of your VM>_1` cmdlet
46+
* Find the resource with type `Microsoft.Compute/restorePointCollections` that has the naming pattern `AzureBackup_<name of your VM that you're trying to move>_###########`
47+
* Delete this resource. This operation deletes only the instant recovery points, not the backed-up data in the vault.
48+
49+
### Azure CLI
50+
51+
* Find the location of your Virtual Machine.
52+
* Find a resource group with the following naming pattern: `AzureBackupRG_<location of your VM>_1` for example, AzureBackupRG_westus2_1
3153
* If in CLI, use the `az resource list -g AzureBackupRG_<location of your VM>_1`
3254
* Find the resource with type `Microsoft.Compute/restorePointCollections` that has the naming pattern `AzureBackup_<name of your VM that you're trying to move>_###########`
3355
* Delete this resource. This operation deletes only the instant recovery points, not the backed-up data in the vault.
34-
* After delete is complete, you can move the vault and virtual machine to the target subscription. After the move, you can continue backups with no loss in data.
35-
* For information about moving Recovery Service vaults for backup, see [Recovery Services limitations](../../../backup/backup-azure-move-recovery-services-vault.md?toc=/azure/azure-resource-manager/toc.json).
3656

3757
## Next steps
3858

39-
For commands to move resources, see [Move resources to new resource group or subscription](../move-resource-group-and-subscription.md).
59+
* For commands to move resources, see [Move resources to new resource group or subscription](../move-resource-group-and-subscription.md).
60+
61+
* For information about moving Recovery Service vaults for backup, see [Recovery Services limitations](../../../backup/backup-azure-move-recovery-services-vault.md?toc=/azure/azure-resource-manager/toc.json).

0 commit comments

Comments
 (0)