--- title: "Start-VESQLDatabasePublish" description: "Publishes a backed-up Microsoft SQL Server database. Product: Veeam Backup & Replication Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet provides the following parameter sets: This cmdlet all" canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/start-vesqldatabasepublish.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft SQL Server > Start-VESQLDatabasePublish" dateModified: "2026-08-18" --- # Start-VESQLDatabasePublish ## Short Description Publishes a backed-up Microsoft SQL Server database. **Product**: Veeam Backup & Replication **Product Edition**: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets:
PublishUsingCredentialsFromVBR
PublishUsingCredentials
PublishUsingGmsaAccount
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Database |
Specifies a Microsoft SQL Server database that you want to publish. Accepts the |
True |
0 |
True (ByValue) |
|
|
DatabaseName |
Specifies a new name for a Microsoft SQL Server database. The cmdlet will publish the existing database with this name. |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will overwrite the existing database with the 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 server. 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 |
Specifies the name of the target instance. The cmdlet will publish the Microsoft SQL Server database to that instance. |
|
False |
Named |
False |
|
Port |
Specifies a port number. The cmdlet will use this port to connect to the target machine with Microsoft SQL Server. |
|
False |
Named |
False |
|
ServerName |
Specifies DNS name or IP address of the target server. The cmdlet will publish a Microsoft SQL Server database to that server. |
|
True |
Named |
False |
|
SqlCredentials |
Specifies the credentials for authenticating to Microsoft SQL Server on the target machine. Note: If you do not specify SQL credentials, the cmdlet will use the current account credentials. If these credentials do not work, the cmdlet will use the credentials specified in the backup job. Accepts the |
|
True |
Named |
False |
|
ToPointInTimeUtc |
Specifies a point in time within the restore interval of a Microsoft SQL Server database. The cmdlet will publish the database to the state of the specified point in time. Note: Make sure that the value you assign to this parameter is converted to Universal Coordinated Time (UTC). |
|
False |
Named |
False |
|
UseSQLAuthentication |
Defines that the cmdlet will use SQL authentication to connect to Microsoft SQL Server on the target machine. Note: If you omit this parameter, the cmdlet will use the credentials specified in the |
|
False |
Named |
False |