SQL2005数据库 Master备份与还原(2)_SQL SERVER数据库_黑客防线网安服务器维护基地--Powered by WWW.RONGSEN.COM.CN

SQL SERVER 2005 Master备份与还原(2)

作者:黑客防线网安SQL维护基地 来源:黑客防线网安SQL维护基地 浏览次数:0

本篇关键词:还原备份Server
黑客防线网安网讯:  2008-04-18 15:47:47.95 服务器 Attempting to recover in-doubt distributed transactions involving Microsoft Distributed Transaction oordinator (MS DTC). This is an informatio...

  2008-04-18 15:47:47.95 服务器 Attempting to recover in-doubt distributed transactions involving Microsoft Distributed Transaction oordinator (MS DTC).
This is an informational message only. No user action is required.
2008-04-18 15:47:47.96 服务器 Database Mirroring Transport is disabled in the endpoint configuration.
2008-04-18 15:47:47.96 spid5s Warning ******************
2008-04-18 15:47:47.96 spid5s SQL Server started in single-user mode. This an informational message only. No user action is required.
2008-04-18 15:47:47.99 spid5s Starting up database 'master'.
2008-04-18 15:47:48.17 spid5s Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2008-04-18 15:47:48.28 spid5s SQL Trace ID 1 was started by login "sa".
2008-04-18 15:47:48.32 spid5s Starting up database ssqlsystemresource'.
2008-04-18 15:47:48.76 spid5s Server name is 'VM01'. This is an informational message only. No user action is required.
2008-04-18 15:47:48.78 spid8s Starting up database 'model'.
2008-04-18 15:47:49.20 服务器 A self-generated certificate was successfully loaded for encryption.
2008-04-18 15:47:49.23 服务器 Server is listening on [ 'any' <ipv4> 1433].
2008-04-18 15:47:49.24 服务器 Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\MSSQLSERVER ].
2008-04-18 15:47:49.24 服务器 Server local connection provider is ready to accept connection on [ \\.\pipe\sql\query ].
2008-04-18 15:47:49.28 服务器 Server is listening on [ 127.0.0.1 <ipv4>1434].
2008-04-18 15:47:49.28 服务器 Dedicated admin connection support was established for listening locally on port 1434.
2008-04-18 15:47:49.29 服务器 The SQL Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b. Failure to register an SPN may cause integrated authentication to fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.
2008-04-18 15:47:49.31 服务器 SQL Server is now ready for client connections. This is an informational message; no user action is required.
2008-04-18 15:47:49.40 spid5s Starting up database 'msdb'.
2008-04-18 15:47:49.68 spid8s Clearing tempdb database.
2008-04-18 15:47:49.93 spid5s Recovery of any in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC) has completed. This is an informational message only. No user action is required.
2008-04-18 15:47:50.57 spid8s Starting up database 'tempdb'.
2008-04-18 15:47:50.76 spid5s Recovery is complete. This is an informational message only. No user action is required.
2008-04-18 15:56:22.34 spid51 SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
2008-04-18 15:56:22.40 服务器 The SQL Network Interface library could not deregister the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b. Administrator should deregister this SPN manually to avoid client authentication errors.
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn>

打开SSMS工具先断开连接再新建查询,执行以下命名还原
USE master
GO
RESTORE DATABASE master
FROM disk='C:\Program Files\Microsoft SQL Server\MSSQL.1 \MSSQL\Backup\master.bak'
GO

数据库中的显示的消息应为:
已为数据库 'master',文件 'master' (位于文件 1 上)处理了 376 页
已为数据库 'master',文件 'mastlog' (位于文件 1 上)处理了 6 页
已成功地还原了 master 数据库。正在关闭 SQL Server。
SQL Server 正在终止此进程。
则表示master数据库还原成功,启动服务后进入SSMS即可看到master数据库了。

    黑客防线网安服务器维护方案本篇连接:http://www.rongsen.com.cn/show-11145-1.html
网站维护教程更新时间:2012-03-21 03:17:01  【打印此页】  【关闭
我要申请本站N点 | 黑客防线官网 |  
专业服务器维护及网站维护手工安全搭建环境,网站安全加固服务。黑客防线网安服务器维护基地招商进行中!QQ:29769479

footer  footer  footer  footer