<?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>Personal website of Dave Hope &#187; NTBackup</title>
	<atom:link href="http://davehope.co.uk/Blog/tag/ntbackup/feed/" rel="self" type="application/rss+xml" />
	<link>http://davehope.co.uk</link>
	<description>Open source projects, sysadmin stuff and general geekage</description>
	<lastBuildDate>Tue, 18 May 2010 11:46:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Exchange 2007 restore using NTBackup</title>
		<link>http://davehope.co.uk/Blog/exchange-2007-restore-ntbackup/</link>
		<comments>http://davehope.co.uk/Blog/exchange-2007-restore-ntbackup/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 12:08:35 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Disaster Recovery]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[NTBackup]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://davehope.co.uk/?p=56</guid>
		<description><![CDATA[Now that I&#8217;m well under way with my Exchange 2007 migration I figured it&#8217;d be a good time to test the new Exchange recovery process. To cut a long story short, it&#8217;s a long process as most of the functionality is via Powershell rather than the Exchange Management Console. Anyway, here&#8217;s a quick guide. 1. [...]]]></description>
			<content:encoded><![CDATA[<p>Now that I&#8217;m well under way with <a href="http://davehope.co.uk/Blog/exchange-2007-migration/">my Exchange 2007 migration</a> I figured it&#8217;d be a good time to test the new Exchange recovery process.</p>
<p>To cut a long story short, it&#8217;s a long process as most of the functionality is via Powershell rather than the Exchange Management Console.</p>
<p>Anyway, here&#8217;s a quick guide.</p>
<p><strong>1. Create the recovery storage group</strong><br />
This just creates an empty storage group for the recovery database, nothing fancy going on here.</p>
<pre>[PS] C:\&gt;new-storagegroup -LogFolderPath F:\Backup\Restore\Logs -Name ExchangeRestore -SystemFolderPath F:\Backup\Restore\Data -Recovery
Name                      Server            Replicated        Recovery
----                      ------            ----------        --------
ExchangeRestore           IMM-CORE-EXCH01   None              True
[PS] C:\&gt;</pre>
<p><strong>2. Create a new recovery mailbox database</strong><br />
This creates a new empty database for NTBackup to restore to.</p>
<pre>[PS] C:\&gt;new-mailboxdatabase -mailboxdatabasetorecover "Mailbox Database" -storagegroup ExchangeRestore -edbfilepath "F:\Backup\Restore\Data\Mailbox Database.edb"
Name                 Server          StorageGroup         Recovery
----                 ------          ------------         --------
Mailbox Database     IMM-CORE-EXCH01 ExchangeRestore      True
[PS] C:\&gt;</pre>
<p><strong>3. Restore the mailbox database via NTBackup</strong><br />
Now restore the mailbox database  via ntbackup, remembering to tick the &#8220;this is the last backup to restore&#8221; option. Tick the check box not to mount the store after the restore completes.</p>
<p><strong>4. Mount the restored mailbox database</strong></p>
<pre>[PS] C:\&gt;Mount-Database -Identity 'ExchangeRestore\Mailbox Database'
[PS] C:\&gt;</pre>
<p><strong>5. Restore the mailbox to a folder in another mailbox</strong><br />
I prefer to redirect the mailbox restore elsewhere, just so that I can look through it and decide what I want to do with the restored data. Below I&#8217;m restoring my mailbox to an existing mailbox called &#8216;Restore&#8217;.</p>
<pre>[PS] C:\&gt;Restore-Mailbox -RSGMailbox 'Dave Hope' -RSGDatabase 'ExchangeRestore\Mailbox Database' -id 'Restore' -TargetFolder 'Restore'
[PS] C:\&gt;</pre>
<p><strong>6. Dismount the recovered mailbox database</strong><br />
We should now be done with our recovered mailbox database, so we can dismount it ready for removal.</p>
<pre>[PS] C:\&gt;Dismount-database -Identity 'ExchangeRestore\Mailbox Database'
[PS] C:\&gt;</pre>
<p><strong>7. Remove the mailbox database</strong><br />
This removes the mailbox database from the storage group &#8211; it doesn&#8217;t actually delete the files.</p>
<pre>[PS] C:\&gt;Remove-MailboxDatabase -Identity 'ExchangeRestore\Mailbox Database'
[PS] C:\&gt;</pre>
<p><strong>8. Remove the storage group</strong><br />
Since we shouldn&#8217;t need out recovery storage group (at least, until next time) we can remove that too.</p>
<pre>[PS] C:\&gt;Remove-StorageGroup -Identity 'ExchangeRestore'
[PS] C:\&gt;</pre>
<p>There, all done! Good luck with your Exchange restore.</p>
]]></content:encoded>
			<wfw:commentRss>http://davehope.co.uk/Blog/exchange-2007-restore-ntbackup/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
