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

Get-VEORRMANDatabaseFile

Short Description

Returns full file names for backed-up Oracle databases.

Applies to Veeam Backup & Replication

Product Edition: Community, Enterprise, Enterprise Plus

Syntax

Get-VEORRMANDatabaseFile [-Database] <VEORRMANDatabase>  [<CommonParameters>]

Detailed Description

This cmdlet returns full file names for backed-up Oracle databases.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Database

Specifies an Oracle database. The cmdlet will return an array of full file names for the specified database.

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

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.

Output Object

The cmdlet returns the VEORRMANDatabaseFile object that contains settings of full file names for backed-up Oracle databases.

Examples

Getting List of Full File Names for Backed-Up Oracle Database

This example shows how to get a list of full file names for a backed-up Oracle database.

$session = Get-VEORRMANRestoreSession

$database = Get-VEORRMANDatabase -Session $session[0]

Get-VEORRMANDatabaseFile -Database $database

Perform the following steps:

  1. Run the Get-VEORRMANRestoreSession cmdlet. Save the result to the $session variable.

The Get-VEORRMANRestoreSession cmdlet will return an array of active restore sessions. Mind the ordinal number of the necessary restore session (in our example, it is the first restore session in the array).

  1. Run the Get-VEORRMANDatabase cmdlet. Set the $session variable as the Session parameter value. Save the result to the $database variable.
  2. Run the Get-VEORRMANDatabaseFile cmdlet. Set the $database variable as the Database parameter value.

Related Commands