Get-VEORRMANRestoreSession

Short Description

Returns active restore sessions started to explore Oracle databases backed up with Veeam Plug-in for Oracle RMAN.

Applies to

Veeam Backup & Replication

Product Edition: Enterprise Plus, Veeam Universal License

Syntax

Get-VEORRMANRestoreSession [<CommonParameters>]

Detailed Description

This cmdlet returns an array of active restore sessions started to explore Oracle databases backed up with Veeam Plug-in for Oracle RMAN.

Get-VEORRMANRestoreSession Note:

  • You can only get an array of restore sessions that are started in PowerShell. The cmdlet does not return restore sessions started in the Veeam Backup & Replication console.
  • The cmdlet only returns an array of restore sessions started within the same PowerShell session.

Parameters

<CommonParameters>

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

Output Object

The cmdlet returns the VEORRMANRestoreSession[] object that contains settings of restore sessions for Oracle databases backed up with Veeam Plug-in for Oracle RMAN.

Examples

Get-VEORRMANRestoreSessionExample 1. Getting all Running Restore Sessions

This command gets all running restore sessions for Oracle databases backed up with Veeam Plug-in for Oracle RMAN. Save the result to the $session variable to be able to use it with other cmdlets.

$session = Get-VEORRMANRestoreSession

Get-VEORRMANRestoreSessionExample 2. Getting Specific Restore Session

This example shows how to get a specific restore session for Oracle databases backed up with Veeam Plug-in for Oracle RMAN.

$session = Get-VEORRMANRestoreSession

$session[0]

Perform the following steps:

  1. Run the Get-VEORRMANRestoreSession cmdlet. Save the result to the $session variable.
  2. Specify the necessary ordinal number of the restore session for the $session variable. Note the ordinal number of the necessary restore session. In our example, it is the first restore session in the array.

Page updated 10/11/2023

Page content applies to build 12.1.1.56