Start-VBRCDPReplicaFailover
Short Description
Starts to perform failover to VM replicas.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
ToPointInTime (Default)Start-VBRCDPReplicaFailover -Replica <VBRCDPReplica> [-ToPointInTime <DateTime>] [-Reason <String>] [-Commit]
[-PowerOn] [-Force] [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>]
-
LongTermRestorePointStart-VBRCDPReplicaFailover -Replica <VBRCDPReplica> -LongTermRestorePoint <VBRCDPLongTermRestorePoint>
[-Reason <String>] [-Commit] [-PowerOn] [-Force] [-RunAsync] [-WhatIf]
[-Confirm] [<CommonParameters>]
-
PlannedStart-VBRCDPReplicaFailover -Replica <VBRCDPReplica> [-Planned] [-Reason <String>] [-Commit] [-PowerOn]
[-Force] [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>]
Detailed Description
This cmdlet starts to perform failover to VM replicas.
Important |
|
Before you start to perform failover to VM replicas we recommend to the run the |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Commit |
Defines that the cmdlet will perform permanent failover of the specified replicas in the failover state.
|
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will perform a failover without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
LongTermRestorePoint |
Specifies a long-term restore point of a VM protected with CDP. The cmdlet will perform failover to this restore point.
Accepts the |
|
True |
Named |
False |
|
Planned |
Defines that the cmdlet will perform planned failover. |
|
True |
Named |
False |
|
PowerOn |
Defines that the cmdlet will power on a CDP replica after performing failover. If you do not provide this parameter, the cmdlet will power on the replica. If you do not want to power on the replica, set the parameter to the
Default:
Note: If you provide this parameter with the |
|
False |
Named |
False |
|
Reason |
Specifies the reason for performing failover. |
|
False |
Named |
False |
|
Replica |
Specifies a VM protected with CDP to which you want to perform failover.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
ToPointInTime |
Specifies a replicated state that is available for a VM protected with CDP. |
|
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.
Examples
Example 1. Performing Failover to CDP Replica Latest Restore Point
|
This example show how to perform a failover to the latest restore point. The cmdlet will perform a failover without without showing warnings in the PowerShell console.
Perform the following steps:
|
Example 2. Performing Failover to CDP Replica Replicated State
|
This example shows to perform a failover to a specific replicated state of the CDP replica of the
Perform the following steps:
|
Example 3. Performing Failover to CDP Replica Long-Term Restore Point
|
This example shows how to start to perform a failover to a specific long-term restore point of the CDP replica of the
Perform the following steps:
|
Related Commands
Get-VBRCDPReplicaReturns CDP replicas created by CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.Get-VBRCDPLongTermRestorePointReturns a long-term restore point of VM replicas.Get-Date