Get-VEORDatabaseRestoreInterval
Short Description
Returns details on available restore period for a backed-up Oracle database.
Applies to
Veeam Backup & Replication
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Get-VEORDatabaseRestoreInterval [-Database] <VEORDatabase> [<CommonParameters>] |
Detailed Description
This cmdlet returns details on the available restore period for a backed-up Oracle database.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Database | Specifies a backed-up Oracle database. The cmdlet will return information on available restore period for the specified database. | Accepts the VEORDatabase object. To get this object, run the Get-VEORDatabase cmdlet. | True | 0 | True (ByValue) |
<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 VEORDatabaseRestoreInterval object that contains details on available restore period for backed-up Oracle database.
Example
Getting Details on Available Restore Period for Backed-Up Oracle Database
This example shows how to get details on the available restore period for the specified Oracle database.
$session = Get-VEORRestoreSession $database = Get-VEORDatabase -Session $session[0] -Name "orcl" Get-VEORDatabaseRestoreInterval -Database $database |
Perform the following steps:
- Run the Get-VEORRestoreSession cmdlet. Save the result to the $session variable.
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).
- Run the Get-VEORDatabase cmdlet. Set the $session variable as the Session parameter value and select the necessary restore session. Specify the Name parameter value. Save the result to the $database variable.
- Run the Get-VEORDatabaseRestoreInterval cmdlet. Set the $database variable as the Database parameter value.
Related Commands