Start-VBRHvReplicaFailback
Short Description
Fails back Hyper-V VMs to production host.
Platform: Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
ToOriginal (Default)Start-VBRHvReplicaFailback -RestorePoint <COib> [-Complete] [-PowerOn] [-Reason <String>] [-RunAsync]
[-QuickRollback] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
-
FromBackupStart-VBRHvReplicaFailback -RestorePoint <COib> -Vm <CHvVmItem> [-PowerOn] [-Reason <String>] [-RunAsync]
[-QuickRollback] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
-
DifferentLocationStart-VBRHvReplicaFailback -RestorePoint <COib> -Server <CHost> [-Datastore <String>]
[-Network <VBRHvServerNetworkInfo[]>] [-VmName <String>] [-PreserveVmID] [-RegisterAsClusterResource]
[-PowerOn] [-Reason <String>] [-RunAsync] [-QuickRollback] [-Force]
[-WhatIf] [-Confirm] [<CommonParameters>]
Detailed Description
This cmdlet fails back Hyper-V VMs to the production host. This cmdlet finalizes the replica failover started with the Start-VBRHvReplicaFailoverFails over corrupted Hyper-V VMs to their replicas. cmdlet.
Run the Stop-VBRReplicaFailoverUndoes replica failover. cmdlet to undo failover.
Run the Stop-VBRHvReplicaFailbackUndoes Hyper-V replica failback. cmdlet to undo failback.
Note |
|
The cmdlet will not run if the geographic location of the VMs you want to fail back and the target production host location do not match. If you still want to run the cmdlet, use the |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Complete |
Defines that the failback will be committed. |
|
False |
Named |
False |
|
Datastore |
Used for failback to another location. Specifies the path to the folder where you want to register the VM. If not specified, the cmdlet will use the datastore that is set as default for the target host. |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will perform failback even if the geographic location of the VMs you want to fail back and the target production host location do not match. |
|
False |
Named |
False |
|
Network |
Used for failback to another location. Specifies the array of production site networks. The cmdlet will map the replica to these networks.
Accepts the |
False |
Named |
False |
|
|
PowerOn |
Defines that the production VM will be powered on after the failback. Otherwise, you will need to power the VM on manually. |
|
False |
Named |
False |
|
PreserveVmID |
Defines that the restored VM will get the ID of the original VM. Otherwise, the restored VM will get a new ID. |
|
False |
Named |
False |
|
QuickRollback |
Defines that the cmdlet will perform incremental failback. Note: Incremental failback uses VM changed block tracking data. If the cmdlet fails to retrieve the changed block tracking data for some reason, it will perform full VM failback. |
|
False |
Named |
False |
|
Reason |
Specifies the reason for performing failback. |
|
False |
Named |
False |
|
RegisterAsClusterResource |
Defines that the VM will be registered as a part of Microsoft Failover Cluster. |
|
False |
Named |
False |
|
RestorePoint |
Specifies the replica restore point. The cmdlet uses this restore point to identify the replica you want to fail back.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
Server |
Used for failback to another location. Specifies the Hyper-V host where you want to register the VM. |
|
True |
Named |
False |
|
Vm |
Used for failback to the original VM restored in a different location. Specifies the VM restored from backup. The cmdlet will map the replica to this VM.
Accepts the |
|
True |
Named |
False |
|
VmName |
Used for failback to another location. Specifies the name you want to assign to the new VM. |
|
False |
Named |
False |
|
Confirm |
Defines that the cmdlet displays a prompt that asks if the user is sure that they want to continue. |
|
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
Example 1. Performing Failback to Original VM
|
This example shows how to failback to the original VM.
Perform the following steps:
|
Example 2. Performing Failback to Original VM in Different Location
|
This example shows how to failback to the original VM restored in a different location.
Perform the following steps:
|
Example 3. Performing Failback to Another Location
|
This example shows how to failback to another location.
Perform the following steps:
|
Related Commands
Get-VBRRestorePointReturns restore points.Find-VBRHvEntityReturns Hyper-V objects.Get-VBRServerReturns hosts connected to the backup infrastructure.Get-VBRLocationReturns geographic locations created in Veeam Backup & Replication.