none
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
    $pg
    $ds = get-datasource -protectiongroup $pg
    $ds
    $rp = get-recoverypoint -datasource $ds
    $rp
    $gr = get-recoverableitem -recoverableitem $rp[1] -BrowseType child
    $gr
    $rop = new-recoveryoption -targetserver testdc.com  -recoverylocation copytofolder -filesystem -alternatelocation "d:\test" -recoverytype restore -OverwriteType overwrite
    $rop
    recover-recoverableitem -recoverableitem $gr -recoveryoption $rop



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