|
-
November 26th, 2015, 05:22 PM
#1
[RESOLVED] How to restore a database using mdf and ldf files in Sql 2008
Hello,
Asking for expert opinion. A very unfortunate event happened. One of our PCs crashed few days ago. That PC had SQL Server 2008 installed. Unfortunately no backup was running on that server. We sent the disk to a data recovery place and looks like they can recover some of the mdf and ldf files. We are particularly interested in 1 particular database. My questions are:
1. Is this possible to restore a particular database using corresponding mdf and ldf files?
2. Do we need to have any mdfs from the system databases? Any other files we need to ask data recovery company t look for?
3. Steps and/or or best practices to restore that database into a new machine.
Thanks for your help in advance.
-
November 29th, 2015, 05:46 AM
#2
Re: How to restore a database using mdf and ldf files in Sql 2008
You can attach the database files to another instance if you have the mdf' and ldfs ( even with mdf you will be able to attach )
System database master contains the user info, and msdb contains the jobs and other info; if you couldn't recover these files, you need to add them manually
ssms -> rightclick database -> attach ; choose the files and attach
OR
You may have to run a 'DBCC CHECKDB()' statement against the newly attached database
-
November 29th, 2015, 07:09 AM
#3
Re: How to restore a database using mdf and ldf files in Sql 2008
Look at this resource, you might find more useful information. http://community.office365.com/en-us.../t/266070.aspx
-
November 29th, 2015, 06:34 PM
#4
Re: How to restore a database using mdf and ldf files in Sql 2008
Thank you guys for your feedback and help. Sorry, that long time did not respond. This is because the issue was solved and I forgot to tell.) Thank you!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|