How Publishing Works

Publishing databases with Veeam Explorer for Microsoft SQL Server works in the following manner:

  1. Veeam Explorer for Microsoft SQL Server connects to the Veeam Mount Service and the target server and performs a series of validations. For example, it check if the database exists on the target server.

To perform these validations and required file operations, Veeam Explorer for Microsoft SQL Server deploys the Veeam SQL Restore Service on the target server and, if you publish your data up to a specific transaction, on the staging server. This non-persistent runtime component checks the valid rights assignments required for database recovery, gets information about the databases, and later performs the required database operations. The Veeam SQL Restore Service is removed from the target and the staging server once you unpublish the database. For more information, see How Data Recovery Works.

  1. Veeam Explorer for Microsoft SQL Server sends a publishing command to the Veeam Mount Service running on the mount server associated with the backup repository. The service connects to the backup repository and prepares the mounting operation.
  2. The Veeam Mount Service mounts the necessary file system to the C:\VeeamFLR directory on the target Microsoft SQL Server machine. For more information, see How Mounting Works.

When publishing to a failover cluster, the file system is mounted to the C:\VeeamFLR directory of every node of the cluster. Note that each volume is also mounted as a separate drive, requiring a free drive letter.

The Veeam SQL Restore Service opens the database from the mounted file system, so that you can perform the required operations with Microsoft SQL Server tools.

All changes to the database that occur after publishing are saved in the publishing write cache, stored on the mount server. You can view and change the write cache location in the mount server settings. For more information, see the Specify Mount Server Settings section of the Veeam Backup & Replication User Guide.

Once the publishing operation is completed, you can export the modified database as a BAK file. For more information, see Exporting as BAK.

After you have finished working with the published database, you can unpublish (detach) the database from the target Microsoft SQL Server machine. For more information, see Unpublishing Databases.

How Publishing Works

Page updated 4/2/2024

Page content applies to build 12.2.0.334