Can't shrink my SQL Server 2008 Log files - 260GB currently

Total Post:23


 1314  View(s)
Rate this:
My database log files have grown to 260GB and I need to shrink them. I have tried numerous scripts such as:

As well as using the Shrink option in SQL Server Management Studio however the log file doesn't seem to shrink.

Has anyone got any suggestions?

The database is on my production server and actively used, I also have a maintenance plan setup to run all the relevant tasks including a daily transaction log backup and a weekly full backup which appears to be working fine.

I need to shrink it down so I can do a full backup + restore on my local development machine, however at the moment the log files is too large for my local drive.
  1. Re: Can't shrink my SQL Server 2008 Log files - 260GB currently

    You need to backup the log file, then it should be reduced in size automatically.

    See here:

    In particular, this bit:

    Typically, truncation occurs automatically under the simple recovery model when database is backed up and under the full recovery model when the transaction log is backed up. However, truncation can be delayed by a number of factors. For more information, see

      Modified On Apr-10-2018 12:33:54 AM


Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.