How to change SQL log backup location for Veeam Agent for Microsoft Windows backup

KB ID: 2642
Product: Veeam Agent for Microsoft Windows | 3.0.2 | 4.0 | 5.0 | 6.0
Published: 2018-04-27
Last Modified: 2021-11-12
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Challenge

This article documents how to change the temporary staging location where SQL transaction log backups are stored during a Veeam Agent for Microsoft Windows backup operation when Transaction Log Backup is enabled.

For more information on the Transaction Log Backup process for Veeam Agent for Microsoft Windows, please click here.

Cause

When SQL Transaction Log Backup is enabled, Veeam Agent for Microsoft 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 Microsoft 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)

Example

More Information

  • For managed by VBR Failover Cluster type logs, the path should be HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication. The key should be created manually in the Agent machine registry if it does not exist.
  • Starting with Veeam Backup and Replication 9.5 Update 4 (Veeam agent for Windows 3.0.1.1039), if the entered path is not valid, Veeam Agent will select an NTFS/ReFS volume having the most free space.
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.