Migrate DPM Disk or Datasource with GUI

Gives you a PowerShell Script which uses Out-GridView to build a GUI for your to easily migrate DPM Datasources ord Disks. So you only need to choose your Datasource or Disk you want to migrate and at next you choose your Destination, DPM will to the migration.More informations a

 
 
 
 
 
4.8 Star
(24)
5,344 times
Add to favorites
System Center
7/2/2015
E-mail Twitter del.icio.us Digg Facebook
  • Bug in the script
    2 Posts | Last post December 15, 2017
    • Hi Michael,
      
      thanks a lot for sharing your script, very nice :)
      
      There is a bug in the newest version. When moving a complete disk to other disks.
      
              if ($Entry.State -eq "Valid")
      
      There is no "State" on a disk, so the script stops here. This works instead:
      
              if ($Entry.DiskStatus -eq "Healthy")
      
      Maybe the also change the error message to be disk "is not Healthy" ;)
      
      But as a ProtectionGroup does not have DiskStatus, there is a little more to do ;)
      
      Kind Regards
      Christian Jacobsen
    • Another small thing. Please add this to the end of the script. If you use it over longer time, it will fail when PG's have changed until you disconnect and connect again ;)
      
      
      Disconnect-DPMServer $DPMServer
      
  • dpm 2016
    2 Posts | Last post September 29, 2017
    • This does not work with DPM 2016.  Asks for the server name and returns to command prompt.
    • Microsoft ha snot support for moving DS on Modern Backup Storage with SCDPM 2016, so tool can not work either. sorry
  • New Version of This tool
    3 Posts | Last post September 29, 2017
    • Dear Michael,
      When will you have this tool supports DPM2012R2 and DPM2016? 
      We are eager to have such tool, it is really helpful. 
      
      Thanks, andy 
      Andy.feng@sharkninja.com
    • I am using it with DPM2012R2 and so far so good...
    • Tool is supporting SCDPM with classic Stroagem Modern Backup Storag is not supported, cause Microsoft is not supporting moving DS on MBS
  • Backup DPM Volume
    2 Posts | Last post September 29, 2017
    • Need some help please
      How can I backup a DPM volumen or disk if I don´t have a tape system? 
      Azure is out my budget.
      Thanks.
    • Hi, best would be to ask this Question in SCPDM Forum, but a second DPM would be best.
  • Does this work when volume is partially on the new disk?
    2 Posts | Last post August 11, 2017
    • Our existing disks filled up and we added a new array/disk. We increased the allocation for one of the protected volumes and now that volume is located on both the old and the new disk. Will this work if I try to migrate the rest of the datasource to the new disk even though it is already partially on the new disk?
    • Well i answered my own question, it does not work when you have already allocated a volume to partially span onto the new disk. So now I have one protection group member that is on both the old disk and new disk. What do I do now? 
      
      Here's the error I got using the script:
      
      Set-ProtectionGroup : The operation failed due to a virtual disk service error (ID: 360)
      Retry the operation.
      At C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\bin\MigrateDatasourceDataFromDPM.ps1:129 char:4
      +             Set-ProtectionGroup $mpg
      +             ~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : NotSpecified: (:) [Set-DPMProtectionGroup], DlsException
          + FullyQualifiedErrorId : VdsError,Microsoft.Internal.EnterpriseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.CommitProtectionGroup
  • darasource marked as migrated
    2 Posts | Last post July 13, 2017
    • Hello!
      Recently we had to move DPM server on another Hyper-V host (with trying to retain disk configuration). 
      After that we used script to migrate datasource from DPM virtual disk.
      Now it appears as script states datasource as already migrated, following with chainmigration error: 
      
      "started a Migration of Datasource:  E:\  to Disk Number  3
      Set-ProtectionGroup : E:\ has recently been migrated. You cannot migrate E:\ again until the recovery points on the previous replica volume are available. (ID: 31224)"
      ...
      \MigrateDatasourceDataFromDPM.ps1:129 char:4
      +             Set-ProtectionGroup $mpg
      +             ~~~~~~~~
          + CategoryInfo          : NotSpecified: (:) [Set-DPMProtectionGroup], DlsException
          + FullyQualifiedErrorId : ChainedMigrationError,Microsoft.Internal.EnterpriseStorage.Dls.UI.Cmdlet.ProtectionCmdLets.CommitProtectionGroup
      
      Are there any means to work around this error?
      
      Thanks in advance.
    • Might be useful to say. We successfully used script to migrate other datasources from that virtual disk before host change.
  • SCDPM 2016?
    2 Posts | Last post March 09, 2017
    • Hi, will your script work with SC DPM 2016?
    • The Script will not work if you use Modern Backup Storage, cause MS ist not supporting Migration in MBS
  • DPM 2016
    2 Posts | Last post November 25, 2016
    • Does it support DPM 2016 and Modern storage ?
    • I didn't try it, but at the moment, no
  • Doesn't work!
    2 Posts | Last post September 16, 2016
    • Doesn't work. Followed the instructions precisely and it bombed. 
      
      C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\bin\MigrateDatasourceDataFromDPM.ps1 : Invalid input
      parameter specified
      At C:\temp\MigrateDpmData\MigrateDpmData.ps1:66 char:13
      +             MigrateDatasourceDataFromDPM.ps1 -DPMServerName $DPMServer -Source $ ...
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
          + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,MigrateDatasourceDataFromDPM.ps1
    • Do you even see the Gui popping up?
  • Migrating a datasource more than once
    2 Posts | Last post September 11, 2016
    • Hi Michael,
      Great script! Thanks for sharing!
      If you move a datasource more than once this error comes up:
      You cannot migrate <databsource> again until the recovery points on the previous replica volume are available. (ID: 31224)
      Any idea what needs to be done to be able to move a data source more than once? Would using the free disk switch on the old disk do the trick?
      
      Regards,
      TTwa
    • Why are you moving more than once?
      You cannot move it more than one, after moving first, you need to wait until the move is completed and the old Recovery Points are expired on the old destination.
1 - 10 of 18 Items