Link to home
Start Free TrialLog in
Avatar of andreasjn
andreasjn

asked on

SQL 7.0 Restore with only *.mdf and *.ldf

Hi!

I wonder if its possible to restore a databas if I only have the *.mdf and *.ldf file in Microsoft SQL 7.0. If I'm using the *.bck file I will lose a month of work...

Thanks!
Andreas
ASKER CERTIFIED SOLUTION
Avatar of adathelad
adathelad
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SylvainPouliot
SylvainPouliot

here's another solution:

Create the database you want. Ex: MyDb

then stop your SQLSERVER

move the mydb.mdf and mydb.ldf in your data directory to a temp directory.

Take your "original" mydb.mdf and mydb.ldf and copy them in your data directory

Restart your SQLSERVER


I know it might not be the better solution, but it saved me once...

Avatar of andreasjn

ASKER

Hi again!

I did as adathelad said and it worked fine. Thanx for the support. You have saved my day!

Andreas