Challenge
This article documents how change the temporary staging location where SQL transaction log backups are stored during a Veeam Agent for Windows backup operation when Transaction Log Backup is enabled.
For more information on the Transaction Log Backup process for Veeam Agent for Windows please click here.
Cause
When SQL Transaction Log Backup is enabled, Veeam Agent for Windows copies transaction log files from the log archive destination (set by the Microsoft SQL Server administrator) to a temporary folder on the server. By default the path is: C:\ProgramData\Veeam\Endpoint\SqlLogBackup.
Solution
To change the location where the SQL Transaction Logs are temporarily stored, create the following registry entry on the server.
Note: This registry change is to be made on the machine where Veeam Agent for Windows is installed, and is running the backup with SQL Transaction Log backup enabled.
Key: HKLM\SOFTWARE\Veeam\Veeam Endpoint Backup
Type: REG_SZ (String Value)
Name: SqlTempLogPath
Value: Path to desired location (without trailing backslash)
Note: if the backup job is managed by Veeam Backup & Replication, then the path for the registry should be:
Key: HKLM\SOFTWARE\Veeam\Backup and Replication