Solved

SQL Server 2005: How to restore databsae from .DBK file

Posted on 2008-10-22
5
1,671 Views
Last Modified: 2012-05-05
Hello Everybody,

I do not have much of a experience in DB creation, backup/restoration. We have received some set of files from customer to work on his DB and one of the file is .DBK and it is of size 20GB.

So based on the size it appears to be the main database.

When i looked on the net it says .DBK file could be DBASE backup (which could not be our case) or SQL backup.

When I tried to do RESTORE FILELISTONLY with that file then I got the following error message:

The media family on device 'db_200804031804.DBK' is incorrectly formed. SQL Server cannot process this media family. Chances are file could be corrupt.


My questions are:
1. Could it be a valid SQL DB backup file??
2. And if yes then is there different way to restore such files?

Any help is greatly appriciated.

Thanks,
Resham
0
Comment
Question by:resham
  • 2
  • 2
5 Comments
 
LVL 9

Assisted Solution

by:Sander Stad
Sander Stad earned 50 total points
Comment Utility
Could you check if the RESTORE VERIFYONLY works. Maybe your file is corrupt.
 
0
 
LVL 7

Assisted Solution

by:Cedric_D
Cedric_D earned 50 total points
Comment Utility
Install SQL 2005 SP2.

Ask customer, maybe it's not SQL2005 backup.
0
 

Author Comment

by:resham
Comment Utility
Thanks for replying so promptly.

sstad,
I tried RESTORE VERIFYONLY as well and gives same error.

Cedric_D,
I cannot contact customer directly as there are lots of layers in between but the our customer support person says it is SQL backup and he could restore from it. I am awaiting his furthur reply as well but thought of checking on this site as there are more knowledgable people around here.

Thanks
Resham
0
 

Accepted Solution

by:
resham earned 0 total points
Comment Utility
Hi Guys,

Thanks for your replies but I have got the answer.
Actually it is the backup of SQL Sever but taken by 'Litespeed for SQL Server' and I will have to restore using the same.

Thanks once again.

About the points, I think I should take these points to me only. If not possible then I will divide points between you two.

Resham
0
 
LVL 7

Expert Comment

by:Cedric_D
Comment Utility
Give them to the customer who courtesely unveils mysterious file format.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now