<?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>Email management, storage and security for business email admins &#187; Mailbox Database</title>
	<atom:link href="http://www.theemailadmin.com/tag/mailbox-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theemailadmin.com</link>
	<description></description>
	<lastBuildDate>Fri, 10 Feb 2012 14:00:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Exchange Server 2007 Backup and Recovery Part 2 – Mailbox Servers</title>
		<link>http://www.theemailadmin.com/2009/06/exchange-server-2007-backup-and-recovery-part-2-%e2%80%93-mailbox-servers/</link>
		<comments>http://www.theemailadmin.com/2009/06/exchange-server-2007-backup-and-recovery-part-2-%e2%80%93-mailbox-servers/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 11:56:42 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Exchange server]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[Exchange Server 2007]]></category>
		<category><![CDATA[Mailbox Database]]></category>
		<category><![CDATA[Restore]]></category>

		<guid isPermaLink="false">http://www.theemailadmin.com/?p=1120</guid>
		<description><![CDATA[In Part 1 of this series I explored what needs to be backed up for each of the different Exchange Server 2007 server roles.  In this post I will demonstrate a Mailbox Server failure and the recovery of the mailbox database from backup. Backing up the Databases The first thing we&#8217;ll need is a backup [...]<p><a href="http://www.theemailadmin.com/2009/06/exchange-server-2007-backup-and-recovery-part-2-%e2%80%93-mailbox-servers/">Exchange Server 2007 Backup and Recovery Part 2 – Mailbox Servers</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a target="_blank" href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.theemailadmin.com%2F2009%2F06%2Fexchange-server-2007-backup-and-recovery-part-2-%25e2%2580%2593-mailbox-servers%2F" onclick="pageTracker._trackPageview('/outgoing/api.tweetmeme.com/share?url=http_3A_2F_2Fwww.theemailadmin.com_2F2009_2F06_2Fexchange-server-2007-backup-and-recovery-part-2-_25e2_2580_2593-mailbox-servers_2F&amp;referer=');"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.theemailadmin.com%2F2009%2F06%2Fexchange-server-2007-backup-and-recovery-part-2-%25e2%2580%2593-mailbox-servers%2F&amp;source=emailadm&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: left;">In <a target="_blank" href="../../../../../2009/06/exchange-server-2007-backup-and-recovery-part-1-what-needs-to-be-backed-up/">Part 1</a> of this series I explored what needs to be backed up for each of the different Exchange Server 2007 server roles.  In this post I will demonstrate a Mailbox Server failure and the recovery of the mailbox database from backup.</p>
<h2 style="text-align: left;">Backing up the Databases</h2>
<p style="text-align: left;">The first thing we&#8217;ll need is a backup of the databases on the Mailbox Server.  For this demonstration I am using the built in NTBackup program for Windows Server 2003 to back up both of the storage groups for the server.</p>
<p style="text-align: left;"><img class="size-full wp-image-1123 alignnone" title="mbserver01" src="http://www.theemailadmin.com/wp-content/uploads/2009/06/mbserver01.png" alt="mbserver01" width="506" height="254" /></p>
<h2 style="text-align: left;">Mailbox Server Failure</h2>
<p style="text-align: left;">The next step is to cause a server failure.  In the real world a potential point of failure for Mailbox Servers is the storage.  Typically databases will be located on SAN volumes, and a storage failure will cause the database to go offline.  To simulate this I simply remove the database file from its path on the test server.</p>
<p style="text-align: left;"><img class="alignnone size-full wp-image-1124" title="mbserver02" src="http://www.theemailadmin.com/wp-content/uploads/2009/06/mbserver02.png" alt="mbserver02" width="435" height="259" /></p>
<p style="text-align: left;"><img class="alignnone size-full wp-image-1125" title="mbserver03" src="http://www.theemailadmin.com/wp-content/uploads/2009/06/mbserver03.png" alt="mbserver03" width="483" height="162" /></p>
<h2 style="text-align: left;">Restoring the Database</h2>
<p style="text-align: left;">Before beginning the database restore operation we must first prepare the database for recovery.  <span id="more-1120"></span>To do this open the properties of the Mailbox Database and tick the &#8220;This database can be overwritten by a restore&#8221; check box.</p>
<p style="text-align: left;"><img class="alignnone size-full wp-image-1126" title="mbserver04" src="http://www.theemailadmin.com/wp-content/uploads/2009/06/mbserver04.png" alt="mbserver04" width="400" height="440" /></p>
<p style="text-align: left;">Using the NTBackup program we can now commence the restore of the Storage Group containing the Mailbox Database.</p>
<p style="text-align: left;"><img class="alignnone size-full wp-image-1127" title="mbserver05" src="http://www.theemailadmin.com/wp-content/uploads/2009/06/mbserver05.png" alt="mbserver05" width="503" height="149" /></p>
<p style="text-align: left;">Mailbox Database restores will not automatically initiate a transaction log replay and then mount the database unless we specifically choose to.  This is for situations where the restore will involve a &#8220;full&#8221; backup set followed by a &#8220;differential&#8221; backup set, or followed by one or more &#8220;incremental&#8221; backup sets.  In this case we are only restoring a full backup set, so we can enable the &#8220;Last Restore Set&#8221; and &#8220;Mount Database after Restore&#8221; settings.  We must also specify a temporary path for log and patch files.</p>
<p style="text-align: left;"><img class="alignnone size-full wp-image-1128" title="mbserver06" src="http://www.theemailadmin.com/wp-content/uploads/2009/06/mbserver06.png" alt="mbserver06" width="402" height="289" /></p>
<p style="text-align: left;">Once the restore operation is complete we can see that the Mailbox Database is now mounted and online again.</p>
<p style="text-align: left;"><img class="alignnone size-full wp-image-1129" title="mbserver07" src="http://www.theemailadmin.com/wp-content/uploads/2009/06/mbserver07.png" alt="mbserver07" width="477" height="166" /></p>
<h2 style="text-align: left;">What Just Happened?</h2>
<p style="text-align: left;">When the last restore set has been restored to the server it begins rebuilding the database using the recovered database and transaction log files from the backup set.  These transaction logs are replayed from the temporary location specified during the restore operation.  This achieves the outcome of restoring the database as at the time the backup was taken.  In the real world this would typically mean the previous night.  So what about all of the email that has been sent and received since then?</p>
<p style="text-align: left;">Again, in the real world Exchange Mailbox Server storage uses SAN volumes, or at the very least a disk layout that uses separate storage for the database and transaction logs.  This improves recoverability by ensuring that a failure of a single disk volume only causes the loss of the database or the transaction log, and not both at the same time.</p>
<p style="text-align: left;">In this demonstration that means that the transaction logs that have been generated by all of the current day&#8217;s email activity are still intact.  When the restore operation finishes with the data that came off the backup set it then begins to reply the transaction logs that still reside on the Exchange Mailbox Server.</p>
<p style="text-align: left;"><img class="alignnone size-full wp-image-1130" title="mbserver08" src="http://www.theemailadmin.com/wp-content/uploads/2009/06/mbserver08.png" alt="mbserver08" width="406" height="250" /></p>
<p style="text-align: left;">This operation brings the database completely backed up to the current point in time, fully recovering all email items that were contained in it prior to the database failure.  Once this log replay operation is complete the database is mounted and made available to email users again.</p>
<h2 style="text-align: left;">How to Back Up and Restore Transport Servers</h2>
<p style="text-align: left;">In the next part of this series I will demonstrate the process of backing up Hub Transport and Edge Transport servers and then recovering them from a failure.</p>
<span id="pty_trigger"></span><p><a href="http://www.theemailadmin.com/2009/06/exchange-server-2007-backup-and-recovery-part-2-%e2%80%93-mailbox-servers/">Exchange Server 2007 Backup and Recovery Part 2 – Mailbox Servers</a><br/><br/>

Free ebook download: <a href="http://www.theemailadmin.com/ebook/Top-10-Most-Popular-Troubleshooting-Posts-for-Email-Administrators.pdf">Top 10 Most Popular Troubleshooting Posts for Email Administrators</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theemailadmin.com/2009/06/exchange-server-2007-backup-and-recovery-part-2-%e2%80%93-mailbox-servers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

