Get-VEORDatabaseFile
Short Description
Returns full file names for a backed-up Oracle database.
Product: Veeam Backup & Replication
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VEORDatabaseFile [-Database] <VEORDatabase> [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of full file names for a backed-up Oracle database.
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 |
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.
Output Object
The cmdlet returns the VEORDatabaseFile[] array that contains database files of the specified Oracle database.
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] -Name "orcl" Get-VEORDatabaseFile -Database $database |
Perform the following steps:
- Run the
Get-VEORRestoreSessioncmdlet. Save the result to the$sessionvariable.The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session (in this example, it is the first restore session in the array).
- Run the
Get-VEORDatabaseReturns backed-up Oracle databases. cmdlet. Set the$sessionvariable as theSessionparameter value and select the necessary restore session. Specify theNameparameter value. Save the result to the$databasevariable. - Run the
Get-VEORDatabaseFilecmdlet. Set the$databasevariable as theDatabaseparameter value.
Related Commands
Get-VEORDatabaseReturns backed-up Oracle databases.