Azure, GUIDE, SCDPM

DPM 1807: Performing a Bare Metal Recovery from Microsoft Azure

In this blog post we will go through on how to perform a Bare Metal Recovery (BMR) from Microsoft Azure using System Center Data Protection Manager 1807.

This guide applies to: DPM 2016, DPM 1801, DPM 1807

For this guide we will be performing a bare metal recovery on a Hyper-V virtual machine. The settings of the Hyper-V virtual machine (in this guide called “MGMT2016”) are as follows:

  • Name: MGMT2016
  • Operating System: Windows Server 2016 Standard
  • Configuration version: 8.2
  • Generation: 2
  • Memory: 4GB
  • vCPU: 1
  • Hard Drive:
    • C-drive (35GB)
    • D-drive (10GB)

DPM_BMR_Azure_34

Contents

  • Prerequisites
  • Overview of the DPM environment
  • Overview of the Azure Recovery Services Vault environment
  • Restoring the Bare Metal Recovery with DPM
  • Performing the Bare Metal Recovery on a server

Prerequisites

  • Microsoft Azure subscription.
  • Recovery Services vault.
  • System Center Data Protection Manager (DPM) server.
  • A Bare Metal Recovery/System State recovery point in Microsoft Azure.
  • A Windows network share to store the BMR/System State recovery point.

 

Overview of the DPM environment

Before we start we will have a quick look at our Azure and DPM environments.
We will start by checking out the DPM server and it’s protection group(s).

  1. Open the System Center DPM Administrator Console on the DPM server.DPM_BMR_Azure_4
  2. Once the System Center DPM Administrator Console has opened, let’s start by heading to the Management tab on the left.DPM_BMR_Azure_6
  3. Now head to the Production Servers (previously called “Agents”).DPM_BMR_Azure_7
  4. Here we can see all the servers/clients with the DPM agent installed, in our case we have the server “MGMT2016” with the agent version of 5.1.363.0.DPM_BMR_Azure_5
  5. Now let’s head to the Protection tab in the lower left corner.DPM_BMR_Azure_9
  6. In here we can see everything we have protected, so in our case we should see our Protection Group(s) for the MGMT2016 server and it’s System Protection.DPM_BMR_Azure_3
  7. To perform a BMR / System State recovery we will need a Windows share, in this guide I have a separate disk on my DPM server called Azure Recovery and within this disk we have a shared Windows folder called VMRecovery.DPM_BMR_Azure_17
    DPM_BMR_Azure_18
  8. The share permissions are set as follows:DPM_BMR_Azure_19

 

Everything looks good, now let’s have a quick look in our Azure environment.

Overview of the Azure Recovery Services Vault

  1. Open up a browser and head to the Microsoft Azure portal at https://portal.azure.com/DPM_Azure_2.0
  2. Sign in to the Microsoft Azure portal.
  3. Once we’re signed in, we will head to our Recovery Services Vault, type “Recovery Services Vault” in the search box and click on Recovery Services Vault.DPM_BMR_Azure_10
  4. We should now find our Recovery Services Vault that we have created, click on it to access it.DPM_BMR_Azure_11
  5. We will be directed to the overview page of our Recovery Services Vault, now we will want to see that we actually have a BMR backup available, click on Backup items which can be found in the Recovery Services Vault menu on the bottom left.DPM_BMR_Azure_13
  6. In the Backup items we will see all items that are backed up from DPM to the Azure Recovery Services Vault, in this guide we will only have a BMR/System State backup so the backup items value will be one (1).DPM_BMR_Azure_14
  7. If we click on the DPM backup item we will see what exactly is backed up.DPM_BMR_Azure_15
  8. We can even click on the specific backup item, in our case the System Protection to get even more details.DPM_BMR_Azure_16

We have now checked both DPM and the Azure Recovery Services Vault and everything looks good.

 

Performing the Bare Metal Recovery

We are now ready to start the BMR / System State recovery, head back to the DPM server and then go to the System Center DPM Administrator Console.

  1. Go to the Recovery tab on the bottom left corner.DPM_BMR_Azure_20
  2. Now in browse to the server we want to perform a BMR recovery on and highlight the System Protection.DPM_BMR_Azure_21
  3. Next choose an available recovery point.DPM_BMR_Azure_22
  4. Once we have chosen our date for the recovery point, right click the System Protection and choose Recover… to start the recovery wizard.DPM_BMR_Azure_23
  5. Recovery Wizard window will open up, click Next to continue.DPM_BMR_Azure_24
  6. Select the recovery type, in here we only have only option so check the Copy to a network folder alternative, then click Next to continue.DPM_BMR_Azure_25
  7. Now specify to which location the  recovery point will be recovered to by clicking Browse and then browse to the shared folder.DPM_BMR_Azure_26
    DPM_BMR_Azure_27
  8. We should now have have selected a recovery destination, click Next to continue.DPM_BMR_Azure_28
  9. In the next step we have the possibility to configure some recovery options, we will go with the defaults in this guide, click Next to continue.DPM_BMR_Azure_29
  10. We will now see a summary window of our recovery, click Recover to start the recovery process.DPM_BMR_Azure_30
  11. The recovery process will now start.DPM_BMR_Azure_31
  12. The window can be closed if we need to do other things within DPM, the recovery process can be viewed in the Monitoring task area.
  13. Once the recovery is complete we can see the recovery status in the recovery wizard.DPM_BMR_Azure_32
  14. If the recovery wizard closed, we can also see recovery status in the Monitoring tab, go to Monitoring, go to Today’s jobs and then either browse through manually or search for the server that we performed a recovery of.DPM_BMR_Azure_33
  15. We can now see that DPM has successfully created a folder with a recovery on our network shared folder.DPM_BMR_Azure_48Note: It is very important to know this folder name, as we will need it when performing the recovery.
  16. Inside the “DPM_timetamp” folder we can find the WindowsImageBackup folder, this is the folder that Windows will look for when performing a recovery.DPM_BMR_Azure_49

 

We are now ready to perform the bare metal recovery.

 

Performing the Bare Metal Recovery on a server

  1. To start the bare metal recovery, we will start by mounting a Windows Server 2016 image (ISO).DPM_BMR_Azure_35
    Note: If you have a physical server, mount the ISO with for example a USB memory stick or through the ILO (HPE), IDRAC (Dell), IMM (IBM).
  2. Since we are using Hyper-V, the virtual machines boot up very quickly, so we will need to change the boot order and set the DVD Drive as the first boot option.DPM_BMR_Azure_36
  3. Now boot up the server and when it says “Press any key to boot from CD or DVD….press any key.DPM_BMR_Azure_37
  4. On the Choose an Option window, click on Troubleshoot.DPM_BMR_Azure_38
  5. In the Advanced Options window click on System Image Recovery.DPM_BMR_Azure_39
  6. Next choose the local Administrator to perform this operation.DPM_BMR_Azure_40
  7. Enter the password of the local Administrator account (make sure you have it documented!), and then click Continue.DPM_BMR_Azure_41
  8. Windows will automatically try to find a system image on this computer, since we don’t have any system image backup stored on this server it will fail, click Cancel.DPM_BMR_Azure_42
  9. We will manually select a system image, Select a system image should be checked, click Next to continue.DPM_BMR_Azure_43
  10. Next click on Advanced…DPM_BMR_Azure_44
  11. Since we have the recovery stored on a Windows network share, choose Search for a system image on the network.DPM_BMR_Azure_45
  12. Click Yes to continue searching for a system image on the network.DPM_BMR_Azure_46
  13. Now we will need to enter the network path of where our DPM recovery point, we have to give the path of the parent folder of the WindowsImageBackup folder.
    (See Step 15 under Performing the Bare Metal Recovery)DPM_BMR_Azure_471
  14. We should now see our recovery image in the list as shown below, select it and click Next to continue the recovery process.DPM_BMR_Azure_51
    Note: If you don’t insert the parent folder (in our case “DPM_timestamp..”) the list  of available recovery points will be empty.
  15. Next up we will see the date of the recovery point and which drives are included, click Next to continue.DPM_BMR_Azure_52
  16. On the next screen click Next to continue.DPM_BMR_Azure_53
  17. Finally we will see a summary of what will be restored, click Finish to start the bare metal recovery.DPM_BMR_Azure_54
  18. We will now be prompted with a message saying that “All data on the drives to be restored will be replaced with the data in the system image.
    Are you sure you want to continue“, click Yes.DPM_BMR_Azure_55
  19. The restore is now in progress.DPM_BMR_Azure_56
  20. Once the restore has completed, we should be good to go and login and use the server once again!DPM_BMR_Azure_57

We have now successfully performed a bare metal recovery!

 

 

 

 

 

 

122 total views, 1 views today

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.