A company runs a Windows Server virtual machine named vm-hr-encryption that uses Azure Disk Encryption (ADE) to secure its OS and data disks. The virtual machine is backed up daily to a Recovery Services vault. Following a failed software installation, the operating system on the virtual machine is corrupted and cannot boot. The operations team needs to recover the virtual machine to a functional state using the latest recovery point. What is the correct method to recover this virtual machine?
- ADeploy a new virtual machine directly from the recovery point by selecting the 'Create virtual machine' option in the Azure portal.
- BOverwrite the corrupted disks of the running virtual machine by selecting the 'Replace existing' option in the Azure portal.
- Restore the virtual machine's disks to a staging storage account, and then recreate the virtual machine using PowerShell or a template.Answer
- DDownload the Item-Level Recovery script to mount the recovery point volume and manually overwrite the system files.
Answer
Restore the virtual machine's disks to a staging storage account, and then recreate the virtual machine using PowerShell or a template.
For virtual machines encrypted using Azure Disk Encryption (ADE), direct restoration methods such as creating a new virtual machine or replacing existing disks directly from the Recovery Services vault are not supported. Instead, you must restore the virtual machine disks to a staging storage account first. After the disks are restored, you must recreate the virtual machine using PowerShell or an Azure Resource Manager (ARM) template by linking the restored disks and the original Key Vault secret configuration.
Step-by-Step Solution
Key Concept
Azure Disk Encryption (ADE) restore constraints
Alternative Method
Alternatively, you can perform the restore using Azure CLI by first running 'az backup restore restore-disks' and then creating the VM from the restored managed disks using the CLI or a customized ARM template.
Estimated Time:1m 30s