Restart-VEPSQLInstanceRestore

Short Description

Restarts a failed restore process for a backed-up PostgreSQL instance.

Applies to

Veeam Backup & Replication

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Restart-VEPSQLInstanceRestore [-InstanceRestore] <VEPSQLInstanceRestore> [<CommonParameters>]

Detailed Description

This cmdlet restarts a failed restore process for a PostgreSQL instance.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

InstanceRestore

Specifies the PostgreSQL instance restore process. The cmdlet will restart this restore process.

Accepts the VEPSQLInstanceRestore object. To get this object, run the Get-VEPSQLInstanceRestore 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 Failed Restore Process for a PostgreSQL Instance

This example shows how to restart a failed restore process for the rhel01:5433 instance.

$restore = Get-VEPSQLInstanceRestore -InstanceName "rhel01:5433"

Restart-VEPSQLInstanceRestore -InstanceRestore $restore

Perform the following steps:

  1. Run the Get-VEPSQLInstanceRestore cmdlet. Specify the InstanceName parameter value. Save the result to the $restore variable.
  2. Run the Restart-VEPSQLInstanceRestore cmdlet. Set the $restore variable as the Instance parameter value.

Related Commands

Get-VEPSQLInstanceRestore