Get-VEPSQLDatabaseExport
Short Description
Returns PostgreSQL databases with ongoing export sessions.
Applies to
Veeam Backup & Replication
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Get-VEPSQLDatabaseExport [-Name <String[]>] [-InstanceName <String[]>] [-ServerName <String[]>] [-TargetServerName <String[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of PostgreSQL databases with ongoing export sessions.
After you get the databases with ongoing export sessions, you can perform the following operations:
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
InstanceName | Specifies an array of names of PostgreSQL instances. The cmdlet will return an array of databases on the specified instances that have ongoing export sessions. | String[] | False | Named | False |
Name | Specifies an array of names of PostgreSQL databases. The cmdlet will return an array of databases with the specified names that have ongoing export sessions. | String[] | False | Named | False |
ServerName | Specifies an array of names of PostgreSQL servers. The cmdlet will return an array of databases on the specified servers that have ongoing export sessions. | String[] | False | Named | False |
TargetServerName | Specifies an array of names of target PostgreSQL servers for export operations. The cmdlet will return an array of databases that are being exported to the specified target servers. | String[] | False | Named | 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 VEPSQLDatabaseExport[] object that contains an array of ongoing PostgreSQL export sessions.
Examples
Example 1. Getting All Export Sessions
This command returns all active PostgreSQL export sessions. Save the result to the $export variable to be able to use it with other cmdlets.
|
Example 2. Getting All PostgreSQL Export Sessions for Databases with Specific Names on Specific Instances
This example shows how to get an array of active PostgreSQL export sessions for databases with specific names located on specific instances.
Perform the following steps:
|
Example 3. Getting All PostgreSQL Export Sessions to Specific Servers
This example shows how to get an array of active PostgreSQL export sessions from backups of specific servers to specific target servers.
Perform the following steps:
|
Related Commands