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?
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?
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.
Please read the simmillar tread.
HTH Vinay
You should backup your database with COPY_ONLY option (BACKUP DATABASE database_name TO … WITH COPY_ONLY …). It preserves the existing log archive point and, therefore, does not affect the sequencing of mirroring (or log shipping) transaction logs backups.
Check BACKUP command syntax for details