Avatar of snyderkv
snyderkv

asked on 

SQL Trans Backups

EE,

I'm running SQL 2012 and having an issue truncating the transaction logs through the maintenance plan. I don't see an option to truncate. Additionally, I did a manual shrink of the _log file for the LDF database but it remained the same size. I even switched to simple recovery model but still had to run a T-SQL command manually as shown below.

Ultimately want this to happen automatically since I need FULL recovery mode for Mirroring purposes

DBCC SHRINKFILE (ACCESS_log,300)

Is there an easier way?

Thanks
Microsoft SQL Server 2008

Avatar of undefined
Last Comment
snyderkv

8/22/2022 - Mon