none
Queue requests when the agent doesn't support parallel requests RRS feed

  • Question

  • We have an Exchange 2010 server we're protecting with DPM 2012.  The server has multiple mailbox databases.  We were testing a D/R scenario and when we went to restore all the mailboxes, the DPM server rejected the multiple recovery requests.  This was because the agent didn't support multiple restore requests of mailbox databases at the same time.  The restriction on mailbox restores makes sense...but it would make more sense for DPM to queue the restore requests rather than having the requests fail.  By having the requests fail, an operator has to watch over the recovery process and kick off the new one when one finishes up...potentially elongating restore windows.

    Is there a way to have the restore requests run sequentially via powershell (waiting for the recovery to finish in the script)?

    FYI, the mailbox recovery process was the easiest of any process we have ever tested with any backup software.  Kudos to the team for the simplified restore and recovery process!


    Rob
    • Moved by Larry Yin Wednesday, March 28, 2012 10:25 PM (From:DPM 2012 Beta - Locked)
    Monday, January 2, 2012 6:49 PM

Answers

  • Hi

    You can definitely use the DPM powershell scripts to accomplish this.

    Pasting a Sample snippet to wait for a recovery job

    ********

     $j = Recover-RecoverableItem -RecoverableItem $recoveryObject -RecoveryOption $recoveryOption
     
     $jobtype = $j.jobtype
     while (! $j.hascompleted ){ write-host "Waiting for $jobtype job to complete..."; start-sleep 5}
     if($j.Status -ne "Succeeded") {write-host "Job $jobtype failed..." }

    *******

    Hope this helps

    Roopesh


    Thanks Roopesh [This posting is provided "AS IS" with no warranties, and confers no rights.] [P.S. If the post answers your question or guides you about what you're looking for, please mark it as answered.]

    • Marked as answer by ip-rob Tuesday, February 28, 2012 2:25 PM
    Wednesday, February 15, 2012 7:00 AM
    Moderator

All replies

  • Is this going to be considered or is there any comment from Microsoft?  These forums are supposed to be for beta feedback but it appears to be mainly customer feedback rather than any responses from Microsoft lately.
    Rob
    Tuesday, January 10, 2012 11:55 PM
  • Any comment at all?
    Rob
    Tuesday, January 24, 2012 2:13 PM
  • Hi

    You can definitely use the DPM powershell scripts to accomplish this.

    Pasting a Sample snippet to wait for a recovery job

    ********

     $j = Recover-RecoverableItem -RecoverableItem $recoveryObject -RecoveryOption $recoveryOption
     
     $jobtype = $j.jobtype
     while (! $j.hascompleted ){ write-host "Waiting for $jobtype job to complete..."; start-sleep 5}
     if($j.Status -ne "Succeeded") {write-host "Job $jobtype failed..." }

    *******

    Hope this helps

    Roopesh


    Thanks Roopesh [This posting is provided "AS IS" with no warranties, and confers no rights.] [P.S. If the post answers your question or guides you about what you're looking for, please mark it as answered.]

    • Marked as answer by ip-rob Tuesday, February 28, 2012 2:25 PM
    Wednesday, February 15, 2012 7:00 AM
    Moderator
  • It would be nice if this was the way the UI worked rather than just letting the jobs fail.  We'll document the procedure so we have it in the event of a disaster recovery.  Thanks.

    Rob

    Tuesday, February 28, 2012 2:26 PM