none
Baremetal Recovery for Azure VM- RRS feed

  • Question

  • I have taken the bare metal backup for Azure VM on Azure IAAS DPM server, then recovered the data on one of the network drive and I can see the 2 hard disk image file and wondering how to restore these file ? Does it require the ISO image ? 

    Thanks

    Wednesday, September 11, 2019 3:44 PM

All replies

  • Hello,

    You can follow my step-by-step guide below on how to perform a Bare Metal Recovery (BMR) of a virtual machine with DPM.

    DPM: Step-by-Step Guide: Performing a Bare Metal Recovery from Microsoft Azure
    https://social.technet.microsoft.com/wiki/contents/articles/52079.dpm-step-by-step-guide-performing-a-bare-metal-recovery-from-microsoft-azure.aspx


    Best regards,
    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    Wednesday, September 11, 2019 3:54 PM
  • Thanks for shaging the document. However I am looking how to restore the Azure VM from Bare Metal Recovery? 

    As I protected the Azure VM Bare metal backup and restore the file on network drive which gave me couple of .vhdx file, then I copied the files on storage account on Azure . Can I spin up the vm with that .vhdx file or need to convert the .vhdx into vhd and can restore the vm with different name ? 

    Thanks
    Puru

    Wednesday, September 11, 2019 6:32 PM
  • Yes you can create a new virtual machine and attach the .VHDX files to it, you can name the VM whatever you want but inside the operating system the name will still be the name from the backed up machine.

    Blog: https://thesystemcenterblog.com LinkedIn:

    Wednesday, September 11, 2019 6:38 PM
  • Thanks. Is there any document that shows to create the Azure VM from DPM Bare Metal Restore ? 

    I copied the .vhdx file to the storage account from the DPM recovery .. 

    Thanks

    Puru

    Thursday, September 12, 2019 3:14 PM
  • I am seeing some post regarding BMR. ??


    BMR backup cannot be restored to an azure based VM because there is no mechanism to boot into Windows recovery environment (Winre).

    Thursday, September 12, 2019 3:40 PM
  • I don't believe there is a documentation for that, you cannot perform a BMR on an Azure virtual machine, only on-premises.

    So your only option is to attach the .VHDX files to a new virtual machine.


    Blog: https://thesystemcenterblog.com LinkedIn:


    • Edited by Leon Laude Thursday, September 12, 2019 3:54 PM
    Thursday, September 12, 2019 3:42 PM
  • Attach the .VHDX to new virtual machine? Am I creating the new VM with .VHDX? if yes how to create?

    Thursday, September 12, 2019 5:19 PM
  • You can for example do as follows:

    1. Restore the VHDX files to a location on-premises.

    2. Upload the VHDX to Azure (Prepare a Windows VHD or VHDX to upload to Azure).

    3. Attach the VHDX to a newly created virtual machine.

    Attach a managed data disk to a Windows VM by using the Azure portal

    Attach a data disk to a Windows VM with PowerShell


    Blog: https://thesystemcenterblog.com LinkedIn:

    • Proposed as answer by Leon Laude Friday, September 13, 2019 11:11 AM
    Thursday, September 12, 2019 5:37 PM
  • Do you have any update?

    Blog: https://thesystemcenterblog.com LinkedIn:

    Friday, September 13, 2019 11:12 AM
  • I am bit confused on BMR workload: As I setup the Azure IAAS DPM setup running 2019 DPM. I am testing all the scenario for backup and restore, I am able to protect the Azure cloud workload like, SQL database, files and folder and restore to the same location or different location. 

    For Bare Metal backup, I created the protected Group and added the Azure VM and select Bare Metal Recovery and system state. it is taking the workload of system bare metal and express full backup is running fine. 

    Now, I am trying to restore the back up for testing; 

    Recovery- System Protection - copy to network folder 

    then , I saw on my network folder , windowsImagebackup - inside it 2 .vhdx and couple of .xml document 

    1 .vhx is aroud 96 GB and another 2. .vhdx is 42 MB 

    then I copied the 96GB .vhdx to Hyper -v and changed the .vhdx to .vhd and copied to azure storage account

    from that .vhd file I created the managed disk and now through this I can create the vm, and I created the VM but I can not login to the VM, it is throwing the error msg. inside the VM check the Boot diagonistec which is black too. 

    Please let me know how to restore the BMR for Azure VM? 

    Monday, September 16, 2019 3:32 PM
  • Please try the following:

    1. Perform the Bare Metal Recovery (BMR) on an on-premise virtual machine first, you can follow the steps here: DPM: Step-by-Step Guide: Performing a Bare Metal Recovery from Microsoft Azure.

    2. Once you have the virtual machine up and running from the BMR backup, shut it down.

    3. Follow the steps mentioned here: Prepare a Windows VHD or VHDX to upload to Azure to upload the .VHDX/.VHD file to Azure.

    4. Attach the .VHDX/.VHD file to a virtual machine in Azure.

    If you have problems, try without converting the .VHDX to a .VHD, use a Generation 2 VM in Azure so that you can use the .VHDX file.


    Blog: https://thesystemcenterblog.com LinkedIn:

    Monday, September 16, 2019 3:56 PM
  • THanks..

    Queries: 

    If BMR unable to restore the Azure VM protected as system bare metal backup then another option would be enable backup on Azure VM and backup on azure recovery vault. however , on azure recovery vault the entire VM backup is schedule every day evening at 9:00 PM ,  I am seeing if I have to restore the VM then it will restore entire VM resources and I can not recover whatever changed made after 9:00 PM . 

    Is there any way to restore the Azure VM from DPM system protection backup BMR so that it will give option of point in time? 

    -- If on short term volume sync is for every 30 minutes, then what would be the recovery point for restore ? 

    (I have full express backup every night 8:PM and recovery point 12:00 pm and 4:00 PM) and sync every 30 minutes.. 

    Tuesday, September 17, 2019 2:43 PM
  • It depends on your backup schedule that you have configured in your protection group.
    If you want to be able to have more restore points, you will need to configure the recovery points to be more often.


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, September 17, 2019 3:11 PM
  • THanks again, 

    Still looking for BMR On Azure VM?

    Thanks for your cooperation

    Tuesday, September 17, 2019 3:31 PM
  • BMR backups for virtual machines are not needed in the same way as with physical machines.

    It’s enough that you backup the virtual machine files (.VHD or .VHDX), that is more or less a BMR backup of a virtual machine.


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, September 17, 2019 3:38 PM
  • THanks. 

    Just an option .. is it possible? 

    I have taken the baremetal system back up for azure vm on DPM...

    --I recovered the file on network drive .. then 

    -- copied that image file on hyper v server location 

    -- copied took more than 3 hours for around 95 GB of file 

    --I am trying to create the vm from the copied image... but not getting the right way? 

    is it doable?

    Tuesday, September 17, 2019 4:50 PM
  • I performed some tests in my lab and couldn't get BMR to work on-premises with DPM BMR backups from Azure VMs, I'm not actually sure it works at least for virtual machines.

    Easiest is to perform backups of the virtual machine files (.VHDX/.VHD) and simply restore those, these can then be easily be imported in Azure or on-premises.

    If you decide to try with backing up the virtual machine files, then make sure you check which generations of VMs you use.


    Blog: https://thesystemcenterblog.com LinkedIn:

    • Proposed as answer by Leon Laude Wednesday, September 18, 2019 12:18 AM
    Wednesday, September 18, 2019 12:18 AM
  • THanks a lot Leon, Appreciate for all your support. 

    Just wanted to confirm that BMR doesn't support Azure virtual machine restore? 

    - I tried different way whether I can restored the bare metal backup of Azure VM as mentioned above but nothing work out... 

    - I was wondering, copying the BMR windows image on Hyper-V should allow me to create the vm.. but I didn't find the right way.. it took more than 3 hour to copied, then I create the new VM windows image but unable to start.. , then thought, instead of windows image If I select the windows iso image and I can get the option to repair but I didn't.. 

    I just wanted to know how to restore the Azure VM from BMR not from Azure Recovery vault because Azure Recovery Vault wont' give the point in time recovery.. 

    Thanks again

    Wednesday, September 18, 2019 1:17 PM
  • With DPM you can perform BMR backups of virtual/physical servers, but you cannot restore them to Azure, only on-premises, it appears this also concerns BMR restore from Azure to on-premises.

    Currently there is support available for backing up System State using just the MARS Agent to recover to the same/similar hardware in case of server or software malfunction (source).

    You'll find all the supported backup/restore scenarios for DPM here:

    Back up system state and bare metal
    https://docs.microsoft.com/en-us/system-center/dpm/back-up-system-state-and-bare-metal?view=sc-dpm-2019

    If there's a feature or a suggestion that you would like, you can give the suggestion over here:
    https://feedback.azure.com/forums/914488-system-center-data-protection-manager


    Below are the current suggestions for DPM/Azure backup regarding "BMR":
    https://feedback.azure.com/search?filter=ideas&query=BMR


    Blog: https://thesystemcenterblog.com LinkedIn:

    Wednesday, September 18, 2019 1:46 PM
  • Did the previous replies answer your questions? We'll be happy to hear your feedback!


    Blog: https://thesystemcenterblog.com LinkedIn:

    Thursday, September 19, 2019 2:07 PM