SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


TFS_Warehouse Transaction Log Corruption


TFS_Warehouse Transaction Log Corruption

Author
Message
dlq1211
dlq1211
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
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
kyleheath33
kyleheath33
Old Hand
Old Hand (349 reputation)Old Hand (349 reputation)Old Hand (349 reputation)Old Hand (349 reputation)Old Hand (349 reputation)Old Hand (349 reputation)Old Hand (349 reputation)Old Hand (349 reputation)

Group: General Forum Members
Points: 349 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.

http://www.sqlskills.com/blogs/paul/how-can-a-log-backup-fail-but-a-full-backup-succeed/

On another note I would also start checking the disk subsystem, corruption doesn't just happen.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search