If you are using DPM 2010 (in beta right now) and Hyper-V, did you know that there is a PowerShell script that will enable auto-protection for Hyper-V?

Overview (per Microsoft):

In any virtualized environment, adding new VMs is a frequent operation. While backup administrators can protect an entire Hyper-V host using the DPM Management Console, the protection group had to be modified manually to include the new virtual machines that have come up on the Hyper-V host. These scripts are expected to work with DPM 2010 Beta. By using them, you should be able to quickly put together a script that can enable the auto protection of your hyper-v hosts. Note: These scripts work on an existing protection group and do not create a fresh protection group. The attached scripts automate the task of adding any new virtual machines recognized in the Hyper-V hosts protected by the DPM server into existing protection groups. There are different scripts for Hyper-V clusters (AddNewClusteredVM.ps1) and standalone Hyper-V hosts (AddNewStandAloneVM.ps1). You would still use the script for standalone servers to automatically protect the non-clustered virtual machines of any Hyper-V host that is part of a cluster.

New Clustered VM
Stand Alone VM

Feel free to provide feedback on the PS scripts via the DPM blog.

Wanna test drive DPM 2010 – go here.
***You will need to register with the site to download the bits…

Advertisements