还原问题 SQL Server 版本? [英] Restore Problem SQL Server Version?

查看:23
本文介绍了还原问题 SQL Server 版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误.

服务器恢复失败

我最近将 SQL Server 2005 Express 升级到 SQL Server 2008 Express.

I have recently upgraded SQL Server 2005 Express to SQL Server 2008 Express.

  • 我在生产服务器上备份了 SQL Server 2008
  • 备份很好,我尝试在生产服务器上恢复备份,效果很好.
  • 我用 FileZila 软件下载了 .Zip 格式的备份文件(这也很好).
  • 但是当我尝试恢复该文件时,出现以下错误.

服务器恢复失败

执行 Transact-SQL 语句或批处理时发生异常.(Microsoft.SqlServer.ConnectionInfo)

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------ 附加信息:

------------------------------ ADDITIONAL INFORMATION:

设备C:\go4sharepoint_1384_8481.bak"上的媒体系列格式不正确.SQL Server 无法处理此媒体系列.RESTORE HEADERONLY 异常终止.(Microsoft SQL Server,错误:3241)

The media family on device 'C:\go4sharepoint_1384_8481.bak' is incorrectly formed. SQL Server cannot process this media family. RESTORE HEADERONLY is terminating abnormally. (Microsoft SQL Server, Error: 3241)

如需帮助,请单击:http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.4053&EvtSrc=MSSQLServer&EvtID=3241&LinkId=20476

我尝试过但没有用的东西

尝试 1尝试使用以下命令进行备份

Attempt 1 Try to take backup using following command

备份数据库 go4sharepoint_1384_8481TO DISK='C:\HostingSpaces\dbname_jun14_2010_new.bak' 格式

BACKUP DATABASE go4sharepoint_1384_8481 TO DISK='C:\HostingSpaces\dbname_jun14_2010_new.bak' with FORMAT

并尝试恢复该文件.

尝试 2有人写信来测试我的 SQL Server 的版本.当我尝试在 SQL Server 2008 中运行以下命令时

Attempt 2 Somebody wrote to test Version of my SQL Server. When I tried to run following command in SQL Server 2008

Select @@Version

它给出以下输出Microsoft SQL Server 2005 - 9.00.4053.00 (Intel X86) 2009 年 5 月 26 日 14:24:20 版权所有 (c) 1988-2005 Microsoft Corporation Express Edition on Windows NT 6.0(Build 6002:Service Pack 2)

It is giving following output Microsoft SQL Server 2005 - 9.00.4053.00 (Intel X86) May 26 2009 14:24:20 Copyright (c) 1988-2005 Microsoft Corporation Express Edition on Windows NT 6.0 (Build 6002: Service Pack 2)

我的生产数据库在 SQL Server 2008 中,我正在尝试在 SQL Server 2008 中恢复数据库,但以上版本显示为我使用的是 SQL Server 2005.

My Production Database is in SQL Server 2008, and I am trying to restore DB in SQL Server 2008 but above version is showing as if i am using SQL Server 2005.

知道如何恢复 SQL Server 2008 DB.

Any idea how can I restore SQL Server 2008 DB.

非常感谢.

推荐答案

无法在较低版本的 SQL Server 上恢复较高版本的备份 - 这在 SQL Server 中从未实现过.

You cannot restore a backup from a higher SQL Server version on a lower version - this has never been able in SQL Server.

如果您有 SQL Server 2008 备份,您可以在 SQL Server 2008(或更高版本)机器上恢复它 - 但在 2005 机器上不能.没有技巧,没有解决方法,没有办法做到.

If you have a SQL Server 2008 backup, you can only restore that on a SQL Server 2008 (or later) machine - but not on a 2005 box. No trick, no workaround, no way to do it.

这篇关于还原问题 SQL Server 版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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