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

Get-VEORDatabaseFile

In this article

    Short Description

    Returns full file names for backed-up Oracle databases.

    Applies to Veeam Backup & Replication

    Product Edition: Enterprise, Enterprise Plus

    Syntax

    Get-VEORDatabaseFile [-Database] <VEORDatabase>  [<CommonParameters>]

    Detailed Description

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

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    Accept Wildcard Characters

    Database

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

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

    True

    0

    True (ByValue)

    False

    <CommonParameters>

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

    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-VEORRestoreSession

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

    Get-VEORDatabaseFile -Database $database

    You must perform the following steps:

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

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

    1. Run the Get-VEORDatabase cmdlet. Set the $session variable as the Session parameter value.
    2. Run the Get-VEORDatabaseFile cmdlet. Set the $database variable as the Database parameter value.

    Related Commands

    Get-VEORDatabase