DPM Migrate your protection data to a new disk

There are some cases you might need to migrate your protection data to a new disk. DPM is shipped with a script (MigrateDatasourceDataFromDPM.ps1) that allows you to migrate your protection data to new storage.

First get a list of disks attached to your DPM server:

Start the DPM Management Shell

PS> get-dpmdisk –dpmservername WARD-DPM01

Name Status NtDiskIdty Total Capaci Unallocated Space Type
—- —— ——– ———— ———— —-
Vir… Healthy 1 150 GB 28 GB Basic #0
VMware Vir… Healthy 2 250 GB 100 GB Basic #1

Read the disk order in to a variable ($disk)

PS > $disk = Get-DPMDisk -DPMServername ward-dpm01

Now you can use the script MigrateDatasourceDataFromDPM.ps1. First find the disk number of the source disk, these numbers are not displayed when you use the get-dpmdisk command. Do not get fooled by the NTdiskID, you do not need those. You just need to count the disks listed starting with 0 (see red numbers in example). Now find the number for the destination disk using the same trick.
In the example below we like to migrate the data from disk 2 to disk 1

PS > ./MigrateDatasourceDataFromDPM.ps1 -DPMServerName ward-dpm01 -Source $disk[2] -Destination $disk[1]

More options and examples can be found on Technet

Leave a Reply