Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Restoring SQL 2008 R2 db on SQL 2008 Standard

I'm trying to take a SQL Server 2008 R2 Expression db and restore it on my local SQL Server 2008 standard, however it gives me the error:

The media family on device 'C:\jtoth\Backups\ucampus.bak' is incorrectly formed. SQL Server cannot process this media family.

R2 is version 660 and standard is 655 and I know that you can't restore to an older version, but there has to be some way around this. Is there some free tool for scripting out the entire R2 database (including not just structure but inserts for the data) that I can then run on my standard instance?

like image 326
Justin Avatar asked Oct 21 '10 17:10

Justin


People also ask

How do I restore a SQL database from a different server?

Connect to the appropriate instance of the SQL Server Database Engine, and then in Object Explorer, select the server name to expand the server tree. Right-click Databases, and then select Restore Database. The Restore Database dialog box opens. Select the database to restore from the drop-down list.

Can you restore a SQL 2008 database to SQL 2019?

SQL Server 2019 is not supported on Windows Server 2008 R2, which is in any case heavily out-of-date and insecure. If you wanted to go with a direct upgrade path for your existing server, you must: First upgrade the operating system to Windows Server 2012 R2.


1 Answers

Normally one of

  • SSIS (via the import/export wizard)
  • 3rd party tool from Red Gate or similar.
like image 97
gbn Avatar answered Sep 28 '22 18:09

gbn