简体   繁体   English

SQL Server Management Studio无法识别.bak文件

[英]SQL Server Management Studio can't recognize .bak file

I'm trying to restore a db from Microsoft (AdventureWorks2012). 我正在尝试从Microsoft(AdventureWorks2012)恢复数据库。 However, when I try to restore the .bak file, it seems like SSMS doesn't recognize it and I get an error: 但是,当我尝试还原.bak文件时,SSMS似乎无法识别它,并且出现错误:

No backup set selected to be restored 没有选择要还原的备份集

I gave full permissions to the folder which contains the .bak file. 我已授予包含.bak文件的文件夹的完全权限。

Steps I've taken to restore the .bak file: 我已采取的还原.bak文件的步骤:

  • Right click on DB -> Restore DB -> From device (selected the .bak file location) -> To Database (selected the DB destination) 右键单击数据库->恢复数据库->从设备(选择.bak文件位置)->到数据库(选择数据库目标)

Here is a screenshot: 这是屏幕截图:

在此处输入图片说明

That is the error message that typically coincides with trying to restore a backup from a newer version on an older version. 该错误消息通常与尝试从较旧版本的较新版本还原备份一致。 And it looks like you have sql server 10.5 in your screen which is 2008r2. 看起来您的屏幕上有SQL Server 10.5,它是2008r2。 And you are trying to restore AW2012. 您正在尝试还原AW2012。 That will never work. 那永远都行不通。 You can't restore a newer version to an older version. 您无法将新版本还原到旧版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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