1-800-691-1991 | 9am - 8pm ET

Log truncation issue on Microsoft SQL server


Logs are not truncated on Microsoft SQL server after a successful backup.

The following error can be found in the Windows Application log or in VeeamGuestHelper.log file (in earlier versions this log file is called VeeamVSSSupport.log) located in C:\ProgramData\Veeam\Backup on the guest:

The server principal "NT AUTHORITY\SYSTEM" is not able to access the database "Database name" under the current security context.' 

The server principal "domain\username" is not able to access the database "Database name" under the current security context.' 


Depending on Veeam B&R version there may be different causes:

In Veeam B&R prior to v8:
By default, LOCAL SYSTEM account does not have log truncation rights on SQL 2012.

In Veeam B&R v8:
Starting with version 8, Veeam uses the account specified on “Guest Processing” tab in the job settings for log truncation. This user account may not have required user permissions for performing database backup or log truncation.


Depending on Veeam B&R you need to apply the following settings either for NT AUTHORITY\SYSTEM (pre-v8) or for the user specified in the backup job (v8):

User-added image

Veeam Backup & Replication
6.5, 7.x, 8.x, 9.x
Last Modified:
Please rate how helpful this article was to you:
5 out of 5 based on 2 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.


error icon

Oops! Something went wrong.

Please go back try again later.