Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
PowerShell Reference

Get-VBRSQLDatabase (obsolete)

Short Description

Returns Microsoft SQL Server databases in restore point.

Get-VBRSQLDatabase (obsolete) Note:

This cmdlet is obsolete. The cmdlet still works, but it is recommended to perform restore operations using the Get-VESQLDatabase cmdlet. 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

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
Pipeline
Input

Accept
Wildcard
Characters

Application
Restore
Point

Specifies the restore point from which you want to get the databases.

Accepts VBRApplicationRestorePoint type.

True

Named

True (ByValue,
ByProperty
Name)

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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRSQLDatabase

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

Get-VBRApplicationRestorePoint

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation