Stop-VESQLDatabaseExport

Short Description

Stops an active export job for a Microsoft SQL Server database.

Product: Veeam Backup & Replication

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Stop-VESQLDatabaseExport [-DatabaseExport] <VESQLDatabaseExport> [-Force] [<CommonParameters>]

Detailed Description

This cmdlet stops an active export job for a Microsoft SQL Server database.

Note

Export jobs will not stop automatically if you close the PowerShell console. To stop the export job, you must run the Stop-VESQLDatabaseExport cmdlet.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

DatabaseExport

Specifies an export job that you want to stop.

Accepts the VESQLDatabaseExport object. To get this object, run the Get-VESQLDatabaseExportReturns Microsoft SQL Server databases with ongoing export jobs. cmdlet.

VESQLDatabaseExport

True

0

True (ByValue)

Force

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

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.

Examples

Stopping Export Job

This example shows how to stop an export job for a Microsoft SQL Server database.

$export = Get-VESQLDatabaseExport

Stop-VESQLDatabaseExport -DatabaseExport $export[0] -Force

Perform the following steps:

  1. Run the Get-VESQLDatabaseExportReturns Microsoft SQL Server databases with ongoing export jobs. cmdlet. Save the result to the $export variable.

    The cmdlet will return an array of active export jobs. Note the ordinal number of the necessary export job (in this example, it is the first export job in the array).

  2. Run the Stop-VESQLDatabaseExport cmdlet. Set the $export variable as the DatabaseExport parameter value and select the necessary export job. Provide the Force parameter.

Page updated 2026-08-18

Page content applies to build 13.1.1.18