Restart-VEPSQLInstanceInstantRecovery
Short Description
Restarts a failed instant recovery process for a PostgreSQL instance.
Product: Veeam Backup & Replication
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Restart-VEPSQLInstanceInstantRecovery [-Instance] <VEPSQLInstanceInstantRecovery> [<CommonParameters>] |
Detailed Description
This cmdlet restarts a failed instant recovery process for a PostgreSQL instance.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Instance |
Specifies the PostgreSQL instance with an ongoing instant recovery session. The cmdlet will restart the instant recovery process for this instance.
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 Docs.
Examples
Restarting Failed Instant Recovery Process for Specific PostgreSQL Instance
This example shows how to restart an instant recovery session for the rhel01:5433 instance.
|
$IRInstance = Get-VEPSQLInstanceInstantRecovery -InstanceName "rhel01:5433" Restart-VEPSQLInstanceInstantRecovery -Instance $IRInstance |
Perform the following steps:
- Run the
Get-VEPSQLInstanceInstantRecoveryReturns PostgreSQL instances that are published within an instant recovery session. cmdlet. Specify theInstanceNameparameter value. Save the result to the$IRInstancevariable. - Run the
Restart-VEPSQLInstanceInstantRecoverycmdlet. Set the$IRInstancevariable as theInstanceparameter value.
Related Commands
Get-VEPSQLInstanceInstantRecoveryReturns PostgreSQL instances that are published within an instant recovery session.