Stop-VBRInstantRecovery

Short Description

Stops running Instant Recovery sessions.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Stop-VBRInstantRecovery [-InstantRecovery] <InstantRecovery[]> [-RunAsync]  [<CommonParameters>]

Detailed Description

This cmdlet stops publishing a workload within Instant Recovery processes (including Instant Recovery for first class disks, file shares and so on).

With instant recovery technology, Veeam Backup & Replication starts a workload directly from a backup, incremental or full, without copying it to production storage. You need to finalize the successful instant recovery by either migrating the recovered workload to production or by stopping publishing the recovered workload.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

InstantRecovery

Specifies an array of IDs of the running Instant Recovery sessions that you want to stop.

Accepts the InstantRecovery[] object. To create this object, run the Get-VBRInstantRecovery cmdlet.

True

0

True (ByValue, ByPropertyName)

RunAsync

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

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Example 1

This command stops the last instant recovery session. The needed session object is obtained with Get-VBRInstantRecovery, selected by order and piped down.

Get-VBRInstantRecovery | Select -Last 1 | Stop-VBRInstantRecovery

Example 2

This command stops the instant recovery session represented by the $RecoverySession variable. The needed session object is obtained with Get-VBRInstantRecovery and assigned to the variable beforehand.

Stop-VBRInstantRecovery -InstantRecovery $RecoverySession

Related Commands

Get-VBRInstantRecovery