This is an archive version of the document. To get the most up-to-date information, see the current version.

Performing Instant Recovery of a Hyper-V VM

In this article

    This example shows the instant recovery of a Hyper-V VM that will be restored to another location and then migrated to the production site.

    // Start the Instant Recovery:

    PS C:\PS> $restorepoint = Get-VBRBackup -Name "Active Directory Backup" | Get-VBRRestorePoint | Sort-Object $_.creationtime -Descending | Select -First 1

    PS C:\PS> $server02 = Get-VBRServer -Name "Hyper-V Host 02"

    PS C:\PS> Start-VBRHvInstantRecovery -RestorePoint $restorepoint -Server $server02 -Path "C:\Redo" -PreserveVmID -PowerUp

     

    // Check the recovery session status:

    PS C:\PS> $RecoveryAD = Get-VBRInstantRecovery

    VM Name    Host       Status     Restore Point   Backup Name

    -------    ----       ------     -------------   -----------

    Active ... Hyper-...  Mounted    1/13/2015 ...   Active Dir...

     

    // Migrate to production site:

    PS C:\PS> Start-VBRHvInstantRecoveryMigration -InstantRecovery $RecoveryAD