Get-VEPSQLRestoreSession
Short Description
Returns active restore sessions started to perform operations with backed-up PostgreSQL instances.
Applies to
Veeam Backup & Replication
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Get-VEPSQLRestoreSession [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of active restore sessions started to perform operations with backed-up PostgreSQL instances.
|
The cmdlet returns restore sessions initiated in the PowerShell console only. The cmdlet does not return restore sessions running in the Veeam Backup & Replication console. |
Parameters
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.
Output Object
The cmdlet returns the VEPSQLRestoreSession object that contains settings of restore sessions started to explore backed-up PostgreSQL databases and to perform operations with PostgreSQL instances.
Examples
Example 1. Getting All Running Restore Sessions
This command gets all restore sessions to perform operations with PostgreSQL databases. Save the result to the $session variable to be able to use this variable with other cmdlets.
|
Example 2. Getting Specific Restore Session
This example shows how to get a specific restore session to perform operations with PostgreSQL databases.
Perform the following steps:
The Get-VEPSQLRestoreSession cmdlet will return an array of active restore sessions.
|