?
Solved

How can I rollback transactions from the log file

Posted on 2006-10-23
5
Medium Priority
?
237 Views
Last Modified: 2008-03-17
Hello, I have a SQl 7.0 database that has been corrupted.  Our backup was rewritten with the corrupted data so any time I restore the DB, I get the same error.

My question is: can we use the log file to restore the database to a few days earlier so the corrupted data is erased from the system?

Thank you,

LR
0
Comment
Question by:Luis_Romero
  • 2
3 Comments
 
LVL 29

Accepted Solution

by:
Nightman earned 1000 total points
ID: 17791293
Give ApexSQL a try (http://www.apexsql.com/sql_tools_log.asp). Not free, but has a 14day trial period.
0
 
LVL 43

Expert Comment

by:Eugene Z
ID: 17791792
just if you have not corrupted database backup

BTW: what in your case "corrupted"?
did you mean - somebody deleted or changed data?
0
 
LVL 43

Assisted Solution

by:Eugene Z
Eugene Z earned 1000 total points
ID: 17791827
correction:
just if you have not corrupted database backup you can restore database to point of failure ( if it had transactional log backup)

How to restore from a transaction log:
http://searchsqlserver.techtarget.com/tip/1,289483,sid87_gci1158531_tax301326,00.html?adg=301324&bucket=ETA

also there are:
Red-gate
SQL Log Rescue
http://www.red-gate.com/products/sql_log_rescue/index.htm

 Log Explorer for SQL Server
http://www.lumigent.com/products/le_sql.html 

0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
In this article, we will show how to detach and attach a database and then show how to repair a corrupt database and attach it, If it has some errors. We will show how to detach and attach using SSMS or using T-SQL sentences.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question