Stop-VBRViReplicaFailback
Short Description
Undoes VMware replica failback.
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Stop-VBRViReplicaFailback -RestorePoint <COib> [-PowerOn] [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet undoes the VMware replica failback started with the Start-VBRViReplicaFailbackFails back VMware VMs to production host. cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
PowerOn |
Defines that the cmdlet will power on the replica VM after the failback stops.
By default this parameter is set to |
|
False |
Named |
False |
|
RestorePoint |
Specifies the restore point of the replica VM. The cmdlet will undo failback of this VM.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
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 |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet writes 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.
Examples
Stopping Replica Failback
This example shows how to stop replica failback.
|
$replica_restorepoint = Get-VBRRestorePoint -Name "WebServer_replica" | Sort-Object $_.creationtime -Descending | Select -First 1 Stop-VBRViReplicaFailback -RestorePoint $replica_restorepoint -PowerOn:$False -RunAsync |
Perform the following steps:
- Run the
Get-VBRRestorePointReturns restore points. cmdlet. Specify theNameparameter value. Filter the restore points of the VM with theSort-Objectmethod by thecreationtimeproperty to get the most recent one. Save the result to the$replica_restorepointvariable. - Run the
Stop-VBRViReplicaFailbackcmdlet. Set the$replica_restorepointvariable as theRestorePointparameter value. Set thePowerOnparameter toFalseif you want to power on replica VM manually. Provide theRunAsyncparameter.
Related Commands
Get-VBRRestorePointReturns restore points.