?
Solved

Can a SQL Server database be recovered from a non-sql aware server image?

Posted on 2016-10-26
6
Medium Priority
?
62 Views
Last Modified: 2016-10-27
A network administrator for a client used a system image backup process that was not SQL Server aware.   The customer inadvertently destroyed their SQL Server database and they are left with an actual SQL Server backup from May 2016 and the image files.  Is there an possibility of recovering the MDF and LDF files as a valid image to recover this database?
0
Comment
Question by:Tim Ragan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 17

Assisted Solution

by:John Tsioumpris
John Tsioumpris earned 500 total points
ID: 41861587
I guess the first thing to do is to try it...Just mount the image (it will show as another disk in your explorer) and find the .MDF/LDF file..
Copy them to Data directory of your SQL server (its the directory where master database is located)
Then use the option "Attach" to find and use your files.
0
 
LVL 7

Assisted Solution

by:mbkitmgr
mbkitmgr earned 500 total points
ID: 41861664
I agree with John, extract a copy of the files relating to the Db in question and try to mount it.
0
 
LVL 51

Accepted Solution

by:
Vitor Montalvão earned 1000 total points
ID: 41861713
Is there an possibility of recovering the MDF and LDF files as a valid image to recover this database?
There's always possibility to things go well but in this case LDF file must be backed up correctly with no open transactions to keep the data integrity.
As the Experts stated above you can only know that after restoring. There's no other way to check that from an image file, I guess.
0
Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

 

Author Comment

by:Tim Ragan
ID: 41862068
Thanks everyone.  I had them get the MDF/LDF files and try them before I posted the question last night.  I've never had a customer who had no SQL specific backup process in place.  Their network admin "assumed" his daily service imaging was protecting everything.  I'm guessing they have not lost 6 months of data.  Wow.
0
 
LVL 51

Expert Comment

by:Vitor Montalvão
ID: 41862078
Nowadays is quite acceptable to not have native SQL Server backups if you're using a good image backup tool. There are very good tools that can deal very well with SQL Server log files. They basically stops guarantee a checkpoint of the log files to allow the snapshot. This operation is so fast (micro or milliseconds) that you can't see the impact in the database.
0
 

Author Closing Comment

by:Tim Ragan
ID: 41862423
All input appreciated!  I think this customer is in a pretty bad place.
0

Featured Post

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Suggested Courses

801 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