Get-VEORRMANDatabaseFile
Short Description
Returns full file names for an Oracle database backed up with Veeam Plug-in for Oracle RMAN.
Product: Veeam Backup & Replication
Product Edition: Community, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VEORRMANDatabaseFile [-Database] <VEORRMANDatabase> [<CommonParameters>] |
Detailed Description
This cmdlet returns full file names for an Oracle database backed up with Veeam Plug-in for Oracle RMAN.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Database |
Specifies an Oracle database backed up with Veeam Plug-in for Oracle RMAN. 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 Docs.
Output Object
The cmdlet returns the VEORRMANDatabaseFile[] array that contains the full file names for the Oracle database backed up with Veeam Plug-in for Oracle RMAN.
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 an Oracle database backed up with Veeam Plug-in for Oracle RMAN.
|
$session = Get-VEORRMANRestoreSession $database = Get-VEORRMANDatabase -Session $session[0] -Name "orclrman" Get-VEORRMANDatabaseFile -Database $database |
Perform the following steps:
- Run the
Get-VEORRMANRestoreSessionReturns active restore sessions started to explore Oracle databases backed up with Veeam Plug-in for Oracle RMAN. cmdlet. 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-VEORRMANDatabaseReturns Oracle databases backed up with Veeam Plug-in for Oracle RMAN. 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-VEORRMANDatabaseFilecmdlet. Set the$databasevariable as theDatabaseparameter value.
Related Commands
Get-VEORRMANRestoreSessionReturns active restore sessions started to explore Oracle databases backed up with Veeam Plug-in for Oracle RMAN.Get-VEORRMANDatabaseReturns Oracle databases backed up with Veeam Plug-in for Oracle RMAN.