﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Disaster Recovery / Database Design  / Does the full backup clear/truncate the t-log? / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 08:47:15 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Does the full backup clear/truncate the t-log?</title><link>http://www.sqlservercentral.com/Forums/Topic1205237-384-1.aspx</link><description>sp_configure is used to read/change server wide settings.sp_dboption is used to modify database level properties (not specific to a particular mdf or ndf).so when you use sp_dboption to auto shrink a database (which is a bad option), all your database files will be shrunk.</description><pubDate>Mon, 14 Nov 2011 09:43:44 GMT</pubDate><dc:creator>viiki.seth</dc:creator></item><item><title>RE: Does the full backup clear/truncate the t-log?</title><link>http://www.sqlservercentral.com/Forums/Topic1205237-384-1.aspx</link><description>[quote][b]JakeSA (11/14/2011)[/b][hr]None of the database options (configurable in SSMS or sp_configure or sp_dboption) are applicable to the log file.  They are applicable to the data (MDF and NDF) files only.  [/quote]Database options meaning???????</description><pubDate>Mon, 14 Nov 2011 09:40:20 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Does the full backup clear/truncate the t-log?</title><link>http://www.sqlservercentral.com/Forums/Topic1205237-384-1.aspx</link><description>[quote]The log doesn't autoshrink to free the space back to the OS.The vlf are marked as resusable.[/quote]Oh, got you.  Which is what I realized.  True, the log file does not have an option for auto shrink.  That brings up another question.  None of the database options (configurable in SSMS or sp_configure or sp_dboption) are applicable to the log file.  They are applicable to the data (MDF and NDF) files only.  Right?   This is a good discussion!</description><pubDate>Mon, 14 Nov 2011 09:38:48 GMT</pubDate><dc:creator>JakeSA</dc:creator></item><item><title>RE: Does the full backup clear/truncate the t-log?</title><link>http://www.sqlservercentral.com/Forums/Topic1205237-384-1.aspx</link><description>[quote][b]JakeSA (11/14/2011)[/b][hr][quote]Or maybe you mean that inactive logs entries are marked as having been backed up in a t-log backup so that they can be overwritten?[/quote]I mean exactly what I say. :-) Nothing ever removes log records from the log. A log backup marks active VLFs as inactive. Once inactive they can be overwritten.</description><pubDate>Mon, 14 Nov 2011 09:37:03 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Does the full backup clear/truncate the t-log?</title><link>http://www.sqlservercentral.com/Forums/Topic1205237-384-1.aspx</link><description>[quote][b]JakeSA (11/14/2011)[/b][hr][quote]p.s. Nothing deletes inactive log records from the log. Ever.[/quote]Hmmm, then how are the spaces freed up in the log file?  Or maybe you mean that inactive logs entries are marked as having been backed up in a t-log backup so that they can be overwritten?[/quote]The log doesn't autoshrink to free the space back to the OS.The vlf are marked as resusable.</description><pubDate>Mon, 14 Nov 2011 09:34:54 GMT</pubDate><dc:creator>Ninja's_RGR'us</dc:creator></item><item><title>RE: Does the full backup clear/truncate the t-log?</title><link>http://www.sqlservercentral.com/Forums/Topic1205237-384-1.aspx</link><description>[quote]p.s. Nothing deletes inactive log records from the log. Ever.[/quote]Hmmm, then how are the spaces freed up in the log file?  Or maybe you mean that inactive logs entries are marked as having been backed up in a t-log backup so that they can be overwritten?</description><pubDate>Mon, 14 Nov 2011 09:32:09 GMT</pubDate><dc:creator>JakeSA</dc:creator></item><item><title>RE: Does the full backup clear/truncate the t-log?</title><link>http://www.sqlservercentral.com/Forums/Topic1205237-384-1.aspx</link><description>[quote][b]JakeSA (11/14/2011)[/b][hr]My understanding is only the t-log backup will truncate the log and delete the inactive log entries in the t-log, but I still encounter DBAs who say the full database backup will do so for its t-log.  Anyone know for sure?[/quote][url]http://sqlskills.com/BLOGS/PAUL/post/Misconceptions-around-the-log-and-log-backups-how-to-convince-yourself.aspx[/url][url]http://sqlskills.com/BLOGS/PAUL/post/Debunking-a-couple-of-myths-around-full-database-backups.aspx[/url]p.s. Nothing deletes inactive log records from the log. Ever.</description><pubDate>Mon, 14 Nov 2011 09:22:21 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>RE: Does the full backup clear/truncate the t-log?</title><link>http://www.sqlservercentral.com/Forums/Topic1205237-384-1.aspx</link><description>You're right.[url]http://www.sqlservercentral.com/articles/64582/[/url]</description><pubDate>Mon, 14 Nov 2011 08:54:39 GMT</pubDate><dc:creator>Ninja's_RGR'us</dc:creator></item><item><title>Does the full backup clear/truncate the t-log?</title><link>http://www.sqlservercentral.com/Forums/Topic1205237-384-1.aspx</link><description>My understanding is only the t-log backup will truncate the log and delete the inactive log entries in the t-log, but I still encounter DBAs who say the full database backup will do so for its t-log.  Anyone know for sure?</description><pubDate>Mon, 14 Nov 2011 08:50:54 GMT</pubDate><dc:creator>JakeSA</dc:creator></item></channel></rss>