Restart-VEPSQLInstanceRestore
Short Description
Restarts a failed restore process for a backed-up PostgreSQL instance.
Product: Veeam Backup & Replication
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Restart-VEPSQLInstanceRestore [-InstanceRestore] <VEPSQLInstanceRestore> [<CommonParameters>] |
Detailed Description
This cmdlet restarts a failed restore process for a backed-up PostgreSQL instance.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
InstanceRestore |
Specifies the PostgreSQL instance restore process. The cmdlet will restart this restore process.
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 Restore Process for PostgreSQL Instance
This example shows how to restart a failed restore process for the rhel01:5433 instance.
|
$restore = Get-VEPSQLInstanceRestore -InstanceName "rhel01:5433" Restart-VEPSQLInstanceRestore -InstanceRestore $restore |
Perform the following steps:
- Run the
Get-VEPSQLInstanceRestoreReturns information about the restore process for backed-up PostgreSQL instances. cmdlet. Specify theInstanceNameparameter value. Save the result to the$restorevariable. - Run the
Restart-VEPSQLInstanceRestorecmdlet. Set the$restorevariable as theInstanceRestoreparameter value.
Related Commands
Get-VEPSQLInstanceRestoreReturns information about the restore process for backed-up PostgreSQL instances.