Skip to content

Commit 570df56

Browse files
authored
Merge pull request #93699 from dcurwin/dcurwin-oct27
Fixed title length and other minor edits
2 parents 8ed5541 + c46c44f commit 570df56

29 files changed

+467
-414
lines changed

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

Lines changed: 42 additions & 41 deletions
Large diffs are not rendered by default.

articles/backup/backup-azure-arm-restore-vms.md

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Azure Backup: Restore virtual machines by using the Azure portal'
2+
title: 'Azure Backup: Restore VMs by using the Azure portal'
33
description: Restore an Azure virtual machine from a recovery point by using the Azure portal
44
ms.reviewer: geg
55
author: dcurwin
@@ -14,8 +14,6 @@ ms.author: dacurwin
1414

1515
This article describes how to restore Azure VM data from the recovery points stored in [Azure Backup](backup-overview.md) Recovery Services vaults.
1616

17-
18-
1917
## Restore options
2018

2119
Azure Backup provides a number of ways to restore a VM.
@@ -26,7 +24,6 @@ Azure Backup provides a number of ways to restore a VM.
2624
**Restore disk** | Restores a VM disk, which can then be used to create a new VM.<br/><br/> Azure Backup provides a template to help you customize and create a VM. <br/><br> The restore job generates a template that you can download and use to specify custom VM settings, and create a VM.<br/><br/> The disks are copied to the storage account you specify.<br/><br/> Alternatively, you can attach the disk to an existing VM, or create a new VM using PowerShell.<br/><br/> This option is useful if you want to customize the VM, add configuration settings that weren't there at the time of backup, or add settings that must be configured using the template or PowerShell.
2725
**Replace existing** | You can restore a disk, and use it to replace a disk on the existing VM.<br/><br/> The current VM must exist. If it's been deleted, this option can't be used.<br/><br/> Azure Backup takes a snapshot of the existing VM before replacing the disk, and stores it in the staging location you specify. Existing disks connected to the VM are replaced with the selected restore point.<br/><br/> The snapshot is copied to the vault, and retained in accordance with the retention policy. <br/><br/> Replace existing is supported for unencrypted managed VMs. It's not supported for unmanaged disks, [generalized VMs](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource), or for VMs [created using custom images](https://azure.microsoft.com/resources/videos/create-a-custom-virtual-machine-image-in-azure-resource-manager-with-powershell/).<br/><br/> If the restore point has more or less disks than the current VM, then the number of disks in the restore point will only reflect the VM configuration.<br/><br/>
2826

29-
3027
> [!NOTE]
3128
> You can also recover specific files and folders on an Azure VM. [Learn more](backup-azure-restore-files-from-vm.md).
3229
>
@@ -41,20 +38,17 @@ Some details about storage accounts:
4138
- **Replace disk**: When you replace a disk on an existing VM, Azure Backup takes a snapshot of the existing VM before replacing the disk. The snapshot is stored in the staging location (storage account) you specify. This storage account is used to temporarily store the snapshot during the restore process, and we recommend that you create a new account to do this, that can be easily removed afterwards.
4239
- **Storage account location**: The storage account must be in the same region as the vault. Only these accounts are displayed. If there are no storage accounts in the location, you need to create one.
4340
- **Storage type**: Blob storage isn't supported.
44-
- **Storage redundancy**: Zone redundant storage (ZRS) isn't supported. The replication and redundancy information for the account is shown in parentheses after the account name.
41+
- **Storage redundancy**: Zone redundant storage (ZRS) isn't supported. The replication and redundancy information for the account is shown in parentheses after the account name.
4542
- **Premium storage**:
46-
- When restoring non-premium VMs, premium storage accounts aren't supported.
47-
- When restoring managed VMs, premium storage accounts configured with network rules aren't supported.
48-
43+
- When restoring non-premium VMs, premium storage accounts aren't supported.
44+
- When restoring managed VMs, premium storage accounts configured with network rules aren't supported.
4945

5046
## Before you start
5147

