Stops running Instant Recovery sessions.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Stop-VBRInstantRecovery [-InstantRecovery] <InstantRecovery> [-RunAsync] [<CommonParameters>]
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.
Accept Pipeline Input
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 (ByValue, ByPropertyName)
Defines that the command returns immediately without waiting for the task to complete.
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
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
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