简体   繁体   English

如果选择数据库作为源,SQL Server将从哪里还原备份?

[英]Where does SQL Server restore backup from if I select Database as the source?

When I restore an SQL server database from backup, I usually do it from a .bak file on the disk. 当我从备份还原SQL Server数据库时,通常是从磁盘上的.bak文件执行的。 There is also an option to restore from Database as a source - see this picture 还有一个从Database还原为源的选项-参见此图

在此处输入图片说明

Is this backup restored from the database log file? 是否从数据库日志文件还原了此备份?

It's from existing backups from databases that have been created on the server. 它来自服务器上已创建的数据库的现有备份。 It's essentially a list of all databases that have at least one recorded backup in the msdb database. 本质上,这是msdb数据库中至少有一个记录的备份的所有数据库的列表。

Source: MSDN 资料来源: MSDN

Select the database to restore from the drop-down list. 从下拉列表中选择要还原的数据库。 The list contains only databases that have been backed up according to the msdb backup history. 该列表仅包含根据msdb备份历史记录备份的数据库。

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

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