{"id":408,"date":"2023-06-08T01:40:21","date_gmt":"2023-06-08T06:40:21","guid":{"rendered":"https:\/\/www.sqlbackupmaster.com\/wordpress\/?p=408"},"modified":"2025-11-11T19:06:40","modified_gmt":"2025-11-12T00:06:40","slug":"troubleshooting-invalid-backup-chain-detected-messages","status":"publish","type":"post","link":"https:\/\/www.sqlbackupmaster.com\/wordpress\/2023\/06\/08\/troubleshooting-invalid-backup-chain-detected-messages\/","title":{"rendered":"&#8220;Invalid backup chain detected&#8221; Troubleshooting"},"content":{"rendered":"\n<p>SQL Backup Master 6.3 includes a new feature called <strong>backup chain validation<\/strong> that is responsible for generating &#8220;invalid backup chain detected&#8221; messages. This article describes the goal and function of this feature.<\/p>\n\n\n\n<h2>Introduction<\/h2>\n\n\n\n<p>The goal of <strong>backup chain validation<\/strong> is to warn users when other third-party applications could potentially interfere with the SQL Server backup chain. Specifically, when a <strong>differential or transaction log<\/strong> backup is started, SQL Backup Master analyzes SQL Server&#8217;s backup history table and checks to see if the most recent backup was <em>also<\/em> created by SQL Backup Master.<\/p>\n\n\n\n<p>If a possible conflict is detected, SQL Backup Master writes an &#8220;invalid backup chain detected&#8221; message to the log. Such messages can be logged as warnings (default) or errors, depending on backup job settings. <\/p>\n\n\n\n<p><em><mark style=\"background-color:rgba(0, 0, 0, 0);color:#7d1414\" class=\"has-inline-color\">Note that <a rel=\"noreferrer noopener\" href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/relational-databases\/backup-restore\/copy-only-backups-sql-server?view=sql-server-ver16\" target=\"_blank\">copy-only<\/a> database backups are ignored during backup chain validation, as they don&#8217;t interfere with the SQL Server backup chain. See below for details.<\/mark><\/em><\/p>\n\n\n\n<h2>Why does it matter?<\/h2>\n\n\n\n<p>Why is it a potential problem if another software tool is <em>also<\/em> taking SQL Server backups?<\/p>\n\n\n\n<p>In some cases, it won&#8217;t be. If a third-party software tool is taking <a rel=\"noreferrer noopener\" href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/relational-databases\/backup-restore\/copy-only-backups-sql-server?view=sql-server-ver16\" target=\"_blank\">copy-only<\/a> SQL Server backups, those will not interfere with the backup chain so SQL Backup Master won&#8217;t warn about them. If you need to occasionally take a backup outside of SQL Backup Master (i.e. via SQL Server Management Studio, etc.) then creating a copy-only backup is a good option.<\/p>\n\n\n\n<p>However, some third-party products will create <strong>snapshot<\/strong> backups (via Volume Shadow Copy Service) that will invalidate the backup chain. A broken backup chain can then trigger other backup errors or interfere with future restore efforts.<\/p>\n\n\n\n<h2>Troubleshooting<\/h2>\n\n\n\n<p>SQL Backup Master makes it easy to see if another software tool is taking snapshot database backups. <\/p>\n\n\n\n<p>To start, select the <strong>Reporting<\/strong> tab in the main product window and select the <strong>Backup history<\/strong> report. Starting at around the time when SQL Backup Master logged the &#8220;invalid backup chain detected&#8221; message, look for preceding report entries with the <strong>Is Snapshot<\/strong> field set to <em>True<\/em>.<\/p>\n\n\n\n<p>You can also look for report entries with a <strong>Backup set<\/strong> field that is <em>not<\/em> set to &#8220;SQL Backup Master backup&#8221;.<\/p>\n\n\n\n<h2>Solutions<\/h2>\n\n\n\n<p>If you&#8217;ve used the information above to determine that snapshot database backups are triggering this message, there are several possible solutions.<\/p>\n\n\n\n<p>One option is to disable the <a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/database-engine\/configure-windows\/sql-writer-service?view=sql-server-ver16\" target=\"_blank\" rel=\"noreferrer noopener\">SQL Writer<\/a> system service, which VSS (Volume Shadow Copy Service) uses to create SQL Server database snapshots. To do so, Run <strong>services.msc<\/strong>, find the <strong>SQL Server VSS Writer<\/strong> service, stop it, and configure it to start up manually.<\/p>\n\n\n\n<p>Another possible option is to determine which third-party backup solution is taking SQL Server database snapshots and configure it not to do so. For example, if you&#8217;re using <a rel=\"noreferrer noopener\" href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/backup\/backup-overview\" data-type=\"URL\" data-id=\"https:\/\/learn.microsoft.com\/en-us\/azure\/backup\/backup-overview\" target=\"_blank\">Azure Backup<\/a> you may wish to avoid using the SQL Server backup agent. Other Virtual Machine or cloud-based solutions may have backup features that can be similarly configured.<\/p>\n\n\n\n<p>Finally, if you determine that the &#8220;invalid backup chain detected&#8221; messages logged by SQL Backup Master are not relevant for your environment, you can ignore them (if they&#8217;re configuring as warnings) or disable them entirely in the <strong>Database<\/strong> tab of the backup job settings window.<\/p>\n\n\n\n<p>Once the problem is resolved, we recommend taking a manual full backup of any affected databases in SQL Backup Master to reset the backup chain.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SQL Backup Master 6.3 includes a new feature called backup chain validation that is responsible for generating &#8220;invalid backup chain detected&#8221; messages. This article describes the goal and function of this feature. Introduction The goal of backup chain validation is to warn users when other third-party applications could potentially interfere with the SQL Server backup [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.sqlbackupmaster.com\/wordpress\/wp-json\/wp\/v2\/posts\/408"}],"collection":[{"href":"https:\/\/www.sqlbackupmaster.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sqlbackupmaster.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqlbackupmaster.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqlbackupmaster.com\/wordpress\/wp-json\/wp\/v2\/comments?post=408"}],"version-history":[{"count":10,"href":"https:\/\/www.sqlbackupmaster.com\/wordpress\/wp-json\/wp\/v2\/posts\/408\/revisions"}],"predecessor-version":[{"id":593,"href":"https:\/\/www.sqlbackupmaster.com\/wordpress\/wp-json\/wp\/v2\/posts\/408\/revisions\/593"}],"wp:attachment":[{"href":"https:\/\/www.sqlbackupmaster.com\/wordpress\/wp-json\/wp\/v2\/media?parent=408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sqlbackupmaster.com\/wordpress\/wp-json\/wp\/v2\/categories?post=408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sqlbackupmaster.com\/wordpress\/wp-json\/wp\/v2\/tags?post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}