Restart-VEPSQLDatabaseExport
Short Description
Restarts a failed export process for a backed-up PostgreSQL database.
Product: 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 |
True |
0 |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
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:
- Run the
Get-VEPSQLDatabaseExportReturns PostgreSQL databases with ongoing export sessions. cmdlet. Save the result to the$exportvariable.The cmdlet will return an array of PostgreSQL export sessions. Note the ordinal number of the necessary export session. In this example, it is the first export session in the array.
- Run the
Restart-VEPSQLDatabaseExportcmdlet. Set the$exportvariable as theExportparameter value and select the necessary export session.
Related Commands
Get-VEPSQLDatabaseExportReturns PostgreSQL databases with ongoing export sessions.