Restore virtual machine to alternate Hyper-V host using System Center Data Protection Manager 2007 with Service Pack 1

Ruud Baars, one of our colleagues and System Center Data Protection Manager subject matter experts at Microsoft Services wrote several scripts to overcome a current limitation of System Center Data Protection Manager 2007 with Service Pack 1.

An abstract from the provided help (Recovering a Hyper to alternative.mht):

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

Recovering a Hyper-V virtual machine to an alternative Hyper-V host

DPM2007 Sp1 does not offer seamless recovery of a protected Hyper-V virtual machine to another Hyper-V host and will be implemented in a future version of DPM. Until such time this blog offers an alternative based on the DPM capability to recover virtual machine files to an alternative location and the standard Hyper-V export/import feature.

Abstract

This alternative uses 3 scripts that ease the tasks to perform and are described below. The concept is to export information ahead of time using the Hyper-V export feature and modify that to suite the Hyper-V import feature. Reorganize the DPM restored directory structure with virtual machine files into a more familiar structure and finally import the virtual machines.

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

Important notes :

  1. These scripts are provided as-is without support
  2. These scripts have not yet been tested for Hyper-V host-clustered scenarios or virtual machines using ‘passthrough’ disks
  3. These scripts are intended as examples and need to be tested/adjusted/completed according to your needs

The scripts can be downloaded here.