<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'Best Practices', 'Recovery', and 'Backup'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=Best+Practices,Recovery,Backup&amp;orTags=0</link><description>Search results matching tags 'Best Practices', 'Recovery', and 'Backup'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Must-Have Resources - SQL Server Backup &amp;amp; Recovery</title><link>http://sqlblog.com/blogs/kevin_kline/archive/2011/12/08/Must_2D00_Have-Resources-_2D00_-SQL-Server-Backup-_2600_-Recovery.aspx</link><pubDate>Thu, 08 Dec 2011 20:36:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:40232</guid><dc:creator>KKline</dc:creator><description>One of the things that drives me crazy as I'm getting older is that my brain is losing the capacity to differentiate &lt;em&gt;version numbers&lt;/em&gt;.  As I speak travel around speaking with customers and at conferences, I find my self saying things like "I can't recall if this problem was fixed in SQL Server 2000 or 2005. But you don't have to worry about that any more."  Or things like "That feature was added in SQL Server 2008 R2, eh, or was that version 6.5.  DOH!" followed by a loud slapping sound as I whap my palm into my forehead.

The Internet doesn't forget either.  Recommendations that were once helpful, if not outright essential, now are neutral or even downright &lt;em&gt;bad. &lt;/em&gt;So now, whenever I put together new presentations, I always spend a lot of time in research, reassessing my knowledge on the topic.  (That doesn't mean that I'll extemporaneously &lt;em&gt;say&lt;/em&gt; it wrong, because I speak in an off-the-cuff and rapid style. But at least my notes are usually correct).

&amp;nbsp;
&lt;h2&gt;Case In Point&lt;/h2&gt;
Take backup and recovery (B&amp;amp;R), for example.  I've been writing about and performing B&amp;amp;R for years.  I'm even part of the team that builds the most popular B&amp;amp;R tool in the SQL Server space.  It's an extremely important part of what I do.  And yet, even &lt;em&gt;after &lt;/em&gt;spending a couple days re-researching topics (yet again), I still manage to get a few of the more specific details wrong because of changes over the years in the feature set.  How so?

During an Expert's Perspective webcast last week (and available on-demand) covering the top backup and recovery mistakes on Microsoft SQL Server, I mis-explained the details concerning how SQL Server performs a differential backup.  A very clever SC on our team who was also attending the webcast pointed out to me after the session that I'd described differentials working at an 8k page-level when, in fact, they work at the extend-level (that's a block of eight 8k pages). &lt;strong&gt;&lt;em&gt;#FACEPALM!&lt;/em&gt;&lt;/strong&gt;

When describing the differential backup I said that a bit was flipped on each page header and SQL Server would only back up those pages. Instead, whenever a page is changed a bit is recorded on the differential change map (1bit per extent), the backup process then queries these map pages and backs up those extents that have been marked as changed.
&lt;ul&gt;
	&lt;li&gt;Watch the on-demand video of &lt;a title="Quest Software webcast on Performance Tuning SQL Server for Backups and Restores" href="http://www.quest.com/webcast-ondemand/pain-of-the-week-performance-tuning-for-backups-and-restores813358.aspx" target="_blank"&gt;Performance Tuning SQL Server for Backups and Restores&lt;/a&gt;, with me, Iain Kick, and Brent Ozar (&lt;a title="Brent Ozar SQL Server certified master" href="http://www.brentozar.com/" target="_blank"&gt;blog &lt;/a&gt;| &lt;a title="Brent Ozar's Twitter Feed" href="http://twitter.com/brento" target="_blank"&gt;twitter&lt;/a&gt;). Free, but registration required.&lt;/li&gt;
	&lt;li&gt;Watch the on-demand video of &lt;a title="Quest Software webcast Incredibly Painful SQL Server Backup and Recovery" href="http://www.quest.com/webcast-ondemand/-experts-perspective-webcast-five-incredibly-painful-sql-server-backup816067.aspx" target="_blank"&gt;Ten Incredibly Painful SQL Server Backup and Recovery Mistakes&lt;/a&gt;, with me and David Gugick.&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="text-align:center;"&gt;&lt;a href="http://www.quest.com/webcast-ondemand/-experts-perspective-webcast-five-incredibly-painful-sql-server-backup816067.aspx"&gt;&lt;img class="aligncenter size-medium wp-image-1846" title="EP, backup mistakes" alt="" src="http://kevinekline.com/wp-content/uploads/2011/12/EP-backup-mistakes-300x179.jpg" width="497" height="294"&gt;&lt;/a&gt;&lt;/p&gt;
&amp;nbsp;
&lt;h2&gt;The Research Reveals&lt;/h2&gt;
The cool revelation here is not that I can admit my mistakes.  The take-away from this blog post are all the great articles I read writing my latest slide deck.  These blogs and articles were so good that I needed to spread the word.  Add these to your &lt;span style="text-decoration:underline;"&gt;must read&lt;/span&gt; list:
&lt;h3&gt;Virtual Log Files must be tamed!&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a title="SQL Server VLF Behavior Benchmarked" href="http://sqlblog.com/blogs/linchi_shea/archive/2009/02/09/performance-impact-a-large-number-of-virtual-log-files-part-i.aspx" target="_blank"&gt;Performance impact: a large number of virtual log files Part I&lt;/a&gt; and &lt;a title="SQL Server VLF Behavior Benchmarked" href="http://sqlblog.com/blogs/linchi_shea/archive/2009/02/12/performance-impact-a-large-number-of-virtual-log-files-part-ii.aspx" target="_blank"&gt;Part II&lt;/a&gt; by one of my favorite not-so-prolific bloggers, Linchi Shea (&lt;a title="Linchi Shea's Blog" href="http://sqlblog.com/blogs/linchi_shea/default.aspx" target="_blank"&gt;blog&lt;/a&gt;). The thing I love about Linchi's content is its rich benchmarking information.  Few SQL Server experts out there routinely test the behavior and performance of specific SQL Server features like Linchi does.&lt;/li&gt;
	&lt;li&gt;&lt;a title="SQL Server Slow recovery times and slow performance due to Virtual Log Files" href="http://blogs.msdn.com/b/grahamk/archive/2008/05/16/slow-recovery-times-and-slow-performance-due-to-large-numbers-of-virtual-log-files.aspx" target="_blank"&gt;Slow recovery times and slow performance due to large numbers of Virtual Log Files&lt;/a&gt;, by Graham Kent (&lt;a title="Graham Kent's Blog" href="http://blogs.msdn.com/grahamk" target="_blank"&gt;blog&lt;/a&gt;) of Microsoft Sweden, shows that VLFs impact not only the processing time of transactions but also B&amp;amp;R processes.&lt;/li&gt;
	&lt;li&gt;&lt;a title="Lots of SQL Server VLFs are Bad!" href="http://sqlblogcasts.com/blogs/tonyrogerson/archive/2007/07/25/sql-2000-yes-lots-of-vlf-s-are-bad-improve-the-performance-of-your-triggers-and-log-backups-on-2000.aspx" target="_blank"&gt;Lots of VLFs are Bad&lt;/a&gt;, by Tony Rogerson (&lt;a title="Tony Rogerson's Blog" href="http://sqlblogcasts.com/blogs/tonyrogerson/default.aspx" target="_blank"&gt;blog&lt;/a&gt; | &lt;a title="Tony Rogerson's Twitter Feed" href="http://twitter.com/tonyrogerson" target="_blank"&gt;twitter&lt;/a&gt;), was the article that first got me interested in this behavior.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Backup and Recovery Myth Busting&lt;/h3&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a title="SQL Server Pro Magazine's Michael K. Campbell" href="http://www.sqlmag.com/content2/topic/breaking-backup-chain-redux-eating-crow-141459/catpath/sql-server-2008-r2/seriespath/practical-sql-server-45#commentsAnchor" target="_blank"&gt;Breaking the Backup Chain - Redux (Or 'Eating Crow')&lt;/a&gt;, by Michael K. Campbell (&lt;a title="The Practical SQL Server Blog" href="http://www.sqlmag.com/blogcontent/seriespath/practical-sql-server-45" target="_blank"&gt;blog&lt;/a&gt;), shows that out-of-band database backups break differentials not transaction log backups.&lt;/li&gt;
	&lt;li&gt;&lt;a title="Paul Randal's Blog" href="http://sqlskills.com/BLOGS/PAUL/post/BACKUP-WITH-COPY_ONLY-how-to-avoid-breaking-the-backup-chain.aspx" target="_blank"&gt;Backup with COPY_ONLY, How to Avoid Breaking the Backup Chain&lt;/a&gt;, by the eminent Paul Randal (&lt;a title="Paul Randal's SQL Server Blog" href="http://sqlskills.com/BLOGS/PAUL/" target="_blank"&gt;blog&lt;/a&gt; | &lt;a title="Paul Randal's Twitter Feed" href="https://twitter.com/#!/PaulRandal" target="_blank"&gt;twitter&lt;/a&gt;), uses clear writing and first-class demos to illustrate the principle of breaking backup chains in Microsoft SQL Server.  Other great blogs of a related nature from Paul include:&lt;/li&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;a title="Paul Randal's 'Debunking a Couple Myths Around SQL Server Full Backup'" href="http://sqlskills.com/BLOGS/PAUL/post/Debunking-a-couple-of-myths-around-full-database-backups.aspx" target="_blank"&gt;Debunking a Couple Myths around Full Backup&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a title="Paul Randal's 'The Importance of Validating SQL Server Backups'" href="http://sqlskills.com/BLOGS/PAUL/post/Importance-of-validating-backups.aspx" target="_blank"&gt;The Importance of Validating Backups&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a title="Paul Randal's '30 Backup Myths'" href="http://sqlskills.com/BLOGS/PAUL/post/A-SQL-Server-DBA-myth-a-day-(3030)-backup-myths.aspx" target="_blank"&gt;30 Backup Myths&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;h3&gt;Other Good Sources&lt;/h3&gt;
And just in case you need a refreshing in the basics of SQL Server backup and recovery, check these out:
&lt;ul&gt;
	&lt;li&gt;&lt;a title="Brent Ozar's Backup Best Practices" href="http://www.brentozar.com/sql/backup-best-practices" target="_blank"&gt;Backup best practices from Brent Ozar &lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a title="MSDN's 'SQL Server Backup 101'" href="http://msdn.microsoft.com/en-us/library/ms190374.aspx" target="_blank"&gt;Backup 101 - recovery models and transaction log management&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>