Restart-VEPSQLInstancePublish
Short Description
Restarts a failed publishing process for a backed-up PostgreSQL instance.
Product: Veeam Backup & Replication
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Restart-VEPSQLInstancePublish [-InstancePublish] <VEPSQLInstancePublish> [<CommonParameters>] |
Detailed Description
This cmdlet restarts a failed publishing process for a backed-up PostgreSQL instance.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
InstancePublish |
Specifies the PostgreSQL instance publishing process. The cmdlet will restart this publishing process.
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 Docs.
Examples
Restarting Publishing Process for PostgreSQL Instance
This example shows how to restart a failed publishing process for a PostgreSQL instance.
|
$publish = Get-VEPSQLInstancePublish -InstanceName "rhel02:5433" Restart-VEPSQLInstancePublish -InstancePublish $publish |
Perform the following steps:
- Run the
Get-VEPSQLInstancePublishReturns active publishing sessions for backed-up PostgreSQL instances. cmdlet. Specify theInstanceNameparameter value and save the result to the$publishvariable. - Run the
Restart-VEPSQLInstancePublishcmdlet. Set the$publishvariable as theInstancePublishparameter value.
Related Commands
Get-VEPSQLInstancePublishReturns active publishing sessions for backed-up PostgreSQL instances.