How to create a manual replica for BMR and System State from a Primary DPM server to a Secondary - System Center: Data Protection Manager Engineering Team Blog - Site Home - TechNet Blogs

How to create a manual replica for BMR and System State from a Primary DPM server to a Secondary

How to create a manual replica for BMR and System State from a Primary DPM server to a Secondary

  • Comments 3
  • Likes

~Anuj Bawa (AJ) | Support Engineer

GearsDuring creation of a protection group using the Create New Protection Group Wizard, DPM asks you to select a replica creation method to copy the data to be protected to the DPM computer. You can select Automatically, for which DPM copies the data across the network, or Manually. When you select manual replica creation, you must manually copy the data you want protected to the DPM computer using removable media.

To create a replica manually, you must know the details of the source path on the protected computer and the replica path on the DPM server. It is critical that you retain the same directory structure and properties (time stamps and security permissions) as those for the data that you are protecting.

Here is how to create a manual replica for BMR and System State from a primary DPM server to a secondary DPM server.

NOTE The steps contained below are applicable to DPM 2010, DPM 2012 and DPM 2012 SP1.

On the PRIMARY DPM SERVER

NOTE Please run the commands below from a CMD prompt with Administrator permissions (Run as Administrator):

1. Mount the replica volume using the following steps:

a. At a command prompt, type mountvol and then press Enter.

b. From the list of mounted volumes, pick the volume that corresponds to the appropriate path. The path will look like the following:

\\?\Volume{a2072784-7573-4dce-a7e9-26713fd12697}\
<Drive:>\DPM\DPM\Volumes\Replica\Fileserver.mydomain.corp.myorg.com\File System\D-87a82ad4-f9d2-11d9-b758-000d561ae74f\

c. Type the following to mount the volume to a drive letter:

mountvol k:\ \\?\Volume{a2072784-7573-4dce-a7e9-26713fd12697}\

d. Click Start and double-click My Computer, then on the Tools menu click Folder Options. In the Folder Options dialog box, on the View tab, in the Advanced settings box under Hidden files and folders, clear Hide protected operating system files (Recommended) and click Yes to confirm that you want to display the files, then click OK.

2. Once mounted, download PSXEC from http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx and extract the tool to the desktop.

3. Open a command prompt using Administrator permissions and browse to the location where you extracted the PSXEC tool.

4. Run the following command:

psxec.exe -s cmd.exe

This will open a command prompt session under the system context at C:\Windows\System32.

5. Run the WHOAMI command to confirm that the user is NT AUTHORITY\SYSTEM.

6. Change the drive from C:\Windows\System32\ to the drive letter used to mount the Replica Volume ( K: ):

7. From the K:\ prompt, run the DIR command to list the directories in the replica volume. Note that you will not be able to drill down further to the directories inside.

8. Create a TEST folder on the drive where you would like to recover the files. In our example we will use M:\TEST.

9. Run the following command:

K:\> xcopy *.* M:\TEST /S /E

This will copy the contents of the Replica volume we mounted as the K:\ drive to the M:\TEST folder.

NOTE The data recovered will have now inherited the permissions of the drive on which it was recovered.

10. Copy the contents (the WindowsImageBackup folder) in M:\TEST\xxxxxxxxxxxxxxx\FULL\C-Vol\ (except the DATASETCONTEXTINFORMATION.XML file) to an external HDD.

11. Run the following command to dismount the Replica volume:

mountvol k:\ /d

On the SECONDARY DPM SERVER

1. On secondary DPM server, create a Protection Group and configure it with the Manual Replica Creation option.

2. Select the data source listed under the Protection Group and click on View Details under the Details pane (bottom on the console) and copy the Replica path and paste it into Notepad.

Example: Computer\System Protection\Bare Metal Recovery on DC01.Contoso.com   c:\Program Files\Microsoft DPM\DPM\Volumes\Replica\Non VSS Datasource Writer\vol_a7efe5af-34ab-4bb6-ba60-0256844ffa23\37d71385-dbc9-4f32-b68e-cc4228ef5ddf\Full\C-Vol\

3. Open the following location using Windows Explorer:

C:\Program Files\Microsoft DPM\DPM\Volumes\Replica\Non VSS Datasource Writer\vol_a7efe5af-34ab-4bb6-ba60-0256844ffa23\37d71385-dbc9-4f32-b68e-cc4228ef5ddf\Full\

4. Once open, copy the contents from the HDD we used in step 10 above to C:\Program Files\Microsoft DPM\DPM\Volumes\Replica\Non VSS Datasource Writer\vol_a7efe5af-34ab-4bb6-ba60-0256844ffa23\37d71385-dbc9-4f32-b68e-cc4228ef5ddf\Full\C-Vol\. Note that this is an example replica path – yours may vary slightly.

5. Lastly, run a Consistency Check and let it finish.

Please note that these same steps can be performed to copy not just System State and BMR but to copy other protected data sources from the Primary DPM server to the Secondary DPM server as well.

Anuj Bawa (AJ) | Support Engineer | Microsoft

Get the latest System Center news on Facebook and Twitter:

clip_image001 clip_image002

System Center All Up: http://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

Windows Intune: http://blogs.technet.com/b/windowsintune/
WSUS Support Team blog: http://blogs.technet.com/sus/
The AD RMS blog: http://blogs.technet.com/b/rmssupp/

App-V Team blog: http://blogs.technet.com/appv/
MED-V Team blog: http://blogs.technet.com/medv/
Server App-V Team blog: http://blogs.technet.com/b/serverappv

The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Very good explainition....

  • Perhaps I'm missing something here. How would I go about manually creating bare metal replica on a remote server, getting that replica shipped back to where the DPM server is and then 'importing' this replica into the primary DPM server?

  • It amazes me that doing something as critical as prestaging a secondary DPM server thats located across a WAN is as difficult as this! For each replica! What about when you have 50-100 replicas to do??? (like I do!) Its a complete waste of time. Seriously needs fixing to a simple "Export replica(s)" & "Import Replica(s)" as that is effectively all that is happening here. Looking forward to it being fixed by the team in the next release ;-) wink wink