Get-VEORRMANDatabase
Short Description
Returns 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-VEORRMANDatabase [-Session] <VEORRMANRestoreSession> [[-Name] <String[]>] [-OracleHome <String[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns Oracle databases backed up with Veeam Plug-in for Oracle RMAN.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Session | Specifies an active restore session for an Oracle database backed-up with Veeam Plug-in for Oracle RMAN. The cmdlet will return an array of Oracle databases backed-up with Veeam Plug-in for Oracle RMAN within the specified restore session. | Accepts the VEORRMANRestoreSession object. To get this object, run the Get-VEORRMANRestoreSession cmdlet. | True | 0 | False |
Name | Specifies an array of Oracle database names. The cmdlet will return Oracle databases with the specified names from the restore session. | String[] | False | 1 | False |
OracleHome | Specifies an array of Oracle home paths. The cmdlet will return Oracle databases from the restore session with the specified paths. | String[] | False | Named | False |
<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 VEORRMANDatabase[] array that contains Oracle databases backed up by Veeam Plug-in for Oracle RMAN.
Examples
Example 1. Getting Databases Within Specified Restore Session
This example shows how to get all Oracle databases backed up with Veeam Plug-in for Oracle RMAN within the specific restore session. Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session. In our example, it is the first restore session in the array.
|
Example 2. Getting Database with Specified Name
This example shows how to get an Oracle database backed up with Veeam Plug-in for Oracle RMAN with the specified name.
Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session. In our example, it is the first restore session in the array.
|
Example 3. Getting Databases with Specific Names Located in Specific Oracle Home Directories
This example shows how to get Oracle databases with the specified names that are located in the specified Oracle Home directories.
Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session. In our example, it is the first restore session in the array.
|
Related Commands