Start-VBRViReplicaFailover
Short Description
Fails over corrupted VMware VMs to their replicas.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
Failover (Default)Start-VBRViReplicaFailover [-RestorePoint] <COib> [-Reason <String>] [-RunAsync] [-PowerOn] [-ReIp]
[-WhatIf] [-Confirm] [<CommonParameters>]
-
PlannedStart-VBRViReplicaFailover [-RestorePoint] <COib> [-Reason <String>] [-RunAsync] [-PowerOn] [-Planned]
[-WhatIf] [-Confirm] [<CommonParameters>]
-
DefiniteStart-VBRViReplicaFailover [-RestorePoint] <COib> [-Reason <String>] [-RunAsync] [-Definite]
[-WhatIf] [-Confirm] [<CommonParameters>]
Detailed Description
This cmdlet fails over a corrupted VMware VM to its successfully created replica.
Run the Start-VBRViReplicaFailbackFails back VMware VMs to production host. cmdlet to fail back to the original VM.
Run the Stop-VBRReplicaFailoverUndoes replica failover. cmdlet to undo failover.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Definite |
Defines that the failover is permanent. |
|
False |
Named |
False |
|
Planned |
Defines that the failover is planned. Default: The planned failover option is enabled. |
|
False |
Named |
False |
|
PowerOn |
Defines that the cmdlet will power on replica VM after the failover. Otherwise, you will need to power on the replica VM manually. |
|
False |
Named |
False |
|
Reason |
Specifies the reason for performing a failover. |
|
False |
Named |
False |
|
ReIp |
Defines that the replica will use the re-IP rules that are set in the replication job. Note: Do not enable the re-IP if the re-IP rules are not configured in the replication job. |
|
False |
Named |
False |
|
RestorePoint |
Specifies the replica restore point to which you want to fail over.
Accepts the |
|
True |
0 |
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 will display a prompt that asks if you want to continue running the command. |
|
False |
Named |
False |
|
WhatIf |
Specifies whether 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 Failover to VM Replica
|
This example shows how to perform failover to the
Perform the following steps:
|
Example 2. Performing Failover to Latest Restore Point [Using Pipeline]
|
This command fails over to the latest restore point of the
Perform the following steps:
|
Example 3. Performing Planned Failover to VM Replica
|
This example shows how to perform planned failover of the
Perform the following steps:
|
Example 4. Performing Permanent Failover
|
This example shows how to perform permanent failover of the
Perform the following steps:
|
Related Commands
Get-VBRRestorePointReturns restore points.Sort-ObjectSelect-Object