<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Exchange Server Pro &#187; Transaction Logs</title>
	<atom:link href="http://exchangeserverpro.com/tag/transaction-logs/feed" rel="self" type="application/rss+xml" />
	<link>http://exchangeserverpro.com</link>
	<description>Microsoft Exchange Server News - Tips - Tutorials</description>
	<lastBuildDate>Wed, 23 May 2012 11:55:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Exchange 2010 FAQ: Why is My Disk Filling Up with Log Files?</title>
		<link>http://exchangeserverpro.com/exchange-2010-faq-disk-filling-log-files</link>
		<comments>http://exchangeserverpro.com/exchange-2010-faq-disk-filling-log-files#comments</comments>
		<pubDate>Tue, 17 May 2011 12:00:56 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Backups]]></category>
		<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[Mailbox]]></category>
		<category><![CDATA[Transaction Logs]]></category>

		<guid isPermaLink="false">http://exchangeserverpro.com/?p=3469</guid>
		<description><![CDATA[Exchange Server 2010 customers sometimes ask why their server disk drive is filling up with log files. This article explains why.]]></description>
			<content:encoded><![CDATA[<p><a href="http://exchangeserverpro.com">Exchange Server 2010</a> customers sometimes ask why their server disk drive is filling up with log files. Usually they are referring to the transaction log files created by the mailbox databases.</p>
<p>Each <a title="Why Is My Exchange 2010 Mailbox Database Growing So Big?" href="http://exchangeserverpro.com/exchange-2010-mailbox-database-growing-big-fast">Exchange 2010 mailbox database</a> comprises two main parts:</p>
<ul>
<li>the transaction log files</li>
<li>the database file itself</li>
</ul>
<p><img class="aligncenter size-full wp-image-3470" title="exchange-2010-database-paths" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-database-paths.png" alt="" width="471" height="172" /></p>
<p>The folder containing the log files will look something like this.</p>
<p><img class="aligncenter size-full wp-image-3471" title="exchange-2010-database-log-files" src="http://exchangeserverpro.com/wp-content/uploads/2011/05/exchange-2010-database-log-files.png" alt="" width="580" height="375" /></p>
<p>A best practice for <a title="Exchange 2010 FAQ: What are the Exchange Server 2010 Server Roles?" href="http://exchangeserverpro.com/exchange-2010-server-roles">Exchange 2010 mailbox servers</a> is to store the database and transaction log files on completely separate disks. This is to protect the server from data loss if one disk or the other has a failure.</p>
<p>The way this works is that each database change is written to a memory buffer and also recorded in a transaction log file. Periodically the memory buffer information is also written to the database file. When this occurs a checkpoint is updated that tells the server which transaction log entries have and have not been written to the database yet.</p>
<p>If the server was to unexpectedly restart, the database comes online in a &#8220;<a href="http://exchangeserverpro.com/restore-individual-mailbox-exchange-2010#eseutil">dirty shutdown</a>&#8221; state and the checkpoint is used to tell the server which transaction log entries need to be replayed into the database to recover the information that was lost in the memory buffer when the server failed.</p>
<p>Over time these transaction logs will grow, because of course the mailbox database is continually changing as new mail arrives in mailboxes (as just one example). Eventually the log files will fill up the disk if they are not removed.</p>
<p>To remove the transaction log files the database needs to be <a title="Exchange Server 2010 Mailbox Server Backup and Recovery" href="http://exchangeserverpro.com/exchange-server-2010-mailbox-server-backup-recovery">backed up</a>. When an Exchange Server database is backed up by a proper application-aware backup product, after the backup is finished the backup program will issue a command to VSS (Volume Shadow-copy Service) on the server that the backup was successful and to go ahead and truncate the transaction logs.</p>
<p>The server then proceeds to remove the transaction log files up to the nearest checkpoint prior to the backup commencing. Because the database can continue to change and write new transaction log files while a backup is in progress it is not unusual for multiple transaction log files to still be present after a backup has completed. However most of them will be removed, and regular backups are the method by which transaction logs can be kept from consuming all free disk space on the server (as well as the obvious benefit of having your Exchange databases safely backed up).</p>
<p>So if your Exchange Server disk is being filled up by transaction log files, the issue is likely to be one of the following:</p>
<p><strong>Cause: You aren&#8217;t backing up the mailbox server</strong></p>
<p>Solution: <a href="http://exchangeserverpro.com/exchange-2010-mailbox-database-backup-restore-windows-server-backup">Back up the mailbox server</a> with a proper Exchange Server application-aware backup product. There are commercial products available for this such as <a href="http://www.symantec.com/business/products/family.jsp?familyid=backupexec">Symantec Backup Exec</a> or you can use the built-in Windows Server Backup for the task.</p>
<p><strong>Cause: You&#8217;re using the wrong type of backup</strong></p>
<p>Solution: Make sure you&#8217;re running a backup job type that will truncate the logs. Full and Incremental backups will truncate the transaction log files, whereas Differential and Copy will not.</p>
<p><strong>Cause: The backup is not completing successfully</strong></p>
<p>Solution: Check your backup product for log file entries that indicate what the issue is.</p>
<p><strong>Cause: The backup is completing successfully but transaction logs are not truncating</strong></p>
<p>Solution: Check the Application Event Log on the mailbox server for errors with the log truncation process.</p>
<p>&nbsp;</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/set-automated-exchange-2010-database-backup-alert-email" title="How to Set Up an Automated Exchange 2010 Database Backup Alert Email">How to Set Up an Automated Exchange 2010 Database Backup Alert Email</a></li><li><a href="http://exchangeserverpro.com/avoid-running-transaction-log-disk-space-exchange-servers" title="Avoid Running Out of Transaction Log Disk Space on Exchange Servers">Avoid Running Out of Transaction Log Disk Space on Exchange Servers</a></li><li><a href="http://exchangeserverpro.com/powershell-script-check-exchange-2010-database-backups" title="PowerShell Script: Check Exchange 2010 Database Backups">PowerShell Script: Check Exchange 2010 Database Backups</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-passive-database-copies-included-backups-dag-members" title="Exchange 2010: Are Passive Database Copies Included in Backups of DAG Members?">Exchange 2010: Are Passive Database Copies Included in Backups of DAG Members?</a></li><li><a href="http://exchangeserverpro.com/review-exchange-server-2010-backup-recovery-training" title="Review: Exchange Server 2010 Backup and Recovery Training">Review: Exchange Server 2010 Backup and Recovery Training</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/exchange-2010-faq-disk-filling-log-files">Exchange 2010 FAQ: Why is My Disk Filling Up with Log Files?</a> is © 2011 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/exchange-2010-faq-disk-filling-log-files/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Quota violation error when moving Exchange 2007 storage group log path</title>
		<link>http://exchangeserverpro.com/quota-violation-error-when-moving-exchange-2007-storage-group-log-path</link>
		<comments>http://exchangeserverpro.com/quota-violation-error-when-moving-exchange-2007-storage-group-log-path#comments</comments>
		<pubDate>Fri, 27 Mar 2009 02:02:36 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Transaction Logs]]></category>

		<guid isPermaLink="false">http://www.capslockassassin.com/?p=611</guid>
		<description><![CDATA[On Exchange Server 2007 you may encounter a quota violation error when attempting to move the storage group logs path for one of your storage groups. Summary: 1 item(s). 0 succeeded, 1 failed. Elapsed time: 01:35:36 SG Public Folders Failed Error: WMI exception occured on server &#8216;exchangeserver.domain.local&#8217;: Quota violation Quota violation Exchange Management Shell command [...]]]></description>
			<content:encoded><![CDATA[<p>On Exchange Server 2007 you may encounter a quota violation error when attempting to move the storage group logs path for one of your storage groups.</p>
<blockquote><p>Summary: 1 item(s). 0 succeeded, 1 failed.<br />
Elapsed time: 01:35:36</p>
<p>SG Public Folders<br />
Failed</p>
<p>Error:<br />
WMI exception occured on server &#8216;exchangeserver.domain.local&#8217;: Quota violation</p>
<p>Quota violation</p>
<p>Exchange Management Shell command attempted:<br />
move-StorageGroupPath -Identity &#8216;EXCHANGESERVER\SG Public Folders&#8217; -LogFolderPath &#8216;T:\Path&#8217;</p>
<p>Elapsed Time: 01:35:36</p></blockquote>
<p>This error can occur when there are a very large number of transaction log files in the current log path.  To resolve the issue you can:</p>
<ol>
<li>Run a backup of the database in the storage group to truncate the logs.</li>
<li>Manually copy (eg xcopy or Robocopy) the log files to the new location and edit the storage group log path using ADSIEdit.msc.</li>
</ol>
<p>In a situation where the log volume is full and the database in question is dismounted the backup option is not available to you.  Instead you could extend the logging volume by adding more capacity to it, or turn on circular logging temporarily so that the database will mount and truncate all of the existing log files.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/generate-smtp-error-statistics-using-log-parser-and-exchange-server-2010-protocol-logs" title="Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs">Generate SMTP Error Statistics using Log Parser and Exchange Server 2010 Protocol Logs</a></li><li><a href="http://exchangeserverpro.com/calculate-hourly-email-traffic-using-message-tracking-log-parser" title="Calculate Hourly Email Traffic using Message Tracking Logs and Log Parser">Calculate Hourly Email Traffic using Message Tracking Logs and Log Parser</a></li><li><a href="http://exchangeserverpro.com/daily-email-traffic-message-tracking-log-parser" title="Calculate Daily Email Traffic using Message Tracking Logs and Log Parser">Calculate Daily Email Traffic using Message Tracking Logs and Log Parser</a></li><li><a href="http://exchangeserverpro.com/update-rollup-7-exchange-2007-service-pack-3" title="Update Rollup 7 for Exchange 2007 Service Pack 3">Update Rollup 7 for Exchange 2007 Service Pack 3</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-message-tracking-event-ids-log-parser" title="Reporting Exchange Server 2010 Message Tracking Event IDs with Log Parser">Reporting Exchange Server 2010 Message Tracking Event IDs with Log Parser</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/quota-violation-error-when-moving-exchange-2007-storage-group-log-path">Quota violation error when moving Exchange 2007 storage group log path</a> is © 2009 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/quota-violation-error-when-moving-exchange-2007-storage-group-log-path/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

