SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


missing .mdf and .ldf database file after hard drive crash


missing .mdf and .ldf database file after hard drive crash

Author
Message
Greg Edwards-268690
Greg Edwards-268690
SSCarpal Tunnel
SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)

Group: General Forum Members
Points: 4066 Visits: 8592
hwp (3/24/2014)
Because before the drive failed, I have seen a couple of times that the bak file is only a couple of Kbyte while it should be around 200 MB. At that time I ran the backup manually then I could get a good backup.

So, no I don't know 100% that the backup it corrupted but since the data hard drive had gone bad and for the fact that it had backup problem before I think most likely the bak file is corrupted too.

Sorry I don't know about the recovery model.

Thanks,
Howard.


Your latest full sized .bak file might be as good as you can get.
Hopefully it was saved somewhere safe.
Like Gail and Jeff mentioned, you should get some qualified local help.
Especially if this was a real important database.

Part of that should include more planning for just such a disaster.
Lucky is it never happening.
Good is being able to handle it with little business impact.
Grumpy DBA
Grumpy DBA
SSCertifiable
SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)SSCertifiable (7.2K reputation)

Group: General Forum Members
Points: 7232 Visits: 1964
As someone else has already stated if this data is valuable I would seriously consider bringing in a seasoned SQL Server pro to handle this. No offense intended but you do not have a clue, leave it to someone who can recover your database(s) for you. Also, have your contractor savior review the current backup and recovery plan and change it as needed.
free_mascot
free_mascot
SSCertifiable
SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)SSCertifiable (7.3K reputation)

Group: General Forum Members
Points: 7259 Visits: 2250
Is this production server? Do not try things on prod and make scenario worst. Do all your restore and R&D on junkbox.

---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
Greg Edwards-268690
Greg Edwards-268690
SSCarpal Tunnel
SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)

Group: General Forum Members
Points: 4066 Visits: 8592
Grumpy DBA (3/25/2014)
As someone else has already stated if this data is valuable I would seriously consider bringing in a seasoned SQL Server pro to handle this. No offense intended but you do not have a clue, leave it to someone who can recover your database(s) for you. Also, have your contractor savior review the current backup and recovery plan and change it as needed.


Also hardware redundancy. We monitor things like disks, and use raid / SAN to minimize disruptions like you are experiencing.
It is hindsight, but had you (or someone else) dug in deeper at your first sign of trouble, you may have been able to avoid most of this.
Most servers have some kind of health monitoring for things like this.
hwp
hwp
Valued Member
Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)

Group: General Forum Members
Points: 52 Visits: 45
Thank you very much for all the recommendation and suggestion.

We are currently looking for expert help in recovering our database. If anyone has any suggestion or do provide service please PM me.

We are located in Los Angeles.

Thank you,
Howard.
SQLBlimp
SQLBlimp
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1635 Visits: 508
hwp (3/24/2014)
Hi All,

Thank you for the reply. The hard drive that crashed was actually the DATA drive.

And the backup is corrupted as well, plus it is a .bak file. It doesn't have .mdf and .ldf file.

Sorry, a total noob here.

Thanks,
Howard.


First of all, Moden is right. STOP EVERYTHING and get to an expert. You could accidentally destroy data without knowing it. Do you need references for good experts?

As Gail said, you may need a data recovery company. www.gillware.com is the best at the most reasonable prices. Beware that the company may not be able to resolve a crashed drive to the point of finding anything you can use.

In the future, if you recover:

1. Back up your database daily to a NAS or other destination that is not the same physical media as your MDF or LDF file. If the data are critical, use full recovery model and back up the transaction logs every 5-30 minutes, to that separate location.
2. A second stage backup should be taken DAILY of that NAS to tape or the cloud or somewhere. What if the NAS fails too?
3. Test restores should be done at least monthly to another location to ensure backup integrity.

There is nothing more traumatic to a DBA than the total loss of a database. I hope and pray that you can recover!

Thanks
John.
SQLBlimp
SQLBlimp
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1635 Visits: 508
hwp (3/26/2014)
Thank you very much for all the recommendation and suggestion.

We are currently looking for expert help in recovering our database. If anyone has any suggestion or do provide service please PM me.

We are located in Los Angeles.

Thank you,
Howard.


Hi. The best SQL people that I can recommend are Paul Randal and Kim Tripp. See www.sqlskills.com. They do DR like this.

Thanks
John.
hwp
hwp
Valued Member
Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)Valued Member (52 reputation)

Group: General Forum Members
Points: 52 Visits: 45
@John,

Thank you for the recommendation, we will contact them for the recovery of the database.

Thank you,
Howard.
GilaMonster
GilaMonster
SSC Guru
SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)

Group: General Forum Members
Points: 215330 Visits: 46270
Two things.
They're not hard drive recovery specialists. If you don't have an mdf and an ldf which doesn't attach or a backup which won't restore (a full-sized backup, not the 20k one you have), don't call them. Contact a drive recovery company instead.
They are not cheap and recovering a database is not quick.

To be honest, unless the data in this lost database is worth hundreds of thousands of dollars, I'd be looking at restoring that old backup that you have. At least then you'll have something, not the nothing that you've had for a week now.

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

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


SQLBlimp
SQLBlimp
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1635 Visits: 508
GilaMonster (3/28/2014)
Two things.
They're not hard drive recovery specialists. If you don't have an mdf and an ldf which doesn't attach or a backup which won't restore (a full-sized backup, not the 20k one you have), don't call them. Contact a drive recovery company instead.
They are not cheap and recovering a database is not quick.

To be honest, unless the data in this lost database is worth hundreds of thousands of dollars, I'd be looking at restoring that old backup that you have. At least then you'll have something, not the nothing that you've had for a week now.


I was referring him to Gillware.com for the hard drive. As for SQL best practices and DR if the backup is at least in part recoverable, I recommended SQL Skills. Sorry if my note was ambiguous.

Thanks
John.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search