I needed to migrate the data from one disk to another disk in the diskpool but I had to migrate to protection groups one by one. To do so I did this.
- Connect the new disk to the DPM server
- Open DPM’s PowerShell console
- Extract the Different protection groups on the DPM server to a variable with the following command $pg = Get-ProtectionGroup DPMTestServer
- Next I needed to get all the data source for a protection group $ds = Get-Datasource $pg[0]
- Then I needed to know what disks was connected to the DPM server $disk = Get-DPMDisk –DPMServerName
- Now I had all the information I needed to start my migration using the MigrateDatasourceDataFromDPM.PS1 script
./MigrateDatasourceDataFromDPM.ps1 –DPMServerName–Source $ds –Destination $disk[4]
Note that the old volumes on the old disk must be left active until the retention time has run out. DPM will then automatically unallocated those old volumes. After the script has run successfully DPM will start to write the new data on the new disk.
Inga kommentarer:
Skicka en kommentar