I am trying to restore a backup file to SQL Server 2008. I am getting the following message.
System.Data.SqlClient.SqlError: The database was backed up on a server
running version 10.50.1600. That version is incompatible with this
server, which is running version 10.00.1600. Either restore the
database on a server that supports the backup, or use a backup that is
compatible with this server. (Microsoft.SqlServer.Smo)
I need to transfer all data from the SQL server 2008 R2 backup file to SQL server 2008 database.
Can you please suggest me how to restore the .bak file.
Although SQL 2008 and SQL2008 R2 have similar(ish) names, a backup from SQL 2008R2 (where your .bak file was created) cannot be restored on a SQL 2008 instance (where you are trying to restore it.)
You could create a new backup using a third party tool like Redgate SQLBackup, or you could use the import/export wizard in SSMS to transfer the data, but R2 backups are not backward compatible unfortunately.
Related
The database was backed up on a server running version 8.00.2039. That version is incompatible with this server, which is running version 11.00.2100. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server. (Microsoft.SqlServer.SmoExtended)
I am trying to restore and I get this message.. is there anyway to restore this backup without having to install SQL Server 2005?
SQL Server 2012 (v11.0) doesn't support direct upgrade from SQL Server 2000 (v8.0).
You'll have to use a "in-between" step restoring your SQL Server 2000 database to a SQL Server 2005 or 2008 instance, and then do a backup from there, in order to get your .bak file into the latest database server.
There's no trick or workaround for this - that's just the way it is, and you'll have to deal with it.
There are tons of blog posts on this topic, e.g.
Migration SQL Server 2000 to SQL Server 2012
I created a database in SQL Server 2000. I no longer have SQL Server 2000 but I need to use the database. I have it has a database and I also have it as a .MDF file where I can just attach it.
Each time I try to attach it or restore the .bak file, it I get this message:
TITLE: Microsoft SQL Server Management Studio
Restore of database 'CSIAPP' failed.
(Microsoft.SqlServer.Management.RelationalEngineTasks)
ADDITIONAL INFORMATION:
System.Data.SqlClient.SqlError: The database was backed up on a server running version 8.00.0194. That version is incompatible with this server, which is running version 14.00.1000. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server. (Microsoft.SqlServer.SmoExtended)
You need to patch your Management studio with the latest service pack. Use Microsoft SQL Server 2000 Service Pack 4
https://support.microsoft.com/en-us/help/290211/how-to-obtain-the-latest-sql-server-2000-service-pack
I'm trying to restore an old database backup in SQL Server 2014, and I'm getting the error below:
How can I go through this?
I'm importing the backup in the follow way:
Tasks -> Restore -> Database
Select device option -> Pick up the .bak file
At the options select Overwrite
ok
Thanks in advance.
You are trying to restore a SQL Server 2000 database on SQL Server 2014. This is not supported.
You will need to restore your database on an instance of SQL Server 2005, 2008 or 2008 R2 first, then back it up from there, then restore the new backup on SQL Server 2014. Microsoft explains this here how to on SQL Server 2012.
I don't think you'll be able to jump that many versions from a SQL 2000 backup straight to 2014. It's just too much of a jump with too many changes to be made.
Restore it to SQL 2008 first, then back this up and then restore to 2014.
Here's some links to guides that should be able to help you;
http://sqlmag.com/sql-server-2014/sql-select-steps-migrate-sql-server-2000-sql-server-2014
https://blogs.technet.microsoft.com/mdegre/2012/06/15/migration-sql-server-2000-to-sql-server-2012/
First of all not, that you can restore your SQL Server database backups on a different version of SQL Server, but with one tiny restriction. You can restore your backups only upwards, it means that you can restore from SQL Serve 2005 to 2008 or from 2012 to 2014.
But it has to be admitted, there is no way of restoring your database backups from SQL Server 2012 to 2008. SQL Server has such restriction because every new version has modifications in the binary of the database and their storage.
Also, you can't jump forward two versions, for example, you cannot restore a database backups from SQL Server 2000 to SQL Server version 2014 as you are trying.
As it has recommended above you need to restore in few steps. Firstly restore it on SQL Server 2005 or 2008. make a full backup and then restore it on SQL Server 2014.
I have SQL Server 2005 .mdf file and now I need to attached the same to SQL Server 2008
so how can I do the same.
Is any such tool is available , which convert 2005 .mdf file to 2008 .mdf file ?
As I do not have access to SQL Server 2005 at all .
Best practice is to backup the database using SQL Server Management Studio with SQL Server 2005, and then restore it on SQL Server 2008.
But you can simply attach the SQL Server 2005 .MDF file to SQL Server 2008. SQL Server will convert it for you - it is able to read data files from older versions of SQL Server.
I would suggest attaching to SQL Server 2008, performing an SQL Server backup, then restoring it back to SQL Server 2008. This will cause the database to be recreated, and will alert you to any data issues.
Cheers,
Peter
When you restore database backup(2005) to SQL Server 2008 , SQL Server restore your backup and update it's to new version. But SQL Server don't change compatible level of your database. you can change compatible level of your database by following query.
ALTER DATABASE test SET COMPATIBILITY_LEVEL=100;
I have taken a backup from a database(Sql server 2008 R2).But in machine i have
Sql server 2008.When i am trying it to restore that backup in machine then it is
showing Error.Following is the error message==
The database was backed up was running on a server running version 10.50.1600.
That version is incompatible with the server which is running on version
10.00.1600. So,how can now i restore my file
You can not restore a later version backup to a previous version. SQLServer 2008 R2 is the later version. Your Alternative is to script out all data and database objects and run those scripts on SQL 2008.
How to Script out your database