Get-VBRSQLDatabase (obsolete)
Short Description
Returns Microsoft SQL Server databases in restore point.
Note |
This cmdlet is no longer supported, use the Get-VESQLDatabase cmdlet instead. To learn more about the Get-VESQLDatabase cmdlet, see the Veeam Explorers PowerShell Reference. |
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Get-VBRSQLDatabase -ApplicationRestorePoint <VBRApplicationRestorePoint> [-Name <string[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns Microsoft SQL Server databases in a selected restore point.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
Application | Specifies the restore point from which you want to get the databases. Accepts VBRApplicationRestorePoint type. | True | Named | True (ByValue, | False |
Name | Filters the databases in the restore point by database name. | False | Named | False | True |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example
This example shows how to get the last restore point of the "Locations" database on the "crm_db" VM.
$crmdb = Get-VBRApplicationRestorePoint -SQL -Name "crm_db" $locations = Get-VBRSQLDatabase -ApplicationRestorePoint $crmdb[0] -Name "Locations" |
Related Commands