Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

TFS_Warehouse Transaction Log Corruption Expand / Collapse
Posted Wednesday, February 13, 2013 6:21 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, August 6, 2015 8:32 AM
Points: 3, Visits: 90
We have nightly backups configured for the Team Foundation Server TFS databases. Recently, the transaction log backup for the TFS_Warehouse database is failing with the following message:

'Backup detected log corruption in database Tfs_Warehouse'

We are doing a backup of the database and the transaction log for this database. The backup seems to complete successfully and a .bak file is created. A .trn file is not created however.

My question is How can the transaction log be repaired without getting the database out of sync from the other TFS databases or losing data?

The corruption occurred a week ago and there has been TFS checkins and data committed to the Tfs_Warehouse database since the corruption occurred. We keep backups for 14 days but if we go back pre-corruption, the last time the transaction log .trn backup succeeded, we would lose all data since.

What would be the best approach here?

Thanks in advance for any suggestions

Post #1419466
Posted Thursday, February 14, 2013 9:28 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, July 29, 2014 9:40 AM
Points: 201, Visits: 811
Could be a section of the LDF file that is corrupt, does DBCC CHECKDB return any errors? Below is a link which could be of help to you.

On another note I would also start checking the disk subsystem, corruption doesn't just happen.
Post #1420148
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse