Solved

Recovering Deleted .sql File

Posted on 2008-06-25
15
206 Views
Last Modified: 2010-03-19
Hello, I am guessing this is hopeless but I'm really desperate and need some advice.  I'm pretty sure ya'll are gonna tell me I'm screwed...but I'm still gonna ask.

I just got a new laptop at work and somehow, they did not copy over a .sql file I needed and instead...deleted it!  It wasn't even in the recycle bin... it was just wiped off.  

I went online and downloaded WinUndelete and did a search for the file on my old desktop.  I found it... recovered it.  But it was in "poor" condition, so I'm guessing that's why when I try to open it, it goes into Notepad and all I see is a bunch of garbage.  The file recovered is 29KB and is recognized as a sql server file.

This procedure took me like 4 months to write and I'm desperate to get it back.  Is there a better recovery program I can use or some way I can repair the sql file?  

Thanks in advance.
0
Comment
Question by:Roxanne25
  • 8
  • 7
15 Comments
 
LVL 8

Expert Comment

by:sbagireddi
ID: 21869076
Norton Disk Doctor is very  good and has helped me in the past.

There are a lot of tools which promise a lot and do not deliver, instead their recovery process messes up things.
0
 
LVL 8

Expert Comment

by:sbagireddi
ID: 21869082
Also if this was windows xp and a restore point was set , it may help to go back to that point in time.
0
 

Author Comment

by:Roxanne25
ID: 21869092
ok I will give norton a try... I thought disk doctor only did like disk defragging?
0
 
LVL 8

Expert Comment

by:sbagireddi
ID: 21869105
They have a search and rescue tool as well.
0
 

Author Comment

by:Roxanne25
ID: 21869169
Oooooh.... it says it has a system restore available for the date I need.  I didn't know our work computers were doing restore points.... will that actually restore the files that were deleted?
0
 
LVL 8

Expert Comment

by:sbagireddi
ID: 21869193
I just realised that it will not recover deleted files. That applies only to the win xp settings.
0
 

Author Comment

by:Roxanne25
ID: 21869222
:(  You got my hopes all up.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:Roxanne25
ID: 21869252
I can't find anything on the symantec site called norton disk doctor... do they still make it or is it bundled with another application?
0
 
LVL 8

Accepted Solution

by:
sbagireddi earned 500 total points
ID: 21869399
They had an old Program called Undelete which they discontinued.
Now they have something called Norton Save and Restore, but based on what I read, it undeletes only if the backup has been taken prior with the same tool.

PC world here rates the best programs. I would get a trial of the best and go with that.
http://www.pcworld.com/downloads/collection/collid,1295-order,1-c,downloads/files.html
0
 

Author Comment

by:Roxanne25
ID: 21870335
Is there any way I can repair the file that I retrieved?  Windows recognizes it as a sql server file....but when I try to open it, it goes to Notepad and is all garbage.
0
 
LVL 8

Expert Comment

by:sbagireddi
ID: 21870364
It means that the file may have been damaged or incorrectly recovered.
Your best bet is to use one of the tools from Pc world.
0
 

Author Comment

by:Roxanne25
ID: 21870421
I tried... its not finding anything... or the tool doesn't allow me to search for a .sql file...

Where does SQL Server store auto recover files?
0
 
LVL 8

Expert Comment

by:sbagireddi
ID: 21876413
Hmm..that sucks.

As far as I know SQL server does not store any auto recover files, they are stored on the hard drive.
0
 

Author Comment

by:Roxanne25
ID: 21879346
They are actually stored in a backup folder but they aren't historical... There should be some wierd temp directory that it saves the auto recover stuff to though cause it has to do it in case of an improper shut down.  

Oh well, thanks for the help!
0
 
LVL 8

Expert Comment

by:sbagireddi
ID: 21879649
You are right..this post might help..talks about the temp folder.

http://www.sqlservercentral.com/Forums/Topic500268-149-1.aspx
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now