Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How can I rollback transactions from the log file

Posted on 2006-10-23
5
Medium Priority
?
234 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
5 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

916 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