简体   繁体   中英

SQL Server 2014 restore backup failed

I'm trying to restore a backup file to SQL Server 2014 but I keep getting the following error:

System.Data.SqlClient.SqlError: The backup of the system database on the device C:\\Program Files\\Microsoft SQL Server\\MSSQL12.MSSQLSERVER\\MSSQL\\Backup\\model_LogBackup_2014-12-16_15-48-23.bak cannot be restored because it was created by a different version of the server (12.00.2254) than this server (12.00.4213). (Microsoft.SqlServer.SmoExtended)

I created the backup using the same installation of SQL server 2014 using the same machine, I have no clue how the version changed from 12.00.2254 to 12.0.4213.0 and I also can't tell which is the newer version. I'm stuck I need to restore the backup file and all the posts online didn't suggest a definite answer to this problem.

Is there a way of changing the version of the current server to match the backup file (or the other way around). I thought about reinstalling but not sure how to end up having the exact version?

Thanks

In SQL-Server 2014 SP1 , there are breaking changes to the restoreheader definition (3 new fields), if you use it, you should have a look at this thread:

RESTORE HEADERONLY Error 3013 after the sp1 was applied to SQL Server 2014

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM