November 14, 2007 at 12:10 am
dewa_himatif_sf (11/13/2007)
and a few others ...
//what's the recovery model of the DB?
simple
Sorry everybody, but dewa's already said it's in Simple mode. :crying:
______________________________________________________________________
Personal Motto: Why push the envelope when you can just open it?
If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.
Jason L. SelburgNovember 14, 2007 at 12:17 am
Take care when handling important data !!
Minaz
"More Green More Oxygen !! Plant a tree today"
November 14, 2007 at 12:49 am
thanks all,
i download apexSQL log (trial version) in my office OS (Win 2000 Server), before install apexSQL log, i should install windows intaller 3.0 and .NET Framework 2.0, then i install apexSQL log.
i run apexSQL log, then i choose recovery log, and open mydb.ldf, then there are message error that "mode is simple", then i change it to full mode, i run again recovery log,
..................................
i can read the record that i was deleted before in "SQL script",
then i run that SQL script (insert the record to table again).
i'm happy that, but....
i running my application that using myDB,
oh dear, not at all recovery, from around 86.000 record, it's just around 30.000 apexSQL can recovery,
and now my BOSS is very angry to me...
November 14, 2007 at 1:02 am
Were those rows inserted before or after the 9th Nov backup? If before, then restore that backup to another server and copy the data across.
Look on the bright side. It could have been worse. It could have been the entire database getting corrupt.
Now that your DB is in full recovery mode, set up regular transaction log backups to ensure that you can always do a recovery to a specific point in time if required.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 14, 2007 at 1:44 am
Thanks for sharing the information !!
Minaz
"More Green More Oxygen !! Plant a tree today"
November 15, 2007 at 4:36 am
Hi,
I think thet Jeff proposition is the only way to recover your lost data (because you have a simple recovery model). to check the data you lost just download a trial version of SQL Data compare. http://www.red-gate.com/.
Then you have to be aware when inserting the deleted rows (Relatioship).
When all will be fine,As an advice, You must also change your backup strategy (change recovery to FULL, to allow you backup transaction log and in future if you have the same situation you will be almost OK)
Regards,
Ahmed
November 15, 2007 at 5:18 am
Jason Selburg (11/14/2007)
Sorry everybody, but dewa's already said it's in Simple mode. :crying:
Yeah, I missed that. Oh well... at least Dewa has the links for a recovery using FULL... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 7 posts - 16 through 21 (of 21 total)
You must be logged in to reply to this topic. Login to reply