Get-VEPSQLInstanceInstantRecovery
Short Description
Returns PostgreSQL instances that are published within an instant recovery session.
Product: 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 the published PostgreSQL instances within an instant recovery session, you can perform the following operations with these instances:
Switch-VEPSQLInstanceInstantRecoveryPerforms switchover of a PostgreSQL instance published within an instant recovery session.Set-VEPSQLInstanceInstantRecoveryModifies switchover settings for a specified PostgreSQL instance.Stop-VEPSQLInstanceInstantRecoveryStops an active instant recovery session for a PostgreSQL instance.Restart-VEPSQLInstanceInstantRecoveryRestarts a failed instant recovery process for a PostgreSQL instance.
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. |
|
False |
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 Docs.
Output Object
The cmdlet returns the VEPSQLInstanceInstantRecovery[] array that contains PostgreSQL instances that are published within an instant recovery session.
Examples
Example 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
|
Example 2. Getting PostgreSQL Instances 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
|