Follow sqlserver-dba.com

Subscribe to RSS feed  Follow @jackvamvas - Twitter

*Use the Comments section for questions

SQLServer-DBA.com Links

Dba_db2_button

dba-ninja.com

SQL Server DBA Jobs

How to fix Database might contain bulk logged changes that have not been backed up for Always On

24 February,2021 by Tom Collins

Question: I'm trying to add a new database to an existing Clustered Always On High Availability Group , but every time I execute the following  statement , I get the error message below

alter availability group MY_AG1 add database [mydb];

 

Msg 1475, Level 16, State 105, Line 5
Database "mydb" might contain bulk logged changes that have not been backed up. Take a log backup on the principal database or primary database. Then restore this backup either on the mirror database to enable database mirroring or on every secondary database to enable you to join it to the availability group.

 

Answer: After creating the database, if you don't do a FULL backup, even though the database is in FULL recovery mode, it is still in pseudo SIMPLE RECOVERY mode , until you've taken the first FULL BACKUP to create a new backup chain. 

The way to fix the problem is to create the FULL BACKUP and then proceed with adding to the AVAILABILITY GROUP.   It has to be a bona fide FULL BACKUP without the copy only option.

 

Read more on Always On

Quick access to SQL Server AlwaysOn Availability cheatsheet

 


Author: Tom Collins (http://www.sqlserver-dba.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on How to fix Database might contain bulk logged changes that have not been backed up for Always On


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact|Copyright & Disclaimer