Get-VEPSQLInstanceInstantRecovery

Short Description

Returns PostgreSQL instances that are published within an instant recovery session.

Applies to

Veeam Backup & Replication

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

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

Detailed Description

This cmdlet returns an array of PostgreSQL instances that are published within an instant recovery session.

After you get published PostgreSQL instances within an instant recovery session, you can perform the following operations with these instances:

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

InstanceName

Specifies a name of a PostgreSQL instance. The cmdlet will return an array of instances with the specified name.

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 VEPSQLInstanceInstantRecovery[] object that contains an array of PostgreSQL instances that are published within an instant recovery session.

Examples

Get-VEPSQLInstanceInstantRecoveryExample 1. Getting All Published PostgreSQL Instances Within Instant Recovery Session

This command returns a list of all published PostgreSQL instances within an instant recovery session. Save the result to the $IRInstance variable to be able to use it with other cmdlets.

$IRInstance = Get-VEPSQLInstanceInstantRecovery

Get-VEPSQLInstanceInstantRecoveryExample 2. Getting PostgreSQL Instance With Specific Name Published Within Instant Recovery Session

This command returns all PostgreSQL instances with the specified name published within an instant recovery session. Save the result to the $IRInstance variable to be able to use it with other cmdlets.

$IRInstance = Get-VEPSQLInstanceInstantRecovery -InstanceName "rhel01:5433"

Page updated 4/19/2024

Page content applies to build 12.3.0.310