CLI Script: To recover a DPM replica volume from data stored in tape - The Official System Center Data Protection Manager Team Blog - Site Home - TechNet Blogs

CLI Script: To recover a DPM replica volume from data stored in tape

CLI Script: To recover a DPM replica volume from data stored in tape

  • Comments 6
  • Likes

When a disaster occurs, and you lose your replica volume for any datasource, you could re-seed the replica from the backed-up data you have in tape. This little script initializes replica from a tape recovery point. The parameters have to be customized for your environment first as given below. 

Save the attached file as a .ps1 file and invoke through the DPM Management Shell.

 

- Madhan S

Attachment: RecoverReplicaFromTape.ps1
Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • is there any way to resync my replica volume in case i lost my OS in a disaster but I have the DPM database backed up and the replica volume?

    thanks

  • Yes! That is possible, and you can find information under "Disaster Recovery" and "How to manually load the replica" sections in the  online documentation found.

  • for the $dsname, what should we use if we have it stored on a san without a drive letter?

  • Hello,

    Is there any method to go for disk to disk to disk to tape? I have heard about this in a video but was not able to find any details about it.

    Thanks

  • has anyone found answer to jafo06 question?

  • The script requires three parameters:

    $DPMServerName = "DPM server name"

    $pgName = "PG Name"

    $dsName = "K:\"

    You can get the $pgname from the output of this DPM PowerShell command.

    GET-PROTECTIONGROUP -DPMSERVERNAME (&hostname)

    You can get the $dsname from the output of this DPM PowerShell command.

    $GROUPLIST=GET-PROTECTIONGROUP -DPMSERVERNAME (&hostname); foreach ( $MEMBER in $GROUPLIST ) { GET-DATASOURCE -ProtectionGroup $Member}