Get-VEPSQLPublishedDatabase

Short Description

Returns published PostgreSQL databases.

Applies to

Veeam Backup & Replication

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

Syntax

Get-VEPSQLPublishedDatabase [[-Name] <String[]>] [[-InstanceName] <String[]>] [[-ServerName] <String[]>] [<CommonParameters>]

Detailed Description

This cmdlet returns an array of published PostgreSQL databases. Once you get the necessary PostgreSQL database, you can use Start-VEPSQLDatabaseExport cmdlet to export it.

Note that you will only get an array of PostgreSQL databases published with PowerShell. The cmdlet does not return PostgreSQL databases published in the Veeam Backup & Replication console.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Name

Specifies an array of names of PostgreSQL databases. The cmdlet will return an array of databases with the specified names.

String[]

False

0

False

InstanceName

Specifies an array of names of PostgreSQL instances. The cmdlet will return an array of databases on the specified instances.

String[]

False

1

False

ServerName

Specifies an array of names of target PostgreSQL servers (as DNS names or IP addresses). The cmdlet will return an array of databases published on the specified servers.

String[]

False

2

False

<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 VEPSQLPublishedDatabase[] array that contains settings of published PostgreSQL databases.

Examples

Example 1. Getting All Published PostgreSQL Databases

Example 2. Getting All Published PostgreSQL Databases with Specific Names Belonging to Specific Instances

Example 3. Getting All PostgreSQL Databases Published on Specific Servers

Page updated 3/5/2025

Page content applies to build 12.3.2.3617