Set-VBRNASInstantRecoveryMigration
Short Description
Modifies switchover parameters for the specified session of migration to production during the instant file share recovery.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRNASInstantRecoveryMigration [-InstantRecoveryMigration] <VBRNASInstantRecoveryMigration> [-SwitchOverOptions] <VBRNASInstantRecoveryMigrationSwitchOverOptions> [<CommonParameters>] |
Detailed Description
This cmdlet modifies switchover parameters for the specified session of migration to production during the instant file share recovery.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
InstantRecoveryMigration |
Specifies an active session of migration to production during the instant file share recovery.
Accepts the |
True |
0 |
False |
|
|
SwitchOverOptions |
Defines new switchover options for the specified session of migration to production during the instant file share recovery.
Accepts the |
True |
1 |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Setting New Switchover Options for Migration Session Instant Restore for File Backups
This example shows how to set new switchover options for migration session Instant Restore for file backups.
|
$nasInstantRecovery = Get-VBRNASInstantRecovery -Id "42696B53-6FEC-4148-9354-AA9E4B52DED9" $migration = Get-VBRNASInstantRecoveryMigration -InstantRecovery $nasInstantRecovery $switchover = New-VBRNASInstantRecoveryMigrationSwitchOverOptions -Scheduled -SwitchingTimeUtc "2020-11-24 13:00:00" Set-VBRNASInstantRecoveryMigration -InstantRecoveryMigration $migration -SwitchOverOptions $switchover Write-Output "Set new switchover for migration sessions of instant restore for file backups." |
Perform the following steps:
- Run the
Get-VBRNASInstantRecoveryReturns active instant restore sessions started to recover backups created by file backup jobs. cmdlet. Specify theIdparameter value. Save the result to the$nasInstantRecoveryvariable. - Run the
Get-VBRNASInstantRecoveryMigrationReturns active sessions of migration to production during the instant file share recovery. cmdlet. Set the$nasInstantRecoveryvariable as theInstantRecoveryparameter value. Save the result to the$migrationvariable. - Run the
New-VBRNASInstantRecoveryMigrationSwitchOverOptionsDefines the switchover parameter that can be used when starting the file share migration session or for changing settings of an already running file share migration session. cmdlet. Provide theScheduledparameter. Specify theSwitchingTimeUtcparameter value. Save the result to the$switchovervariable. - Run the
Set-VBRNASInstantRecoveryMigrationcmdlet. Set the$migrationvariable as theInstantRecoveryMigrationparameter value. Set the$switchovervariable as theSwitchOverOptionsparameter value.
Related Commands
Get-VBRNASInstantRecoveryReturns active instant restore sessions started to recover backups created by file backup jobs.Get-VBRNASInstantRecoveryMigrationReturns active sessions of migration to production during the instant file share recovery.New-VBRNASInstantRecoveryMigrationSwitchOverOptionsDefines the switchover parameter that can be used when starting the file share migration session or for changing settings of an already running file share migration session.