--- title: "Stop-VEPSQLDatabaseExport" description: "Stops an active export session for a PostgreSQL database. Product: Veeam Backup & Replication Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet stops an active export session for a PostgreSQL d" canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/stop-vepsqldatabaseexport.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for PostgreSQL > Stop-VEPSQLDatabaseExport" dateModified: "2026-08-18" --- # Stop-VEPSQLDatabaseExport ## Short Description Stops an active export session for a PostgreSQL database. **Product**: Veeam Backup & Replication **Product Edition**: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Stop-VEPSQLDatabaseExport [-Export] [-Force] [] ``` ## Detailed Description This cmdlet stops an active export session for a PostgreSQL database. ::: note Export sessions will not stop automatically if you close the PowerShell console. To stop the export session, you must run the `Stop-VEPSQLDatabaseExport` cmdlet. ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Export

Specifies a PostgreSQL export session that you want to stop.

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

VEPSQLDatabaseExport

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 Docs. ## Examples ::: example ### Stopping PostgreSQL Export Session This example shows how to stop a PostgreSQL export session. ``` $export = Get-VEPSQLDatabaseExport Stop-VEPSQLDatabaseExport -Export $export[0] -Force ``` Perform the following steps: 1. Run the [`Get-VEPSQLDatabaseExport`](get-vepsqldatabaseexport.md) cmdlet. Save the result to the `$export` variable. The cmdlet will return an array of active export sessions. Note the ordinal number of the necessary export session (in this example, it is the first export session in the array). 2. Run the `Stop-VEPSQLDatabaseExport` cmdlet. Set the `$export` variable as the `Export` parameter value and select the necessary export session. Provide the `Force` parameter. ::: ## Related Commands - [`Get-VEPSQLDatabaseExport`](get-vepsqldatabaseexport.md) - [`Start-VEPSQLDatabaseExport`](start-vepsqldatabaseexport.md)