5248
To restore a VM (create a new VM), make sure you have the correct role-based access control (RBAC) [permissions](backup-rbac-rs-vault.md#mapping-backup-built-in-roles-to-backup-management-actions) for the Restore VM operation.
5349

5450
If you don't have permissions, you can [restore a disk](#restore-disks), and then after the disk is restored, you can [use the template](#use-templates-to-customize-a-restored-vm) that was generated as part of the restore operation to create a new VM.
5551

56-
57-
5852
## Select a restore point
5953

6054
1. In the vault associated with the VM you want to restore, click **Backup items** > **Azure Virtual Machine**.
@@ -89,7 +83,6 @@ As one of the [restore options](#restore-options), you can create a VM quickly w
8983

9084
6. In **Restore configuration**, select **OK**. In **Restore**, click **Restore** to trigger the restore operation.
9185

92-
9386
## Restore disks
9487

9588
As one of the [restore options](#restore-options), you can create a disk from a restore point. Then with the disk, you can do one of the following:
@@ -129,7 +122,6 @@ After the disk is restored, use the template that was generated as part of the r
129122

130123
![Submit template deployment](./media/backup-azure-arm-restore-vms/submitting-template1.png)
131124

132-
133125
## Replace existing disks
134126

135127
As one of the [restore options](#restore-options), you can replace an existing VM disk with the selected restore point. [Review](#restore-options) all restore options.
@@ -140,7 +132,6 @@ As one of the [restore options](#restore-options), you can replace an existing V
140132

141133
![Restore configuration wizard Replace Existing](./media/backup-azure-arm-restore-vms/restore-configuration-replace-existing.png)
142134

143-
144135
## Restore VMs with special configurations
145136

146137
There are a number of common scenarios in which you might need to restore VMs.
@@ -158,6 +149,7 @@ There are a number of common scenarios in which you might need to restore VMs.
158149
**Zone Pinned VMs** | Azure Backup supports backup and restore of zoned pinned VMs. [Learn more](https://azure.microsoft.com/global-infrastructure/availability-zones/)
159150

160151
## Track the restore operation
152+
161153
After you trigger the restore operation, the backup service creates a job for tracking. Azure Backup displays notifications about the job in the portal. If they aren't visible, select the **Notifications** symbol, and then select **View all Jobs** to see the Restore Process Status.
162154

163155
![Restore triggered](./media/backup-azure-arm-restore-vms/restore-notification1.png)
@@ -182,24 +174,25 @@ There are a number of things to note after restoring a VM:
182174
- If the backed-up VM had a static IP address, the restored VM will have a dynamic IP address to avoid conflict. You can [add a static IP address to the restored VM](../virtual-network/virtual-networks-reserved-private-ip.md#how-to-add-a-static-internal-ip-to-an-existing-vm).
183175
- A restored VM doesn't have an availability set. If you use the restore disk option, then you can [specify an availability set](../virtual-machines/windows/tutorial-availability-sets.md) when you create a VM from the disk using the provided template or PowerShell.
184176
- If you use a cloud-init-based Linux distribution, such as Ubuntu, for security reasons the password is blocked after the restore. Use the VMAccess extension on the restored VM to [reset the password](../virtual-machines/linux/reset-password.md). We recommend using SSH keys on these distributions, so you don't need to reset the password after the restore.
185-
- If you are unable to access VM once restored due to VM having broken relationship with domain controller then follow the below steps to bring up the VM:
186-
- Attach OS disk as a data disk to a recovered VM.
187-
- Manually install VM agent if Azure Agent is found to be unresponsive by following this [link](https://docs.microsoft.com/azure/virtual-machines/troubleshooting/install-vm-agent-offline).
188-
- Enable Serial Console access on VM to allow command line access to VM
189-
190-
```
177+
- If you are unable to access VM once restored due to VM having broken relationship with domain controller, then follow the steps below to bring up the VM:
178+
- Attach OS disk as a data disk to a recovered VM.
179+
- Manually install VM agent if Azure Agent is found to be unresponsive by following this [link](https://docs.microsoft.com/azure/virtual-machines/troubleshooting/install-vm-agent-offline).
180+
- Enable Serial Console access on VM to allow command-line access to VM
181+
182+
```cmd
191183
bcdedit /store <drive letter>:\boot\bcd /enum
192184
bcdedit /store <VOLUME LETTER WHERE THE BCD FOLDER IS>:\boot\bcd /set {bootmgr} displaybootmenu yes
193185
bcdedit /store <VOLUME LETTER WHERE THE BCD FOLDER IS>:\boot\bcd /set {bootmgr} timeout 5
194186
bcdedit /store <VOLUME LETTER WHERE THE BCD FOLDER IS>:\boot\bcd /set {bootmgr} bootems yes
195187
bcdedit /store <VOLUME LETTER WHERE THE BCD FOLDER IS>:\boot\bcd /ems {<<BOOT LOADER IDENTIFIER>>} ON
196188
bcdedit /store <VOLUME LETTER WHERE THE BCD FOLDER IS>:\boot\bcd /emssettings EMSPORT:1 EMSBAUDRATE:115200
197189
```
198-
- When the VM is rebuilt use Azure portal to reset local administrator account and password
199-
- Use Serial console access and CMD to disjoin VM from domain
200190
201-
```
202-
cmd /c "netdom remove <<MachineName>> /domain:<<DomainName>> /userD:<<DomainAdminhere>> /passwordD:<<PasswordHere>> /reboot:10 /Force"
191+
- When the VM is rebuilt use Azure portal to reset local administrator account and password
192+
- Use Serial console access and CMD to disjoin VM from domain
193+
194+
```cmd
195+
cmd /c "netdom remove <<MachineName>> /domain:<<DomainName>> /userD:<<DomainAdminhere>> /passwordD:<<PasswordHere>> /reboot:10 /Force"
203196
```
204197
205198
- Once the VM is disjoined and restarted, you will be able to successfully RDP to VM with local admin credentials and rejoin VM back to domain successfully.

0 commit comments

Comments
 (0)