Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 URGENT

Author  Topic 

ann
Posting Yak Master

220 Posts

Posted - 2009-09-30 : 09:54:48
So I accidently updated a bunch of records that I should not have....

Other than a backup, is there anyway I can get back the old data, as in transaction log?

mcrowley
Aged Yak Warrior

771 Posts

Posted - 2009-09-30 : 11:43:56
you can try to use Lumigent's Log Explorer, but the database would need to be in FULl recovery mode. Otherwise, the log entries are long gone.
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2009-09-30 : 12:13:30
And you would need to use the log explorer before the next transaction log backup.

--
Gail Shaw
SQL Server MVP
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2009-09-30 : 17:00:00
What's wrong with a backup?

Just Restore it to a different db name on the same server

DONE



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2009-09-30 : 17:07:21
quote:
Originally posted by X002548

What's wrong with a backup?


Nothing, if you have one....

--
Gail Shaw
SQL Server MVP
Go to Top of Page

ann
Posting Yak Master

220 Posts

Posted - 2009-09-30 : 18:20:03
Right - the "oops" happened after a backup was done
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-09-30 : 18:45:45
If you use either FULL or BULK_LOGGED recovery, you can recover the data by doing a point in time restore via RESTORE DATABASE and RESTORE LOG.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -