Monday, November 21, 2011

BMR include or Exclude drives

The Bare Metal Recovery (BMR) option in DPM 2010 allows you to recover servers from an image file. BMR is actually an option build in to Windows 2008 (R2) which can be utilized by DPM 2010.

By default the BMR will protect the “critical system data” According to the Microsoft definition –> critical data =  System State and C drive and all other drivers that contain system data directories (Program files).

Check what is includes:

  • logon to the protected server
  • Open the Windows Server Backup Feature
  • Select Action  - Backup ones

image
Select Different options

image
Select Custom

imageimageC
Click on Bare Metal Recover and check which other volumes are automatically selected.

Modify Drives included
Now you can choose to modify the BMR selection. This can be done by editing the file named Bmrbackup.cmd.

To alter this configuration do this:
On the protected server, open the C:\Program Files\Microsoft Data Protection Manager\DPM\bin\Bmrbackup.cmd file in notepad.

----------------------Modify the file below-------------------------------------------------------------------
rem Start a wbadmin.exe to create a BMR backup
start /WAIT %SystemRoot%\system32\wbadmin.exe start backup -allcritical -quiet -backuptarget:%1
------------------------------------------------------------------------------------------------------------------------

--------------------------------To include the d-drive---------------------------------------------------------
rem Start a wbadmin.exe to create a BMR backup
start /WAIT %SystemRoot%\system32\wbadmin.exe start backup -allcritical -include:D: -quiet -backuptarget:%1

--------------------------------------------------------------------------------------------------------------------------

--------------------------------To exclude the e-drive---------------------------------------------------------
rem Start a wbadmin.exe to create a BMR backup
start /WAIT %SystemRoot%\system32\wbadmin.exe start backup -allcritical –exclude:E: -quiet -backuptarget:%1

--------------------------------------------------------------------------------------------------------------------------

Note: You also need to adjust the replica volume and recovery point volume sizes on the DPM server to account for the additional space required for the extra volume(s) being included in future BMR backups

(Source http://robertanddpm.blogspot.com/2010/09/bmr-can-protect-more.html)

1 comment:

  1. Hey Matthijs,
    The -allCritical switch overrides the -exclude switch. So the second part won't work.

    ReplyDelete