Stop-VEPSQLInstanceRestore
Short Description
Stops the restore process for a backed-up PostgreSQL instance.
Product: Veeam Backup & Replication
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Stop-VEPSQLInstanceRestore [-InstanceRestore] <VEPSQLInstanceRestore> [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet stops an active restore process started for a PostgreSQL instance.
Note |
|
Restore processes will not stop automatically if you close the PowerShell console. To stop the restore process, you must run the |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Force |
Defines that the cmdlet will show no prompt before executing the command. |
|
False |
Named |
False |
|
InstanceRestore |
Specifies the PostgreSQL instance restore process. The cmdlet will stop 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 Learn.
Examples
Stopping Restore Process for PostgreSQL Instance
This example shows how to stop the restore process for a PostgreSQL instance.
|
$restore = Get-VEPSQLInstanceRestore -InstanceName "rhel01:5433" Stop-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 and save the result to the$restorevariable. - Run the
Stop-VEPSQLInstanceRestorecmdlet. Set the$restorevariable as theInstanceRestoreparameter value.
Related Commands
Get-VEPSQLInstanceRestoreReturns information about the restore process for backed-up PostgreSQL instances.