Get-VBRSQLDatabaseRestoreInterval (obsolete)
Short Description
Shows interval of backups available for a selected database.
|
This cmdlet is obsolete. The cmdlet still works, but it is recommended to perform restore operations using the Get-VESQLDatabaseRestoreInterval cmdlet. To learn more about the Get-VESQLDatabaseRestoreInterval cmdlet, see the Veeam Explorers PowerShell Reference. |
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Detailed Description
This cmdlet shows date and time of the first and the last available restore point for a selected database. This is reference information that helps you to select an available restore point.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Database | Specifies the database for which you want to get the intervals. Accepts VBRSQLDatabase type. | True | Named | True (ByValue, | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Return Type
Example 1
This command gets the restore interval for the "crm_db" VM.
$restorepoint = Get-VBRApplicationRestorePoint -SQL -Name "crm_db" Get-VBRSQLDatabase -ApplicationRestorePoint $restorepoint[2] | Get-VBRSQLDatabaseRestoreInterval |
Example 2
This command gets the restore interval for the "Locations" database on the "crm_db" VM.
$restorepoint = Get-VBRApplicationRestorePoint -SQL -Name "crm_db" $locations = Get-VBRSQLDatabase -ApplicationRestorePoint $restorepoint[2] -Name "Locations" Get-VBRSQLDatabaseRestoreInterval -Database $locations From To |
Related Commands