Stop-VBRReplicaFailover
Short Description
Undoes replica failover.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Stop-VBRReplicaFailover -RestorePoint <COib> [-RunAsync] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet undoes the replica failover. This cmdlet finalizes the replica failover started with the Start-VBRViReplicaFailover cmdlet.
Run the Start-VBRViReplicaFailback cmdlet to fail back to the VMware production VM.
Run the Start-VBRHvReplicaFailback cmdlet to fail back to the Hyper-V production VM.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
RestorePoint | Specifies the restore point of the production VM to recover to. | Accepts the COib object. To get this object, run the Get-VBRRestorePoint cmdlet. | True | 1 | True (ByValue, |
RunAsync | Defines that the command returns immediately without waiting for the task to complete. | SwitchParameter | False | Named | False |
Force | Defines that the replica job starts running without waiting for the target host to power off. Otherwise the replica job will start only after the target host is powered off. | SwitchParameter | False | Named | False |
WhatIf | Defines that the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. | SwitchParameter | False | Named | False |
Confirm | Defines that the cmdlet displays a prompt that asks if the user is sure that they want to continue. Note: Microsoft PowerShell enables the Confirm parameter for this cmdlet by default. To disable this option, set the parameter value to $false. That is, Confirm:$false. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Example 1. Stopping Failover [Using Pipeline]
This command stops failover process by reverting to the production VM.
Perform the following steps:
|
Example 2. Stopping Failover [Using Variable]
This command stops failover process by reverting to the production VM.
Perform the following steps:
The Get-VBRRestorePoint cmdlet will return an array of restore points. Consider that the array numbering starts with 0. In our example, the second restore point is used.
|
Related Commands