Start-VBRAzureInstantRecoveryMigration

Short Description

Starts migration to production for the specified Instant Recovery to Microsoft Azure operation.

Applies to

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

Syntax

Start-VBRAzureInstantRecoveryMigration -InstantRecovery <VBRAzureInstantRecovery> -SwitchingOptions <VBRAzureInstantRecoverySwitchingOptions> [-RunAsync] [<CommonParameters>]

Detailed Description

This cmdlet starts migration to production for the specified Instant Recovery to Microsoft Azure operation.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

InstantRecovery

Specifies the operation for which you want to start migration.

Accepts the VBRAzureInstantRecovery object. To create or get this object, run the Start-VBRAzureInstantRecovery or Get-VBRAzureInstantRecovery cmdlet.

True

Named

True
(ByValue, ByPropertyName)

SwitchingOptions

Specifies the switchover options.

Accepts the VBRAzureInstantRecoverySwitchingOptions object. To create this object, run the New-VBRAzureInstantRecoverySwitchingOptions cmdlet.

True

Named

False

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

False

Named

False

<CommonParameters>

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

Output Object

VBRAzureInstantRecovery

Examples

This example shows how to start the migration process. The second phase of migration (switchover) will be started manually.

$switchingOptions = New-VBRAzureInstantRecoverySwitchingOptions -SwitchingType Manual

$session = Get-VBRAzureInstantRecovery -Id "d1d2a50e-8052-498f-826b-e5c86f30ed5a"

$migration = Start-VBRAzureInstantRecoveryMigration -InstantRecovery $session -SwitchingOptions $switchingOptions

Perform the following steps:

  1. Run the New-VBRAzureInstantRecoverySwitchingOptions cmdlet. Specify the SwitchingType parameter value. Save the result to the $switchingOptions variable.
  2. Run the Get-VBRAzureInstantRecovery cmdlet. Specify the Id parameter value. Save the result to the $session variable.
  3. Run the Start-VBRAzureInstantRecoveryMigration cmdlet. Set the $session variable as the InstantRecovery parameter value. Set the $switchingOptions variable as the SwitchingOptions parameter value.

Related Commands

Page updated 7/30/2025

Page content applies to build 13.0.0.4967