Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Stop-VBRHvReplicaFailback

Short Description

Undoes Hyper-V replica failback.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Stop-VBRHvReplicaFailback -RestorePoint <COib> [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>]

Detailed Description

This cmdlet undoes the Hyper-V replica failback started with Start-VBRHvReplicaFailback.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

RestorePoint

Specifies the restore point of the replica VM. The cmdlet will undo failback of this VM.

True

Named

True (by Value
FromPipeline, ValueFromPipeline
ByPropertyName)

False

RunAsync

Indicates that the command returns immediately without waiting for the task to complete.

False

Named

False

False

WhatIf

Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.

False

Named

False

False

Confirm

Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example 1

This example shows how to stop failback using pipeline.

Run Get-VBRRestorePoint to get the restore point of the VM and save it to the $"WebServer_replica restorepoint" variable. Filter the restore points of the VM with the Sort-Object method by the "creationtime" property to get the most recent one. Pipe the result to the Stop-VBRHvReplicaFailback. Use the RunAsync parameter to bring the process to the background.

PS C:\PS> Get-VBRRestorePoint -Name "WebServer_replica" | Sort-Object $_.creationtime -Descending | Select -First 1 | Stop-VBRHvReplicaFailback -RunAsync

Example 2

This example shows how to stop failback using a variable.

  1. Run Get-VBRRestorePoint to get the restore point of the VM. Filter the restore points of the VM with the Sort-Object method by the "creationtime" property to get the most recent one. Save it to the $"WebServer_replica restorepoint" variable.
  2. Run Stop-VBRHvReplicaFailback with the saved variable. Use the RunAsync parameter to bring the process to the background.

PS C:\PS> $WebServer_replica_restorepoint = Get-VBRRestorePoint -Name "WebServer_replica" | Sort-Object $_.creationtime -Descending | Select -First 1

PS C:\PS> Stop-VBRHvReplicaFailback -RestorePoint $WebServer_replica_restorepoint -RunAsync

Related Commands

Get-VBRRestorePoint

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Endpoint Backup Documentation

Veeam Management Pack Documentation