This is an archive version of the document. To get the most up-to-date information, see the current version.

Stop-VEORInstantRecovery

Short Description

Stops an active instant recovery session for an Oracle database.

Applies to

Veeam Backup & Replication

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Stop-VEORInstantRecovery [-Database] <VEORIRDatabase> [-Force] [<CommonParameters>]

Detailed Description

This cmdlet stops active instant recovery sessions started to restore an Oracle database backed up with the Veeam Backup & Replication.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Database

Specifies a Oracle database. The cmdlet will stop the instant recovery session of this database.

Accepts the VEORIRDatabase object. To get this object, run the Get-VEORIRDatabase cmdlet.

True

0

True (ByValue)

Force

Defines that the cmdlet will stop instant recovery session of an Oracle database without showing warnings in the PowerShell console.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.

Examples

Examples 1. Stopping Restore Session of Oracle Database

This example shows how to stop an instant recovery session of an Oracle database.

$IRDatabase = Get-VEORIRDatabase -DatabaseName "orcl1.tech.local"

Stop-VEORRDatabase -Database $IRDatabase

Perform the following steps:

  1. Run the Get-VEORIRDatabase cmdlet. Specify the DatabaseName parameter value. Save the result to the $IRDatabase variable.
  2. Run the Stop-VEORIRDatabase cmdlet. Set the $IRDatabase variable as the Database parameter value.

Related Commands

Get-VEORRestoreSession