Solved

Restoring backup from an enterprise edition to express edition

Posted on 2010-08-26
7
441 Views
Last Modified: 2012-05-10
Is there really a known issue when restoring a backup file from an enterprise edition of SQL 2005 to express edition?

I'm getting this error:

Msg 3201, Level 16, State 2, Line 1
Cannot open backup device 'E:\MyBackup.bak'. Operating system error 2(The system cannot find the file specified.).
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.

I tried running this too:
RESTORE FILELISTONLY    
FROM DISK = 'E:\MyBackup.bak'

same error:
The media family on device 'E:\MyBackup.bakk' is incorrectly formed. SQL Server cannot process this media family.
Msg 3013, Level 16, State 1, Line 1
RESTORE FILELIST is terminating abnormally.



My backup is fine and restorable (tried restoring to a SQL 2005 enterprise version on a different machine)

Any insights? Thanks!

0
Comment
Question by:faiga16
  • 3
  • 3
7 Comments
 
LVL 3

Assisted Solution

by:Emileneth
Emileneth earned 200 total points
ID: 33537989
The software does not detect a valid backup, you could mount that backup in an Enterprise edition and export data in a different way, like sql files, then inject them in your Express edition.. if this fails it will show wich operation is invalid on the reduced version
0
 
LVL 15

Author Comment

by:faiga16
ID: 33538260
It wouldn't work too. I tired all possible backup style.
0
 
LVL 3

Expert Comment

by:Emileneth
ID: 33538396
What happens when trying to inject the SQL?

If you see, something like "Error executing SQL at line XXX" or something its an indication that the database design is not compatible with the reduced function set of the Express edition, in that case you will need to de-desing the database and build up a conversion tool
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 58

Accepted Solution

by:
cyberkiwi earned 300 total points
ID: 33538426
Based on this
[My backup is fine and restorable (tried restoring to a SQL 2005 enterprise version on a different machine)]

I guess that it could be a service pack issue.
Any Sql Server should be able to restore a database backed up from the same level and service packs (2005-2005, 2008-2008) regardless of edition.

Can you check and compare service pack levels?
0
 
LVL 15

Author Comment

by:faiga16
ID: 33538428
it's the same error. what I did for testing was create a database with one simple table in enterprise edition, insert one row, backup the DB and restore it to an express edition. it really will not work....
0
 
LVL 3

Expert Comment

by:Emileneth
ID: 33538459
Cyberkiwi: i agree, that's why i suggested a plain text sql file transmission, the language should be compatible as the standard doesnt change from SP to SP, and should be backwards compatible if restoring into a 2008.

Faiga: in your last post you mentioned a DB backup-restore process, have you tested the sql method?
0
 
LVL 15

Author Closing Comment

by:faiga16
ID: 33545902
My bad, the other server was a SQL 2008 R2. ANd i'm trying to restore it to a lower version (SQL 2005).

Thanks cyberkiwi and emileneth!
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…

830 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