--- title: "Stop-VEPSQLInstanceRestore" description: "Stops the restore process for a backed-up PostgreSQL instance. Product: Veeam Backup & Replication Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet stops an active restore process started for " canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/stop-vepsqlinstancerestore.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for PostgreSQL > Stop-VEPSQLInstanceRestore" dateModified: "2026-08-18" --- # Stop-VEPSQLInstanceRestore ## Short Description Stops the restore process for a backed-up PostgreSQL instance. **Product**: Veeam Backup & Replication **Product Edition**: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Stop-VEPSQLInstanceRestore [-InstanceRestore] [-Force] [] ``` ## Detailed Description This cmdlet stops an active restore process started for a PostgreSQL instance. ::: note Restore processes will not stop automatically if you close the PowerShell console. To stop the restore process, you must run the `Stop-VEPSQLInstanceRestore` cmdlet. ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Force

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

SwitchParameter

False

Named

False

InstanceRestore

Specifies the PostgreSQL instance restore process. The cmdlet will stop this restore process.

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

VEPSQLInstanceRestore

True

0

True (ByValue)

`` 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 Docs. ## Examples ::: example ### Stopping Restore Process for PostgreSQL Instance This example shows how to stop the restore process for a PostgreSQL instance. ``` $restore = Get-VEPSQLInstanceRestore -InstanceName "rhel01:5433" Stop-VEPSQLInstanceRestore -InstanceRestore $restore ``` Perform the following steps: 1. Run the [`Get-VEPSQLInstanceRestore`](get-vepsqlinstancerestore.md) cmdlet. Specify the `InstanceName` parameter value and save the result to the `$restore` variable. 2. Run the `Stop-VEPSQLInstanceRestore` cmdlet. Set the `$restore` variable as the `InstanceRestore` parameter value. ::: ## Related Commands [`Get-VEPSQLInstanceRestore`](get-vepsqlinstancerestore.md)