Sql-server – How to backup the transaction log for a mirrored database in SQL Server

backupsql servertransaction-log

I have a mirrored database and am trying to perform a backup of the transaction log, but after it gets to 90% it just hangs and won't go any further.

What is the correct method for backing up a DB that is in the mirroring state?

Best Answer

Backing up the transaction log on a mirrored database is done exactly the same way as it is done on a non-mirrored database.

The only difference is that records can't be overwritten in the transaction log until the data is mirrored to the partner and until it is backed up.

Check the wait information to see why the process is stalling.