Solved: What do mdf file restore?

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

benyw

Thread Starter
Joined
Apr 17, 2015
Messages
1
We are using sql server 2005.
The disk containing our sql server ldf files crashed so we lost them.
We have all the mdf files though. Can we recover these databases.?
We have tried creating a new database, stopping sql server, replacing the mdf for
the new database with one of the old mdf files, restarting sql server.
We have tried attaching the mdf file without the log file.
We have tried attaching the mdf file with an empty text file that we named to be the same as
the missing log file.
We have tried attaching the mdf file with a log file from another database, appropriately named.
It keeps telling us the database was not shut down cleanly.
The databases that are now unusable were not being updated so the log file should not matter.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top