Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Performing Instant Recovery of a Hyper-V VM

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 $TRUE

 

// 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

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation