Get-VEPSQLInstance
Short Description
Returns backed-up PostgreSQL instances.
Product: Veeam Backup & Replication
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VEPSQLInstance [-Session] <VEPSQLRestoreSession> [-DataDirectory <String>] [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of backed-up PostgreSQL instances.
After you get backed-up PostgreSQL instances, you can perform the following operations with these instances:
- Run the
Start-VEPSQLInstanceRestoreRestores a backed-up PostgreSQL instance. cmdlet to restore PostgreSQL instances. - Run the
Start-VEPSQLInstancePublishPublishes a backed-up PostgreSQL instance. cmdlet to publish PostgreSQL instances. - Run the
Start-VEPSQLInstanceInstantRecoveryPerforms instant recovery of a backed-up PostgreSQL instance. cmdlet to instantly recover PostgreSQL instances.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DataDirectory |
Specifies a path to the data directory of the backed-up PostgreSQL instance. The cmdlet will return the PostgreSQL instance with the specified data directory. |
|
False |
Named |
False |
|
Session |
Specifies an active restore session. The cmdlet will return an array of PostgreSQL instances within the specified restore session.
Accepts the |
True |
0 |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VEPSQLInstance[] array that contains backed-up PostgreSQL instances.
Examples
Example 1. Getting PostgreSQL Instances Within Specified Restore Session
|
This example shows how to get all PostgreSQL instances included in a PostgreSQL restore session.
Perform the following steps:
|
Example 2. Getting PostgreSQL Instance with Specified Data Directory
|
This example shows how to get a specific PostgreSQL instance included in a PostgreSQL restore session.
Perform the following steps:
|
Related Commands
Get-VEPSQLRestoreSessionReturns active restore sessions started to perform operations with backed-up PostgreSQL instances.