Start-VBRAzureInstantRecoveryMigration
Short Description
Starts migration to production for the specified Instant Recovery to Microsoft Azure operation.
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 |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
SwitchingOptions |
Specifies the switchover options.
Accepts the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Starting Migration to Production with Manual Switchover
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:
- Run the
New-VBRAzureInstantRecoverySwitchingOptionsDefines the switchover options. cmdlet. Specify theSwitchingTypeparameter value. Save the result to the$switchingOptionsvariable. - Run the
Get-VBRAzureInstantRecoveryReturns an array of objects on the Instant Recovery to Microsoft Azure operation. cmdlet. Specify theIdparameter value. Save the result to the$sessionvariable. - Run the
Start-VBRAzureInstantRecoveryMigrationcmdlet. Set the$sessionvariable as theInstantRecoveryparameter value. Set the$switchingOptionsvariable as theSwitchingOptionsparameter value.
Related Commands
New-VBRAzureInstantRecoverySwitchingOptionsDefines the switchover options.Get-VBRAzureInstantRecoveryReturns an array of objects on the Instant Recovery to Microsoft Azure operation.