How can I get Transaction Logs to auto-truncate after Backup

Posted by Yaakov Ellis on Server Fault See other posts from Server Fault or by Yaakov Ellis
Published on 2011-02-28T13:30:57Z Indexed on 2011/02/28 15:26 UTC
Read the original article Hit count: 427

Setup: Sql Server 2008 R2, databases set up with Full recovery mode.

I have set up a maintenance plan that backs up the transaction logs for a number of databases on the server. It is set to create backup files in sub-directories for each database, verify backup integrity is turned on, and backup compression is used. The job is set to run once every 2 hours during business hours (8am-6pm).

I have tested the job and it runs fine, creates the log backup files as it should. However, from what I have read, once the transaction log is backed up, it should be ok to truncate the transaction log. I do not see any option for doing this in the Sql Server Maintenance Plan designer. How can I set this up?

© Server Fault or respective owner

Related posts about sql-server

Related posts about backup