Start-VBRCDPReplicaFailback
Short Description
Starts to perform failback from a CDP replica to the production VM.
Syntax
This cmdlet provides the following parameter sets:
-
ToOriginal (Default)Start-VBRCDPReplicaFailback -Replica <VBRCDPReplica> [-DRProxy <VBRCDPProxy[]>]
[-ProductionProxy <VBRCDPProxy[]>] [-Complete] [-SwitchToProduction]
[-SwitchingSchedule <VBRFailbackSwitchingSchedule>] [-Reason <String>] [-PowerOn] [-IncludeTags]
[-QuickRollback] [-RunAsync] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
-
DifferentLocationStart-VBRCDPReplicaFailback -Replica <VBRCDPReplica> [-DRProxy <VBRCDPProxy[]>]
[-ProductionProxy <VBRCDPProxy[]>] [-Complete] [-SwitchToProduction]
[-SwitchingSchedule <VBRFailbackSwitchingSchedule>] [-Reason <String>] [-PowerOn] -DestinationVM <CViVmItem>
[-IncludeTags] [-RunAsync] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
-
SpecifiedLocationStart-VBRCDPReplicaFailback -Replica <VBRCDPReplica> [-DRProxy <VBRCDPProxy[]>]
[-ProductionProxy <VBRCDPProxy[]>] [-Complete] [-SwitchToProduction]
[-SwitchingSchedule <VBRFailbackSwitchingSchedule>] [-Reason <String>] [-PowerOn] -Server <Object>
[-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 Failover state to the Ready to switch state.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
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 |
|
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 |
|
False |
Named |
False |
|
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 |
|
True |
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 |
False |
Named |
False |
|
|
DRProxy |
Specifies an array of CDP proxies that are configured on the disaster recovery site.
Accepts the |
|
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 |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will fail back without showing warnings in the PowerShell console. |
|
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. |
|
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:
Note: Do not use this parameter if the |
|
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 |
False |
Named |
False |
|
|
ProductionProxy |
Specifies an array of CDP proxies that are configured on the production site.
Accepts the |
|
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. |
|
False |
Named |
False |
|
Reason |
Specifies the reason for performing failback. |
|
False |
Named |
False |
|
Replica |
Specifies a CDP replica from which you want to perform failback.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
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 |
|
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 |
|
False |
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 |
|
True |
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 |
|
False |
Named |
False |
|
SwitchToProduction |
Defines that the cmdlet will switch the CDP replica from the ready to switch state to the failback state. |
|
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. |
|
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 Failback from CDP Replica to Original VM
|
This example shows how to perform failback from the
Perform the following steps:
|
Example 2. Performing Failback from CDP Replica to Different Location
|
This example shows how to perform failback from the
Perform the following steps:
|
Example 3. Performing Failback from CDP Replica with Different Settings
|
This example shows how to perform failback from 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-VBRServerReturns hosts connected to the backup infrastructure.Find-VBRViEntityLooks for VMware objects.