Start-VBRvCDCDPReplicaFailback
Short Description
Starts to perform failback from a Cloud Director CDP replica to the production vApp.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
ToOriginal (Default)Start-VBRvCDCDPReplicaFailback -Replica <VBRvCDCDPReplica> [-DRProxy <VBRCDPProxy[]>]
[-ProductionProxy <VBRCDPProxy[]>] [-Complete] [-SwitchToProduction] [-Retry]
[-SwitchingSchedule <VBRFailbackSwitchingSchedule>] [-Reason <String>] [-PowerOn] [-RunAsync] [-Force]
[-WhatIf] [-Confirm] [<CommonParameters>]
-
DifferentLocationStart-VBRvCDCDPReplicaFailback -Replica <VBRvCDCDPReplica> [-DRProxy <VBRCDPProxy[]>]
[-ProductionProxy <VBRCDPProxy[]>] [-Complete] [-SwitchToProduction] [-Retry]
[-SwitchingSchedule <VBRFailbackSwitchingSchedule>] -DestinationvApp <CVcdVappItem> [-Reason <String>]
[-PowerOn] [-RunAsync] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
-
SpecifiedLocationStart-VBRvCDCDPReplicaFailback -Replica <VBRvCDCDPReplica> [-DRProxy <VBRCDPProxy[]>]
[-ProductionProxy <VBRCDPProxy[]>] [-Complete] [-SwitchToProduction] [-Retry]
[-SwitchingSchedule <VBRFailbackSwitchingSchedule>] -OrganizationvDC <CVcdOrganizationVdcItem>
[-DestinationVAppName <String>] [-StoragePolicy <CVcdOrgVdcStorageProfile>]
[-DRNetwork <VBRvCDOrgVdcNetworkInfo[]>] [-ProductionNetwork <VBRvCDOrgVdcNetworkInfo[]>] [-Reason <String>]
[-PowerOn] [-RunAsync] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
Detailed Description
This cmdlet starts to perform failback from a Cloud Director CDP replica to the production vApp. The replica must be in the Failover state. After you start to commit failback, the cmdlet switches the state of the replica from Failover to Ready to switch.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Complete |
Defines that the cmdlet will commit failback. |
|
False |
Named |
False |
|
DestinationvApp |
For performing failback to an already recovered vApp in a different location. Specifies the original vApp that is restored in a different location. The cmdlet will perform failback from the replica to this vApp.
Accepts the |
|
True |
Named |
False |
|
DestinationVAppName |
For performing failback to a different location or with different settings. Specifies a name for the vApp that will be restored from the specified replica. The cmdlet will create a vApp with this name and will perform failback to this vApp. |
|
False |
Named |
False |
|
DRNetwork |
For performing failback to a different location or with different settings. Specifies an array of networks in the disaster recovery site to which replica is connected. The cmdlet will map these networks to the networks in the production site.
Note: If you specify this parameter, you must also specify the
Accepts the |
|
False |
Named |
False |
|
DRProxy |
Specifies an array of CDP proxies that are configured in the disaster recovery site and that will be used for failback.
Accepts the |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will fail back without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
OrganizationvDC |
For performing failback to a different location or with different settings. Specifies the organization VDC where you want to restore the vApp from the specified replica.
Accepts the |
|
True |
Named |
False |
|
PowerOn |
Defines that the cmdlet will power on the production vApp after failback. If you do not provide this parameter, you will need to power on VMs in the vApp manually.
Default:
Note: If you provide this parameter with the |
|
False |
Named |
False |
|
ProductionNetwork |
For performing failback to a different location or with different settings. Specifies an array of networks in the production site. The cmdlet will restore the vApp from the specified replica and will map the replica networks to these networks.
Note: If you specify this parameter, you must also specify the
Accepts the |
|
False |
Named |
False |
|
ProductionProxy |
Specifies an array of CDP proxies that are configured in the production site and that will be used for failback.
Accepts the |
|
False |
Named |
False |
|
Reason |
Specifies the reason for performing failback. |
|
False |
Named |
False |
|
Replica |
Specifies the replica from which you want to fail back.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Retry |
Defines that if failback does not complete successfully, the cmdlet will start to perform failback to a replica again. If you do not specify this parameter, the cmdlet will not start to perform failback if any vApps are in the incomplete state. |
|
False |
Named |
False |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete.
Note: This parameter can be used if you set the failback switch schedule by running the |
|
False |
Named |
False |
|
StoragePolicy |
For performing failback to a different location or with different settings. Specify the storage policy that you want to apply to the production vApp after performing failback.
Accepts the |
|
False |
Named |
False |
|
SwitchingSchedule |
Specifies a switching schedule. The cmdlet will switch the replica to the production vApp according to this schedule.
Accepts the |
|
False |
Named |
False |
|
SwitchToProduction |
Defines that the cmdlet will switch the replica from the Ready to switch state to the Failback state. |
|
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.
Output Object
SessionId <Guid>
Examples
Example 1. Performing Failback from Cloud Director CDP Replica to Original vApp
|
This example shows how to start to perform failback from a Cloud Director CDP replica to the original vApp.
Perform the following steps:
|
Example 2. Performing Failback from Cloud Director CDP Replica to Original vApp in New Location
|
This example shows how to start to perform failback from a Cloud Director CDP replica to the original vApp that is already recovered to a new location.
Perform the following steps:
|
Example 3. Performing Failback from Cloud Director CDP Replica to Different Location
|
This example shows how to start to perform failback from a Cloud Director CDP replica to a different location.
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-VBRvCloudEntityLooks for Cloud Director entities.