Get-VEPSQLInstanceRestore

Short Description

Returns information about the restore process for backed-up PostgreSQL instances.

Applies to

Veeam Backup & Replication

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

Syntax

Get-VEPSQLInstanceRestore [[-InstanceName] <String>] [<CommonParameters>]

Detailed Description

This cmdlet returns information about the restore process for a backed-up PostgreSQL instance.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

InstanceName

Specifies the name of the restored PostgreSQL instance. The cmdlet will return information about the restore process performed for the specified instance.

String

False

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.

Output Object

The cmdlet returns the VEPSQLInstanceRestore[] object that contains information about the PostgreSQL instance restore process.

Examples

Get-VEPSQLInstanceRestoreExample 1. Getting All PostgreSQL Restore Processes

This command returns a list of all active PostgreSQL restore processes. Save the result to the $restore variable to be able to use it with other cmdlets.

$restore = Get-VEPSQLInstanceRestore

Get-VEPSQLInstanceRestoreExample 2. Getting PostgreSQL Restore Processes for Specific Instance

This command returns all active restore processes for a specific PostgreSQL instance. Save the result to the $restore variable to be able to use it with other cmdlets.

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