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

SQL LDF not smaller after truncation


After Veeam Backup & Replication successfully processes a SQL server with Application-Aware Image Processing enabled, the LDF files are not smaller.


This is due to the fact that the LDF file itself is a container, when truncation occurs the internals of the LDF are cleared and space is freed within it, but the LDF itself is not made smaller.

One must manually shrink or configure “Auto Shrink” to make the LDF itself physically smaller.


To view the actual free space within the LDF file perform the following.
1.   Open SQL Management Studio and connect to the SQL instance where the database in question is located.
2.   Right-Click on the database and goto Tasks>Shrink>Files

User-added image

3.   Switch to Log under File type...

User-added image

This will show you the current allocated space and the available free space.
In this example the LDF is 34.88 MB and internally it has 89% free space.
The database in this example is set for simple recovery model which keeps the log size low, when a SQL database is configured for full recovery model the LDF could be considerably larger.
The release unused space option will shrink the LDF file down to whatever you have designated as the minimum size in the database properties:

User-added image

Information regarding the Auto Shrink option can be found in the this MS article

Veeam Backup & Replication
6.x, 7.x, 8.x
Last Modified:
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.


error icon

Oops! Something went wrong.

Please go back try again later.