--- title: "Start-VESQLPluginDatabaseRestore" description: "Restores a database backed up with Veeam Plug-in for Microsoft SQL Server. Product: Veeam Backup & Replication Product Edition: Enterprise Plus, Veeam Universal License This cmdlet provides the following parameter sets: This cmdlet restores a dat" canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/start-vesqlplugindatabaserestore.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft SQL Server > Start-VESQLPluginDatabaseRestore" dateModified: "2026-08-18" --- # Start-VESQLPluginDatabaseRestore ## Short Description Restores a database backed up with Veeam Plug-in for Microsoft SQL Server. **Product**: Veeam Backup & Replication **Product Edition**: Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets:
RestoreToLatest
RestoreToPointInTimeByRestorePoint
RestoreToPointInTimeByDateTime
RestoreToAnotherToLatest
RestoreToAnotherToPointInTimeByRestorePoint
RestoreToAnotherToPointInTimeByDateTime
RestoreToLatestUsingCredentials
RestoreToPointInTimeByRestorePointUsingCredentials
RestoreToPointInTimeByDateTimeUsingCredentials
RestoreToAnotherToLatestUsingCredentials
RestoreToAnotherToPointInTimeByRestorePointUsingCredentials
RestoreToAnotherToPointInTimeByDateTimeUsingCredentials
RestoreToLatestUsingGmsaAccount
RestoreToPointInTimeByRestorePointUsingGmsaAccount
RestoreToPointInTimeByDateTimeUsingGmsaAccount
RestoreToAnotherToLatestUsingGmsaAccount
RestoreToAnotherToPointInTimeByRestorePointUsingGmsaAccount
RestoreToAnotherToPointInTimeByDateTimeUsingGmsaAccount
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Database |
Specifies a Microsoft SQL Server database that you want to restore. Accepts the |
True |
0 |
True (ByValue) |
|
|
DatabaseName |
For restore to another location. Specifies a name for the restored Microsoft SQL Server database on the target location. The database will be restored with the specified name. |
|
False |
Named |
False |
|
File |
Specifies an array of file names for a Microsoft SQL Server database. Accepts the |
False |
Named |
False |
|
|
Force |
Defines that the cmdlet will overwrite an existing Microsoft SQL Server database with a Microsoft SQL Server database from the backup. Note: The cmdlet will show no prompt before executing the command. |
|
False |
Named |
False |
|
GMSAAccount |
Specifies the name of the Group Managed Service Account (gMSA). The cmdlet will use this account to authenticate to Microsoft SQL Server on the target machine. |
|
True |
Named |
False |
|
GuestCredentials |
Specifies credentials for authenticating to the target machine. If these credentials do not work, the cmdlet will use the credentials specified in the backup job. Consider the following:
Accepts the |
|
False |
Named |
False |
|
InstanceName |
For restore to another location. Specifies the name of the target instance. The cmdlet will restore the Microsoft SQL Server database to the specified target instance. |
|
False |
Named |
False |
|
Port |
For restore to another location. Specifies a port number that will be used to connect to the target Microsoft SQL Server machine. |
|
False |
Named |
False |
|
QuickRecovery |
Defines that the cmdlet will use incremental restore or quick recovery. The cmdlet applies differential or log backups to an existing database, removing the need to restore the entire database. Consider the following:
|
|
False |
Named |
False |
|
RecoveryState |
Specifies the recovery option.
Default: Recovery |
|
False |
Named |
False |
|
RestorePoint |
Specifies a restore point as of which the cmdlet will restore the database. Note: Do not specify this parameter if you use the Accepts the |
True |
Named |
False |
|
|
ServerName |
For restore to another location. Specifies DNS name or IP address of a Microsoft SQL target server. The cmdlet will restore a Microsoft SQL Server database to the specified target server. |
|
True |
Named |
False |
|
SqlCredentials |
Specifies SQL credentials for authenticating to Microsoft SQL Server on the target machine. Note: If you do not specify SQL credentials, the cmdlet will use the credentials specified in the backup job. Accepts the |
|
True |
Named |
False |
|
StandbyFilePath |
For the Specifies a location for the standby file with the uncommitted transactions. |
|
False |
Named |
False |
|
TargetPath |
Specifies a target path array. The cmdlet will restore Microsoft SQL Server database files to the locations specified in the target path array. Consider the following:
This parameter accepts wildcard characters. |
|
False |
Named |
False |
|
ToPointInTimeUtc |
Specifies a point in time in UTC within the restore interval of a Microsoft SQL Server database. The cmdlet will restore the database to the state of the specified point in time. Note: Do not specify this parameter if you use the |
|
True |
Named |
False |
|
UseSQLAuthentication |
Defines that the cmdlet will use SQL authentication to connect to Microsoft SQL Server on the target machine. If you do not provide additional credentials, the cmdlet will use SQL credentials from the backup job and guest credentials from the protection group. Note: If you omit this parameter, the cmdlet will use credentials specified in the |
|
False |
Named |
False |