如何在SQL Server 2008中恢复受密码保护的数据库 [英] How to restore password protected database in SQL server 2008

查看:461
本文介绍了如何在SQL Server 2008中恢复受密码保护的数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Firends,

我已经创建了受密码保护的备份文件

但我会尝试使用相同的服务器恢复相同的备份但不同的

数据库然后

逻辑文件'xxx'不是数据库'xx'的一部分。使用RESTORE FILELISTONLY列出逻辑文件名。

错误发生



我尝试过:



你好朋友请帮我解决问题

Hello Firends ,
I have create password protected backup file
but i will try to restore same backup with same server but different
database then
Logical file 'xxx' is not part of database 'xx'. Use RESTORE FILELISTONLY to list the logical file names.
error occured

What I have tried:

Hello friends please help me to solve the problem

推荐答案

运行以下命令



Run the following command

RESTORE FILELISTONLY 
FROM DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\Backup\DBName.bak'


这篇关于如何在SQL Server 2008中恢复受密码保护的数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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