https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IyMDk3IiwiaGFzaCI6IjNiMWU0NzhlLWNmY2QtNDM0Ny05NmNhLTM2NzBiNmIyN2I2OCJ9
1-800-691-1991 | 9am - 8pm ET
EN

“Failed to truncate transaction logs for SQL instances: MICROSOFT WID”

Challenge

Job with truncation enabled shows warning: 

User-added image
Failed to truncate transaction logs for SQL instances: MICROSOFT##WID
 

Note: This KB article only applies if the specified instance is named MICROSFT##WID.

Cause

After applying update 3 for Veeam Backup & Replication v8, we attempt to connect to an internal Microsoft Database during log truncation.

The Task.<vmname>.<refid>.log file for the VM in the job will contain:  
 

Error VssControl: TruncateSqlLogs failed (System.Exception)
Error at Veeam.Backup.VssProvider.CVssControl.TruncateSqlLogs(Guid jobId, CCredentials creds)
Error at Veeam.Backup.Core.CViGuestVssFreezer.TruncateSqlLogs(Boolean bSafe)
Error Failed to process 'TruncateSQLLog' command.
Error Failed to truncate transaction logs for SQL instances: MICROSOFT##WID. Possible reasons: lack of permissions, or transaction log corruption. (System.Runtime.InteropServices.COMException)
Error at VeeamGuestHelperCtrlLib.IVeeamVssProvider.TruncateSqlLogs(Guid jobUid, String sqlLogin, String sqlPwd)
Error at Veeam.Backup.VssProvider.CVssControl.TruncateSqlLogs(Guid jobId, CCredentials creds)

Solution

This issue is fixed in Veeam Backup & Replication v9.

If you are unable to upgrade to v9, please contact Veeam Support and reference Bug# 59525.

More information

This issue only applies to 8.0.0.2084, and for the MICROSOFT##WID instance.
For any other truncation issues, please see the following KB: https://www.veeam.com/kb2027

KB ID:
2097
Product:
Veeam Backup & Replication
Version:
8.0.0.2084
Published:
2016-02-11
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.