Stops a running instant VM recovery process.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Stop-VBRInstantRecovery [-InstantRecovery] <InstantRecovery> [-RunAsync] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]
This cmdlet stops publishing a VM within an instant recovery process.
With instant recovery technology, Veeam Backup & Replication starts a VM 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 VM to production or by stopping publishing the recovered VM.
To migrate the VM, run Start-VBRQuickMigration.
Specifies the running instant VM recovery process that you want to stop.
Indicates 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