none
Scripted Item-Level Recovery of files in a VHD with DPM 2010 RRS feed

  • Question

  • Hello all,

    I'm trying to write a powershell script for recovering specific directories that are within a virtual machine's VHD. I have got this so far, but I can't find anything for selecting a specific folder withing a volume on a VHD, I can only find ways to restore the whole VHD.

    $pg = get-protectiongroup -dpmservername dpm1
    $ds = get-datasource $pg[1]
    $rp = get-recoverypoint $ds[0]
    $recopt = new-recoveryoption -targetserver server1.domain1.local -recoverylocation copytofolder -filesystem -alternatelocation "D:\TestRestore" -recoverytype restore
    

    Is there a way to do this that I've missed?

    Thanks for your haelp!

    Wednesday, May 8, 2013 11:02 PM