Found these great scripts online at Buchatech blog
http://www.buchatech.com/2011/10/export-dpm-settings-to-xml-file/#comments
I had to make a few mods to get past errors in Powershell and DPM2012, mainly to do with the snap-in and cmdlet names. However it's now failing with the following error when it gets to the function DoDatasources:
[13:13:21] TRAP: DPMsaveConfig: Cannot bind parameter 'ProtectionGroup'. Cannot convert the "Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.Prote
ctionGroup" value of type "Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.ProtectionGroup" to type "Microsoft.Internal.EnterpriseStorage.Dls.UI.O
bjectModel.OMCommon.ProtectionGroup".
Cannot bind parameter 'ProtectionGroup'. Cannot convert the "Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.ProtectionGroup" value of type "Micro
soft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.ProtectionGroup" to type "Microsoft.Internal.EnterpriseStorage.Dls.UI.ObjectModel.OMCommon.ProtectionGr
oup".
At C:\DPM-save-create-Config\DPMsaveConfig.ps1:399 char:46
+ $dss = @(Get-DPMDataSource -ProtectionGroup $pg)
Not sure what to change or check...it would be REALLY nice to be able to backup and recreate these. I'm in the unfortunate situation of having to blow away and add new disks to DPM (long story - storage fiasco) and it would save a ton of effort if I could backup the datasources and protection config since I will need to remove all protection to accomplish the disk swap.
Thanks,
Casey