MigrateDatasourceDataFromDPM.ps1 - Invalid Input Parameter Specified At Line:1 Char:1

I am trying to migrate datasources to a new disk with DPM but am consistently running to a problem with the  MigrateDatasourceDataFromDPM.ps1 script.

This is the command I am using: .\MigrateDatasourceDataFromDPM.ps1 -DPMServerName BACKUP1 -Source $ds -Destination $disk[4]

At the moment I am only trying to move one datasource but every time I try, this is the error I get:

C:\Program Files\Microsoft System Center
2012\DPM\DPM\bin\MigrateDatasourceDataFromDPM.ps1 : Invalid input parameter
specified
At line:1 char:1
+ .\MigrateDatasourceDataFromDPM.ps1 -DPMServerName BACKUP1 -Source $ds
-Destinati ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
   n,MigrateDatasourceDataFromDPM.ps1

I've tried moving the contents of the whole disk but get the same error.

This only seems to be a problem since upgrading to DPM 2012 R2 UR2.  I moved datasources just over a week ago using the same command without a problem and we were on DPM 2012 R2 then.  I am not trying to move the same datasources.

Any ideas why this is failing?

May 28th, 2014 4:35am

give this Script a try: http://gallery.technet.microsoft.com/Migrate-DPM-Disk-or-dea8d4e9
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2014 4:44am

Saw that from another of your posts and it produces the same error, all be it a different line/char reference...
May 28th, 2014 4:45am

mhm, interesting. will be updating a DPM the next Days to UR2, maybe than i can say more
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2014 9:41am

I'm in the process of building a 2012 R2 server so I can do some testing before and after an upgrade to UR2.  I will post my findings.
May 28th, 2014 11:50am

When I use your script I am getting a different error:

The source can either be a disk or a datasource and destination can either be a DiskPool or a pair of
custom volumes.

Free Windows Admin Tool Kit Click here and download it now
May 28th, 2014 12:18pm

Sorted.  I don't know what I was doing wrong but I've looked at the powershell again and using the script that comes with DPM I've now got it working.
  • Marked as answer by adamf83 18 hours 50 minutes ago
May 28th, 2014 12:25pm

Sorted.  I don't know what I was doing wrong but I've looked at the powershell again and using the script that comes with DPM I've now got it working.
  • Marked as answer by adamf83 Wednesday, May 28, 2014 4:24 PM
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2014 7:24pm

Sorted.  I don't know what I was doing wrong but I've looked at the powershell again and using the script that comes with DPM I've now got it working.
  • Marked as answer by adamf83 Wednesday, May 28, 2014 4:24 PM
May 28th, 2014 7:24pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics