Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Problem with using .bak files to restore database
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 02/12/2013 :  18:29:12  Show Profile  Reply with Quote
Setting the scene: I have 2 computers. On one I have an instance of SQL 2005 Express; on the other I have an instance of SQL 2005 Express, also an instance of SQL 2008 Express R2.

I have a .bak file that I want to restore a SQL 2005 Express db with. I made the bak also with an instance of SQL 2005 Express on my other computer, but when I try to restore, I get this error:

The media family on device 'C:\SELF_INSTRUCTION\DB baks\JobSearch.bak' is incorrectly formed. SQL Server cannot process this media family.
RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3241)

When I checked the versions of the two instances on the 2 computers, I see that the 2005 instance (that shares a machine with 2008) actually says it's SQL Server 2008.

Is there something I can do short of uninstalling and reinstalling one or more instances of SQL Server?

Almighty SQL Goddess

38200 Posts

Posted - 02/12/2013 :  19:16:13  Show Profile  Visit tkizer's Homepage  Reply with Quote
If the "2005" instance says it's SQL Server 2008, and if the bak file is from this actual 2008 instance, then you'll need to restore it to a 2008 instance as restore is not backwards compatible. Alternatively, you could spend the time to extract all of the objects and move the data.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server

Subscribe to my blog
Go to Top of Page

Posting Yak Master

212 Posts

Posted - 02/13/2013 :  06:00:23  Show Profile  Visit prett's Homepage  Reply with Quote
Restoring Database from lower version to higher version would not give error. i.e. SQL Server 2005 to 2008 would not give error. But restoring from higher version to lower version will always result in error. In my case as i was connected to SQL Server 2005 instance it results this error message. Please check this link for more information:
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000