Start-VBRHvInstantRecoveryMigration

Short Description

Performs migration of instantly recovered VMs to a Hyper-V host.

Applies to

Platform: Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Start-VBRHvInstantRecoveryMigration -InstantRecovery <InstantRecovery[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>]  [<CommonParameters>]

Detailed Description

This cmdlet migrates a recovered VM to the production host. You finalize the instant recovery of the VM initiated with the Start-VBRHvInstantRecovery cmdlet by migrating the VM to production.

Run the Stop-VBRInstantRecovery cmdelt to terminate the recovery session by unpublishing the VM.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

InstantRecovery

Specifies the array of instant recovery sessions. The cmdlet will migrate the VMs recovered with these sessions to the Hyper-V host.

Accepts the InstantRecovery[] object. To create this object, run the Get-VBRInstantRecovery cmdlet.

True

1

True (ByValue,
ByProperty
Name)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

The cmdlet returns the CBackupSession object that contains setting of a VMs quick migration session.

Examples

Start-VBRHvInstantRecoveryMigrationExample 1. Finalizing Current Instant Recovery Session [Using Pipeline]

This example shows how to finalize the current instant recovery session.

Get-VBRInstantRecovery | Start-VBRHvInstantRecoveryMigration

Perform the following steps:

  1. Run the Get-VBRInstantRecovery cmdlet.
  2. Pipe the cmdlet output to the Start-VBRHvInstantRecoveryMigration cmdlet.

Start-VBRHvInstantRecoveryMigrationExample 2. Finalizing Current Instant Recovery Session [Using Variable]

This This example shows how to finalize the current instant recovery session.

$HvInstantRecovery = Get-VBRInstantRecovery

Start-VBRHvInstantRecoveryMigration -InstantRecovery $HvInstantRecovery

Perform the following steps:

  1. Run the Get-VBRInstantRecovery cmdlet. Save the result to the $HvInstantRecovery variable.
  2. Run the Start-VBRHvInstantRecoveryMigration cmdlet. Set the $HvInstantRecovery variable as the InstantRecovery parameter value.

Related Commands

Get-VBRInstantRecovery