Undo-VBRFailoverPlan
Short Description
Undoes the failover by failover plan.
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Undo-VBRFailoverPlan -FailoverPlan <VBRFailoverPlan[]> [-Wait] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet undoes the failover process. Undoing failover switches the workload back to source VMs. All changes that were made to the replicas during failover are discarded.
To switch back to the production VM and synchronize the changes made to the replica while failover, start failback process. Run the Start-VBRViReplicaFailbackFails back VMware VMs to production host. or the Start-VBRHvReplicaFailbackFails back Hyper-V VMs to production host. cmdlet to fail back to the VMware or Hyper-V production VM. Note that failback is not a group process and must be performed for each VM individually.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
FailoverPlan |
Specifies the array of failover plans you want to undo.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Wait |
Use this parameter to manage undoing multiple failover processes. If you provide this parameter, the next undo failover process will wait for the previous to end. |
|
False |
Named |
False |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command. |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Undoing Failover Plan [Using Pipeline]
|
This command undoes the failover process by the
Perform the following steps:
|
Example 2. Undoing Failover Plan [Using Variable]
|
This command undoes the failover process by the
Perform the following steps:
|
Example 3. Undoing Failover Plans [Using Pipeline]
|
This command undoes failover processes by the
Perform the following steps:
|
Related Commands
Get-VBRFailoverPlanReturns existing failover plans or cloud failover plans.