Restart-VEPSQLInstancePublish
Short Description
Restarts a failed publishing process for a backed-up PostgreSQL instance.
Applies to
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 VEPSQLInstancePublish object. To get this object, run the Get-VEPSQLInstancePublish 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 Publishing Process for a 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-VEPSQLInstancePublish cmdlet. Specify the InstanceName parameter value and save the result to the $publish variable.
- Run the Restart-VEPSQLInstancePublish cmdlet. Set the $publish variable as the InstancePublish parameter value.
Related Commands