Start-VBRFailoverPlan
Short Description
Starts failover by failover plan.
Applies to
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Start failover by failover plan.
Start-VBRFailoverPlan -FailoverPlan <VBRFailoverPlan[]> [-Wait] [-Force] [<CommonParameters>] |
- Start failover to a specific restore point.
Start-VBRFailoverPlan -FailoverPlan <VBRFailoverPlan[]> [-FromDate <datetime>] [-Wait] [-Force] [<CommonParameters>] |
- Start failover in test mode.
Start-VBRFailoverPlan -FailoverPlan <VBRFailoverPlan[]> [-Wait] [-Force] [-Test] [<CommonParameters>] |
Detailed Description
This cmdlet starts failover by failover plan. With this cmdlet, you can start a number of failover processes.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
FailoverPlan | Specifies the array of failover plans you want to start. | Accepts the VBRFailoverPlan or VBRCloudFailoverPlan objects. To get these objects, run the Get-VBRFailoverPlan cmdlet. | True | Named | True (ByValue, |
FromDate | Use this parameter to fail over to a particular restore point. Specifies the date and time to which you want to fail over. Veeam Backup & Replication will find a restore point closest to this moment. If omitted, Veeam Backup & Replication will fail over to the latest restore point. | DateTime | False | Named | False |
Wait | Use this parameter to manage starting multiple failover processes. If you provide this parameter, the next failover process will wait for the previous to end. | SwitchParameter | False | Named | False |
Force | Used for cloud failovers to start full failover after the user's site is already partially failed over to cloud replicas. If you provide this parameter, the cmdlet turns off the user appliance without notifying the user. Otherwise, the cmdlet will display a warning. | SwitchParameter | False | Named | False |
Test | Defines that the failover runs in test mode. | SwitchParameter | 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. Starting Failover Plan [Using Pipeline]
This command starts failover process by the MS Exchange Group Failover failover plan. The VMs in the failover group are failed over to the latest restore point.
Perform the following steps:
|
Example 2. Starting Failover Plan [Using Variable]
This example shows how to start failover process by the MS Exchange Group Failover failover plan. The VMs in the failover group are failed over to the latest restore point.
Perform the following steps:
|
Example 3. Starting Failover Plans for Specific Restore Point
This example shows how to start failover processes by the MS Exchange Group Failover and SQLServers Group Failover failover plans. The VMs are failed over to a week ago state. The VM groups are failed over one by one.
Perform the following steps:
|
Related Commands