SQL 备份版本与此服务器不兼容 [英] SQL backup version is incompatible with this server

查看:44
本文介绍了SQL 备份版本与此服务器不兼容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试将数据库备份恢复到客户 SQL Server 2008 时,我收到以下消息.

I get he following message when i try to restore a database backup to the customers SQL Server 2008.

System.Data.SqlClient.SqlError: 数据库已备份在服务器上运行版本 10.50.1600.该版本与此不兼容服务器,运行版本 10.00.4064.

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.4064.

我备份了数据库并在版本为 10.50.1600 的服务器上恢复,然后一旦我完成我的开发工作,我就备份了它,但现在它不会在客户服务器 10.00.4064 上恢复.

I hade a made a backup of the database and restored in on a server which had version 10.50.1600, then once i finished my dev work i backed it up but now it wont restore on the customers server 10.00.4064.

我现在有什么选择?有没有办法恢复这个?我可以将数据导入或导出到客户服务器吗?

What are my options now? Is there a way to restore this? can i do a data import or export to the customers server?

推荐答案

基本上,您需要手动完成,并且还原不起作用.因此,您需要执行以下操作:

Basicly you need to do it by hand and a restore would not work. So you would need to do something of the following:

  1. 选项 1:使用 SQL Management Studio 的开发版本编写整个数据库(表、视图、索引、过程、函数、数据...)的脚本,您也可以使用 Aqua 数据工作室等其他一些工具执行此操作诸如此类.然后只需在客户端服务器上运行 sql 脚本,整个事情就会在那里重新创建
  2. 选项 2:在客户端服务器上设置一个 sql2008r2 无论如何都是免费的开发版,然后只需使用导出 GUI 将其传输到实际服务器

我更喜欢 Option1,因为在我看来它有点更干净"

I would prefer Option1 since it is in my opinion a bit "cleaner"

这篇关于SQL 备份版本与此服务器不兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