Start-VBRCDPReplicaFailback
Short Description
Starts to perform failback from a CDP replica to the production VM.
Applies
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides cmdlet sets that allow you to:
- Start to perform failback from a CDP replica to the original VM.
Start-VBRCDPReplicaFailback -Replica <VBRCDPReplica> [-DRProxy <VBRCDPProxy[]>] [-ProductionProxy <VBRCDPProxy[]>] [-Complete] [-SwitchToProduction] [-SwitchingSchedule <VBRFailbackSwitchingSchedule>] [-Reason <string>] [-PowerOn] [-IncludeTags] [-QuickRollback] [-RunAsync] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>] |
- Start to perform failback from a CDP replica to a VM already recovered to a new location. This VM must be recovered before you perform failback. For example, you can recover the VM from a backup.
Start-VBRCDPReplicaFailback -Replica <VBRCDPReplica> -DestinationVM <CViVmItem> [-DRProxy <VBRCDPProxy[]>] [-ProductionProxy <VBRCDPProxy[]>] [-Complete] [-SwitchToProduction] [-SwitchingSchedule <VBRFailbackSwitchingSchedule>] [-Reason <string>] [-PowerOn] [-IncludeTags] [-RunAsync] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>] |
- Start to perform failback from a CDP replica to a VM recovered from a replica to a new location, or to any location but with different settings. The VM will be recovered from the replica during the failback process.
Start-VBRCDPReplicaFailback -Replica <VBRCDPReplica> -Server <Object> [-DRProxy <VBRCDPProxy[]>] [-ProductionProxy <VBRCDPProxy[]>] [-Complete] [-SwitchToProduction] [-SwitchingSchedule <VBRFailbackSwitchingSchedule>] [-Reason <string>] [-PowerOn] [-ResourcePool <CViResourcePoolItem>] [-Folder <CViFolderItem>] [-Datastore <VBRViDatastoreBase>] [-DRNetwork <VBRViNetworkInfo[]>] [-ProductionNetwork <VBRViNetworkInfo[]>] [-IncludeTags] [-RunAsync] [-Force] [-VmName <String>] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet starts to perform failback from CDP replica to the production VM. The CPD replica must be in the failover status. After you start to commit failback, the cmdlet switches the status of the CDP replica from the Fialover state to the Ready to switch state.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Replica | Specifies a CDP replica from which you want to perform failback. | Accepts the VBRCDPReplica object. To create this object, run the Get-VBRCDPReplica cmdlet. | True | Named | True (ByValue, ByPropertyName) |
DestinationVM | For performing failback to a new location. Specifies a VM that is restored in a different location. The cmdlet will perform failback from the CDP replica to this VM. | Accepts the CViVmItem object. To get this object, run the Find-VBRViEntity cmdlet. | True | Named | False |
Server | For performing failback to a new location or to any location but with different settings. Specifies an ESXi host or cluster. The cmdlet will perform failover of the CDP replica to a VM that will be recovered on this ESXi host or cluster. | Accepts the Object object. To get this object, run the Get-VBRServer cmdlet. | True | Named | False |
DRProxy | Specifies an array of VMware CDP proxies that are configured on the disaster recovery site. | Accepts the VBRCDPProxy[] object. To get this object, run the Get-VBRCDPProxy cmdlet. | False | Named | False |
ProductionProxy | Specifies an array of VMware CDP proxies that are configured on the production site. | Accepts the VBRCDPProxy[] object. To get this object, run the Get-VBRCDPProxy cmdlet. | False | Named | False |
Complete | Defines that the cmdlet will switch the CDP replica from the failback state to the permanent failback state. Note: Do not use this parameter if the PowerOn parameter is specified. Otherwise, the cmdlet will not work. | SwitchParameter | False | Named | False |
SwitchToProduction | Defines that the cmdlet will switch the CDP replica from the ready to switch state to the failback state. | SwitchParameter | False | Named | False |
SwitchingSchedule | Specifies a switching schedule for the CDP replica. The cmdlet will switch the replica to the production VM according to this schedule. | Accepts the VBRFailbackSwitchingSchedule object. To create this object, run the New-VBRFailbackSwitchingSchedule cmdlet. | False | Named | False |
Reason | Specifies the reason for performing failback. | String | False | Named | False |
ResourcePool | For performing failback to a new location or to any location but with different settings. Specifies a resource pool. The cmdlet will perform failback of the CDP replica to a VM that will be recovered to this resource pool. If you do not specify this parameter, the cmdlet will use the resource pool that is set as a default for the target host. | Accepts the CViResourcePoolItem object. To get this object, run the Find-VBRViEntity cmdlet. | False | Named | False |
Folder | For performing failback to a new location or to any location but with different settings. Specifies a folder. The cmdlet will perform failback of the CDP replica to a VM that will be recovered to this folder. If you do not specify this parameter, the cmdlet will use the folder that is set as a default for the target host. | Accepts the CViFolderItem object. To get this object, run the Find-VBRViEntity cmdlet. | False | Named | False |
Datastore | For performing failback to a new location or to any location but with different settings. Specifies the datastore. The cmdlet will perform failback of the CDP replica to a VM that will be recovered to this datastore. If not specified, the cmdlet will use the datastore that is set as default for the target host. | Accepts the VBRViDatastoreBase object. To get this object, run the Find-VBRViEntity cmdlet. | False | Named | False |
DRNetwork | For performing failback to a new location or to any location but with different settings. Specifies an array of disaster recovery site networks. The cmdlet will map replica to these networks. | Accepts the VBRViNetworkInfo[] object. To get this object, run the Get-VBRViServerNetworkInfo cmdlet. | False | Named | False |
ProductionNetwork | For performing failback to a new location or to any location but with different settings. Specifies an array of production site networks. The cmdlet will map the replica to these networks. | Accepts the VBRViNetworkInfo[] object. To get this object, run the Get-VBRViServerNetworkInfo cmdlet. | False | Named | False |
PowerOn | Defines that the cmdlet will power on a production VM after failback. If you do not provide this parameter, you will need to power the VM on manually. Default: False. Note: Do not use this parameter if the Complete parameter is specified. Otherwise, the cmdlet will not work. | SwitchParameter | False | Named | False |
IncludeTags | Defines that the cmdlet will restore VMs with their VMware tags. If you do not provide this paramer, the cmdlet will restore VMs without their VMware tag. | SwitchParameter | False | Named | False |
QuickRollback | For performing failback to the original VM. 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. | SwitchParameter | False | Named | False |
RunAsync | Defines that the command returns immediately without waiting for the task to complete. Note: This parameter cannot be used if you set the failback switch schedule by running the New-VBRFailbackSwitchingSchedule cmdlet to the Auto or Scheduled types. | SwitchParameter | False | Named | False |
Force | Defines that the cmdlet will fail back without showing warnings in the PowerShell console. | SwitchParameter | False | Named | False |
VmName | For performing failback to a new location or to any location but with different settings. Specifies the name of the VM. The cmdlet will recover a VM with this name and will perform failback of the CDP replica to this VM. If not specified, the cmdlet will use the name of the original VM. | String | 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. | SwitchParameter | False | Named | False |
Confirm | Defines that the cmdlet will display a prompt that asks if you want to continue running the command. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Example 1. Performing Failback from CDP Replica to Orignal VM
This example shows how to perform failback from the Win05 CDP replica to the original VM with the following settings:
Perform the following steps:
|
Example 2. Performing Failback from CDP Replica to Different Location
This example shows how to perform failback from the Win05 CDP replica to the Win05_Prod VM. This VM is restored on the ESXiHost 04 ESXi host.
Perform the following steps:
|
Example 3. Performing Failback from CDP Replica with Different Settings
This example shows how to perform failback from the Win05 CDP replica to the Win07_Prod VM. The Win07_Prod VM is restored during failback to the Resources resource pool and the ProductionRestored folder.
Perform the following steps:
|
Related Commands