--- title: "Stop-VESQLInstantRecovery" description: "Stops an active instant recovery session for a Microsoft SQL Server database. Product: Veeam Backup & Replication Product Edition: Enterprise, Enterprise Plus, Veeam Universal License This cmdlet stops an active instant recovery session for a backed-" canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/stop-vesqlinstantrecovery.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft SQL Server > Stop-VESQLInstantRecovery" dateModified: "2026-08-20" --- # Stop-VESQLInstantRecovery ## Short Description Stops an active instant recovery session for a Microsoft SQL Server database. **Product**: Veeam Backup & Replication **Product Edition**: Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Stop-VESQLInstantRecovery [-Database] [-Force] [] ``` ## Detailed Description This cmdlet stops an active instant recovery session for a backed-up Microsoft SQL Server. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Database

Specifies a Microsoft SQL Server database. The cmdlet will stop the instant recovery session of this database.

Accepts the VESQLIRDatabase object. To get this object, run the Get-VESQLIRDatabase cmdlet.

VESQLIRDatabase

True

0

True (ByValue)

Force

Defines that the cmdlet will show no prompt before executing the command.

SwitchParameter

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Learn. ## Examples ::: example ### Stopping Instant Recovery Session of a Microsoft SQL Server Database This example shows how to stop an instant recovery session of the `monthly_db` database. ``` $IRDatabase = Get-VESQLIRDatabase -DatabaseName "monthly_db" Stop-VESQLInstantRecovery -Database $IRDatabase ``` Perform the following steps: 1. Run the [`Get-VESQLIRDatabase`](get-vesqlirdatabase.md) cmdlet. Specify the `DatabaseName` parameter value. Save the result to the `$IRDatabase` variable. 2. Run the `Stop-VESQLInstantRecovery` cmdlet. Set the `$IRDatabase` variable as the `Database` parameter value. ::: ## Related Commands [`Get-VESQLIRDatabase`](get-vesqlirdatabase.md)