Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

Consider the following scenario:

  • You use AlwaysOn Availability Groups in an instance of Microsoft SQL Server 2016 or 2017.

  • You set up SQL Server Managed Backups on one or more of your user databases which is added to an available group.

  • You run an on-demand log backup on the database.

  • You remove the database from the available group and then add it back. Or, you failover your database.

  • You run an on-demand log backup on the database.

In this scenario, you find there is a break in the log chain by querying the managed_backup.fn_available_backups table on the msdb database.

Cause

This issue occurs because when you remove the database from an available group and then add it back or you failover your database, a new database GUID is created in the database_guid column of the smart_backup_files table. This causes the partition to list the data in nonsequential order and triggers the break log chain.

Resolution

This fix is included in the following cumulative updates for SQL Server:

Cumulative Update 1 for SQL Server 2017

Cumulative Update 5 for SQL Server 2016 Service Pack 1

About SQL Server builds

Each new build for SQL Server contains all the hotfixes and all the security fixes that were included with the previous build. We recommend that you install the latest cumulative updates for SQL Server:

Latest cumulative update for SQL Server 2017

latest build for SQL Server 2016

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×