DPM PowerShell is crashing during taking backup RRS feed

  • Question

  • everytime i run these cmdlets to take a back up, the powershell crashes. I can't figure out what is going on? here is the script:

    add-pssnapin Microsoft.DataProtectionManager.PowerShell
    $pg = get-protectiongroup -dpmservername $env:computername
    $ds = get-datasource -protectiongroup $pg
    $rp = get-recoverypoint -datasource $ds
    $gr = get-recoverableitem -recoverableitem $rp[1] -BrowseType child
    $rop = new-recoveryoption -targetserver  -recoverylocation copytofolder -filesystem -alternatelocation "d:\test" -recoverytype restore -OverwriteType overwrite
    recover-recoverableitem -recoverableitem $gr -recoveryoption $rop

    • Edited by F1365 Thursday, November 21, 2013 6:28 PM
    Thursday, November 21, 2013 1:09 AM