{"id":691,"date":"2015-03-31T09:58:55","date_gmt":"2015-03-31T16:58:55","guid":{"rendered":"http:\/\/3.209.169.194\/blogs\/erin\/?p=691"},"modified":"2018-12-14T09:11:08","modified_gmt":"2018-12-14T17:11:08","slug":"backup-checksum-default-option-in-sql-server-2014","status":"publish","type":"post","link":"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/","title":{"rendered":"Backup checksum default option in SQL Server 2014"},"content":{"rendered":"<p>The SQL Server team snuck in a new server configuration option in the 2014 release (I bet thanks to this Connect item even though it&#8217;s still Active), and it&#8217;s not documented so I just stumbled upon it recently.\u00a0 If you run:<\/p>\n<p>SELECT * FROM [sys].[configurations] ORDER BY [name];<\/p>\n<p>you&#8217;ll see that there are 70 rows in the output (in 2012 there were 69) and the new one is:<\/p>\n<p style=\"padding-left: 30px;\">backup checksum default<\/p>\n<p>The option is disabled (set to 0) by default.\u00a0 To enable it, simply run:<\/p>\n<p>EXEC sp_configure &#8216;backup checksum default&#8217;, 1; GO RECONFIGURE WITH OVERRIDE; GO<\/p>\n<p>As a quick reminder, adding the CHECKSUM syntax to the backup command forces SQL Server to verify any existing page checksums as it reads pages for the backup, and it calculates a checksum over the entire backup.\u00a0 Remember that this does not replace CHECKDB (check out Paul&#8217;s post &#8211; <a href=\"https:\/\/www.sqlskills.com\/blogs\/paul\/a-sql-server-dba-myth-a-day-2730-use-backup-with-checksum-to-replace-dbcc-checkdb\/\">A SQL Server DBA myth a day: (27\/30) use BACKUP WITH CHECKSUM to replace DBCC CHECKDB<\/a> &#8211; for more details).\u00a0 So what does this server option do?\u00a0 Well, since it&#8217;s not yet documented (I filed a Connect item here) I did some testing to confirm what I was expecting.<\/p>\n<p>Within Management Studio I ran a simple backup statement:<\/p>\n<p>BACKUP DATABASE [AdventureWorks2014] TO\u00a0 DISK = N&#8217;C:\\Backups\\AdventureWorks2014_checksumtest.bak&#8217;;<\/p>\n<p>Then I checked the output in msdb:<\/p>\n<p>SELECT [bs].[database_name], [bs].[backup_start_date], [bs].[backup_finish_date], [bs].[has_backup_checksums], [bs].[user_name], [bm].[physical_device_name] FROM [msdb]..[backupset] [bs] JOIN [msdb]..[backupmediafamily] [bm] on [bs].[media_set_id] = [bm].[media_set_id];<\/p>\n<figure id=\"attachment_692\" aria-describedby=\"caption-attachment-692\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2015\/03\/3-31-2015-12-46-45-pm.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"size-large wp-image-692\" src=\"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2015\/03\/3-31-2015-12-46-45-pm-1024x52.jpg\" alt=\"Backup information from msdb\" width=\"1024\" height=\"52\" \/><\/a><figcaption id=\"caption-attachment-692\" class=\"wp-caption-text\">Backup information from msdb<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>Check it out&#8230;with the server option enabled, I don&#8217;t have to include the CHECKSUM syntax to have SQL Server perform the backup checksum.<\/p>\n<p>If you&#8217;re running SQL Server 2014, I highly recommend enabling this option for your instances, and if you rely on Glenn&#8217;s scripts for instance reviews, I know he&#8217;s adding a note about this to the next set \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The SQL Server team snuck in a new server configuration option in the 2014 release (I bet thanks to this Connect item even though it&#8217;s still Active), and it&#8217;s not documented so I just stumbled upon it recently.\u00a0 If you run: SELECT * FROM [sys].[configurations] ORDER BY [name]; you&#8217;ll see that there are 70 rows [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[41],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.9.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Backup checksum default option in SQL Server 2014 - Erin Stellato<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Backup checksum default option in SQL Server 2014 - Erin Stellato\" \/>\n<meta property=\"og:description\" content=\"The SQL Server team snuck in a new server configuration option in the 2014 release (I bet thanks to this Connect item even though it&#8217;s still Active), and it&#8217;s not documented so I just stumbled upon it recently.\u00a0 If you run: SELECT * FROM [sys].[configurations] ORDER BY [name]; you&#8217;ll see that there are 70 rows [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/\" \/>\n<meta property=\"og:site_name\" content=\"Erin Stellato\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-31T16:58:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-12-14T17:11:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2015\/03\/3-31-2015-12-46-45-pm-1024x52.jpg\" \/>\n<meta name=\"author\" content=\"Erin Stellato\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Erin Stellato\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/\",\"name\":\"Backup checksum default option in SQL Server 2014 - Erin Stellato\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/#website\"},\"datePublished\":\"2015-03-31T16:58:55+00:00\",\"dateModified\":\"2018-12-14T17:11:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/#\/schema\/person\/76170223ffffa1df03fd9be5b66cb158\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Backup checksum default option in SQL Server 2014\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/#website\",\"url\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/\",\"name\":\"Erin Stellato\",\"description\":\"The SQL Sequel\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/#\/schema\/person\/76170223ffffa1df03fd9be5b66cb158\",\"name\":\"Erin Stellato\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0c8b485bd54ea26b57e99f79b525f409?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0c8b485bd54ea26b57e99f79b525f409?s=96&d=mm&r=g\",\"caption\":\"Erin Stellato\"},\"sameAs\":[\"http:\/\/3.209.169.194\/blogs\/erin\"],\"url\":\"https:\/\/www.sqlskills.com\/blogs\/erin\/author\/erin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Backup checksum default option in SQL Server 2014 - Erin Stellato","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/","og_locale":"en_US","og_type":"article","og_title":"Backup checksum default option in SQL Server 2014 - Erin Stellato","og_description":"The SQL Server team snuck in a new server configuration option in the 2014 release (I bet thanks to this Connect item even though it&#8217;s still Active), and it&#8217;s not documented so I just stumbled upon it recently.\u00a0 If you run: SELECT * FROM [sys].[configurations] ORDER BY [name]; you&#8217;ll see that there are 70 rows [&hellip;]","og_url":"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/","og_site_name":"Erin Stellato","article_published_time":"2015-03-31T16:58:55+00:00","article_modified_time":"2018-12-14T17:11:08+00:00","og_image":[{"url":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-content\/uploads\/2015\/03\/3-31-2015-12-46-45-pm-1024x52.jpg"}],"author":"Erin Stellato","twitter_misc":{"Written by":"Erin Stellato","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/","url":"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/","name":"Backup checksum default option in SQL Server 2014 - Erin Stellato","isPartOf":{"@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/#website"},"datePublished":"2015-03-31T16:58:55+00:00","dateModified":"2018-12-14T17:11:08+00:00","author":{"@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/#\/schema\/person\/76170223ffffa1df03fd9be5b66cb158"},"breadcrumb":{"@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/backup-checksum-default-option-in-sql-server-2014\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqlskills.com\/blogs\/erin\/"},{"@type":"ListItem","position":2,"name":"Backup checksum default option in SQL Server 2014"}]},{"@type":"WebSite","@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/#website","url":"https:\/\/www.sqlskills.com\/blogs\/erin\/","name":"Erin Stellato","description":"The SQL Sequel","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sqlskills.com\/blogs\/erin\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/#\/schema\/person\/76170223ffffa1df03fd9be5b66cb158","name":"Erin Stellato","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sqlskills.com\/blogs\/erin\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0c8b485bd54ea26b57e99f79b525f409?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0c8b485bd54ea26b57e99f79b525f409?s=96&d=mm&r=g","caption":"Erin Stellato"},"sameAs":["http:\/\/3.209.169.194\/blogs\/erin"],"url":"https:\/\/www.sqlskills.com\/blogs\/erin\/author\/erin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/posts\/691"}],"collection":[{"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/comments?post=691"}],"version-history":[{"count":0,"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/posts\/691\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/media?parent=691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/categories?post=691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlskills.com\/blogs\/erin\/wp-json\/wp\/v2\/tags?post=691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}