<?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>Edwin M Sarmiento&gt;You don&#8217;t trust your database backups? Use mirrored backup media sets in SQL Server 2005 &#8211; Edwin M Sarmiento</title>
	<atom:link href="https://www.edwinmsarmiento.com/you-dont-trust-your-database-backups-use-mirrored-backup-media-sets-in-sql-server-2005/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.edwinmsarmiento.com</link>
	<description>Intentional Excellence</description>
	<lastBuildDate>Mon, 13 Apr 2026 21:00:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">84283043</site>		<item>
		<title>&gt;You don&#8217;t trust your database backups? Use mirrored backup media sets in SQL Server 2005</title>
		<link>https://www.edwinmsarmiento.com/you-dont-trust-your-database-backups-use-mirrored-backup-media-sets-in-sql-server-2005/</link>
		<comments>https://www.edwinmsarmiento.com/you-dont-trust-your-database-backups-use-mirrored-backup-media-sets-in-sql-server-2005/#respond</comments>
		<pubDate>Tue, 22 Jul 2008 09:56:00 +0000</pubDate>
		<dc:creator>Edwin M Sarmiento</dc:creator>
				<category><![CDATA[MIRROR TO]]></category>
		<category><![CDATA[SQL Server Disaster Recovery]]></category>
		<guid isPermaLink="false">http://bassplayerdoc.wordpress.com/2008/07/22/you-dont-trust-your-database-backups-use-mirrored-backup-media-sets-in-sql-server-2005</guid>

				<description><![CDATA[&#62;What could be more frustrating than knowing that your database backups went missing? This is specifically true if you are dealing with transaction log backups which are dependent on log sequence numbers. You don&#8217;t want to lose a single transaction log backup in the chain. In previous versions of SQL Server, we just execute a [&#8230;]]]></description>
					<content:encoded><![CDATA[<p>&gt;<span style="font-family:arial;">What could be more frustrating than knowing that your database backups went missing? This is specifically true if you are dealing with transaction log backups which are dependent on log sequence numbers. You don&#8217;t want to lose a single transaction log backup in the chain. In previous versions of SQL Server, we just execute a <strong><span style="font-size:85%;">copy</span></strong> command (or even <span style="font-size:85%;"><strong>ROBOCOPY</strong></span>) to copy the transaction log backups to a different location. In SQL Server 2005, we have the <strong><span style="font-size:85%;">MIRROR TO</span></strong> clause. This specifies a set of one or more backup devices that will mirror the backups devices specified in the <strong><span style="font-size:85%;">TO</span></strong> clause, which could be a tape, disk or network location. </span><br /><span style="font-family:Arial;"></span><br /><span style="font-family:Arial;">To use the <span style="font-size:85%;"><strong>MIRROR TO</strong></span> clause, see the sample script below</span><br /><span style="font-family:Arial;"></span><br /><strong><span style="font-size:85%;"><span style="color:#000099;">BACKUP DATABASE</span> AdventureWorks</span></strong><br /><strong><span style="font-size:85%;"><span style="color:#000099;">TO DISK</span> = <span style="color:#990000;">&#8216;D:AdventureWorksDB2.BAK&#8217;</span> </span></strong><br /><strong><span style="font-size:85%;"><span style="color:#000099;">MIRROR to DISK</span> = <span style="color:#990000;">&#8216;F:AdventureWorksDB.BAK&#8217;</span></span></strong><br /><strong><span style="font-size:85%;"><span style="color:#000099;">WITH INIT</span>, <span style="color:#000099;">FORMAT</span>, <span style="color:#000099;">STATS</span>=10</span></strong><br /><strong><span style="font-size:85%;">GO</span></strong><br /><strong><span style="font-size:85%;"></span></strong><br /><span style="font-family:arial;">This creates a mirrored copy of the database backup of the <span style="font-size:85%;"><strong>AdventureWorks</strong></span> database to the F: drive. Although this creates a mirrored copy of the backup, it will definitely take quite some time to complete as it is writing on all the mirrored media set, thereby, increasing database your backup window. I did a test on this by using the <span style="font-size:85%;"><strong>MIRROR TO DISK</strong></span> clause with the <span style="font-size:85%;"><strong>AdventureWorks</strong></span> database and it takes like 10 times longer to do a backup with this option &#8211; the speed, of course, would be dependent on where you mirror your backups and its IO performance</span><br /><span style="font-family:arial;"></span><br /><span style="font-family:arial;">I&#8217;d probably still stick to using the <strong><span style="font-size:85%;">copy</span></strong> command in my backups as long as I get the same result. For more information on using mirrored backup media sets, check out this <a href="http://msdn.microsoft.com/en-us/library/ms175053.aspx">MSDN article </a></span></p>
<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/92377218009570869-4898607487304342144?l=bassplayerdoc.blogspot.com' alt='' /></div>
]]></content:encoded>
			

		<wfw:commentRss>https://www.edwinmsarmiento.com/you-dont-trust-your-database-backups-use-mirrored-backup-media-sets-in-sql-server-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
				<post-id xmlns="com-wordpress:feed-additions:1">122</post-id>	</item>
	</channel>
</rss>