Restart-VEPSQLDatabaseExport

Short Description

Restarts a failed export process for a backed-up PostgreSQL database.

Applies to

Veeam Backup & Replication

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

Syntax

Restart-VEPSQLDatabaseExport [-Export] <VEPSQLDatabaseExport> [<CommonParameters>]

Detailed Description

This cmdlet restarts a failed export process for a PostgreSQL database.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Export

Specifies the PostgreSQL database export session that the cmdlet will restart.

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

True

0

True (ByValue)

<CommonParameters>

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

Example

Restarting PostgreSQL Export Session

This example shows how to restart a failed export process for a PostgreSQL database.

$export = Get-VEPSQLDatabaseExport

Restart-VEPSQLDatabaseExport -Export $export[0]

Perform the following steps:

  1. Run the Get-VEPSQLDatabaseExport cmdlet. Save the result to the $export variable.

The cmdlet will return an array of PostgreSQL export sessions. Note the ordinal number of the necessary export session. In our example, it is the first export session in the array.

  1. Run the Restart-VEPSQLDatabaseExport cmdlet. Set the $export variable as the Export parameter value and select the necessary export session.

Related Commands

Get-VEPSQLDatabaseExport

Page updated 4/19/2024

Page content applies to build 12.3.0.310