Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Pulling data out of the transaction log Expand / Collapse
Author
Message
Posted Wednesday, October 20, 2010 1:09 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, October 21, 2010 8:25 AM
Points: 2, Visits: 2
DB1: Prod
DB2: Prod Restore from previous night

I backed up DB1 which had some tables overwritten.
I restored DB2 onto DB1, but I am losing data by doing that.
How can I get the data that I lost from doing the restore?

Any options with the TLOG?
Comparison tools to compare the tables and see what's different?

Please help.
Post #1007963
Posted Wednesday, October 20, 2010 2:11 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 5:58 AM
Points: 32,257, Visits: 24,742
Restore the databases alongside each other and use something like Redgate's SQLDataCompare.

The tran log won't tell you anything of use here. You restored over the DB that the changes were made to. You lost any ability to check back over the old log records when you did that.



Gail Shaw
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1008011
Posted Thursday, October 21, 2010 8:29 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, October 21, 2010 8:25 AM
Points: 2, Visits: 2
But I did save a copy of the database before I restored over it. I have the corrupted restored on another database. Is there still any hope to grab the lost data from the restore of the corrupt database, it's online and query-able.
Post #1008532
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse