Get-VBROracleDatabaseRestoreInterval (obsolete)
Short Description
Shows interval of backups available for a selected database.
Note |
This cmdlet is no longer supported, use the Get-VEORDatabaseRestoreInterval cmdlet instead. To learn more about the Get-VEORDatabaseRestoreInterval cmdlet, see the Veeam Explorers PowerShell Reference. |
Applies to
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Get-VBROracleDatabaseRestoreInterval -Database <VBROracleDatabase> [<CommonParameters>] |
Detailed Description
This cmdlet shows the oldest and the most recent points in time (UTC) presenting the interval available for database restore. If you have database archived logs backed up appropriately, you will be able to restore the database to the necessary point in time within that interval.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Database | Specifies the database for which you want to get the intervals. | Accepts the VBROracleDatabase object. To get this object, run the Get-VBROracleDatabase cmdlet. | True | Named | True (ByValue, |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBROracleDatabaseRestoreInterval
Examples
Getting Available Restore Interval for Database
This example shows how to get the available restore interval for the Products database in the chosen restore point of the oracle_prod VM.
$restorepoint = Get-VBRApplicationRestorePoint -Oracle -Name "oracle_prod" $products = Get-VBROracleDatabase -ApplicationRestorePoint $restorepoint[2] -Name "Products" Get-VBROracleDatabaseRestoreInterval -Database $products From To |
Perform the following steps:
- Run the Get-VBRApplicationRestorePoint cmdlet. Provide the Oracle parameter. Specify the Name parameter value. Save the result to the $restorepoint variable.
- Run the Get-VBROracleDatabase cmdlet. Set the $restorepoint[2] variable as the ApplicationRestorePoint parameter value. Specify the Name parameter value. Save the result to the $products variable.
- Run the Get-VBROracleDatabaseRestoreInterval cmdlet. Set the $products variable as the Database parameter value.
Related Commands