下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、 常備份用戶的數(shù)據(jù)一、還Master 數(shù)據(jù)庫(kù)還需 常備份用戶的數(shù)據(jù)一、還Master 數(shù)據(jù)庫(kù)還需要備份系統(tǒng)數(shù)據(jù)庫(kù) 須重新生成損壞的 master 數(shù)據(jù)庫(kù):情況:Amaster B. master SQLServer 1、重新生master master SQL Server 2005 例: start / wait e:“setup.exe /qn INSTANCENAME=mssqlserver REINSTALL=SQL_Engine REBUILDDATABASE=1SAPWD=abc123! /qn /qn SQLServer2005 /qb 2、Master 備份(master 的備
2、份時(shí)要注意:必須在單用戶(single user)模式下進(jìn)行 )a. 進(jìn)入單用戶模式的方法Method1-f -m 或者輸入-m。其中:-cSQ -m SQL 或Windows NTf SQL ,執(zhí)行 FROM開始實(shí)驗(yàn)了MASTER為了模擬MASTER數(shù)據(jù)庫(kù)壞了就刪除MASTER數(shù)據(jù)庫(kù)(要停止SQLSERVER服務(wù)才能刪除在電腦,C:“ PROGRAM SQL SERVER“MSSQL.1“MSSQL“DATE 中刪除 start /wait setup.exe /qn INSTANCENAME= REINSTALL=SQL_EngineDATABASE=1 SAPWD=我這里的為默認(rèn)實(shí)例所以
3、其中的MSSQLSERVER最后的我設(shè)為 abc123!所以就用 abc123!代替若沒有返回錯(cuò)誤開始實(shí)驗(yàn)了MASTER為了模擬MASTER數(shù)據(jù)庫(kù)壞了就刪除MASTER數(shù)據(jù)庫(kù)(要停止SQLSERVER服務(wù)才能刪除在電腦,C:“ PROGRAM SQL SERVER“MSSQL.1“MSSQL“DATE 中刪除 start /wait setup.exe /qn INSTANCENAME= REINSTALL=SQL_EngineDATABASE=1 SAPWD=我這里的為默認(rèn)實(shí)例所以其中的MSSQLSERVER最后的我設(shè)為 abc123!所以就用 abc123!代替若沒有返回錯(cuò)誤就可以到電腦中
4、 C:“ PROGRAM SERVER“MSSQL.1“DATEMASTER.MDF啟動(dòng)服務(wù)(MSSQL代碼Windowss and Settings/Administratorstart /wait e:/setup.exe /qn =mssqlserverREINSTALL=SQL_EngineREBUILDDATABASE=1s and Settings/Administratorcd C:/Program SQL 2008-04-1815:47:46.56ServerAuthenticationmodeis2008-04-1815:47:46.59Oct142005Copyright(
5、c)1988-SQLServer2005-9.00.1399.06elriseEditiononWindowsNT5.2(Build3790:ServicePack2008-04-1815:47:46.59Server(c)2008-04-1815:47:46.592008-04-1815:47:46.59Servers.sIDis2008-04-1815:47:46.59ServerLoggingSQLServermessagesinfileC:“ProgramSQL2008-04-1815:47:46.59ServerThisinstanceofSQLServerlastreportedu
6、singasIDof at 2008-4-18 15:46:40 (local) 2008-4-18 7:46:40 useractionis). This is an informational message only; 2008-04-1815:47:46.60ServerRegistrystartup-2008-04-1815:47:46.62dLineStartup2008-04-18 15:47:46.62 Server -m2008-04-18 15:47:46.64 SQL Server is starting at normal priority base (=7). Thi
7、s is an informational message only. No user action is required.2008-04-18 15:47:46.67 Detected 1 CPUs. This is an informational message; no user action is required.2008-04-18 15:47:46.78-2008-04-1815:47:46.62dLineStartup2008-04-18 15:47:46.62 Server -m2008-04-18 15:47:46.64 SQL Server is starting at
8、 normal priority base (=7). This is an informational message only. No user action is required.2008-04-18 15:47:46.67 Detected 1 CPUs. This is an informational message; no user action is required.2008-04-18 15:47:46.78 Using dynamic lock allocation. Initial allocation of 2500 blocks and 5000 Lock Own
9、er blocks per node. This is an informational message only. No user action is required.2008-04-18 15:47:46.84 服務(wù)器 Attempting to Distributed Coordinator(MSDTC).Thisisaninformationalmessageonly.Nouseractionis2008-04-18 15:47:47.95 服務(wù)器 Attempting to recover in-doubt distributed Distributedionoordinator(
10、MSThisisaninformationalmessageonly.Nouseractionis2008-04-18 15:47:47.96 服務(wù)器 Database Mirroring Transport is disabled in the endpo 2008-04-1815:47:47.962008-04-18 15:47:47.96 5sWarning5s SQL Server started in single-user mode. This an messageonly.Nouseractionis2008-04-1815:47:47.995sStartingupdatabas
11、e2008-04-18 15:47:48.17 5s Recovery is writing a in database master (1). This aninformationalmessageonly.Nouseractionis2008-04-1815:47:48.28 2008-04-1815:47:48.76user action is required. 2008-04-1815:47:48.78s5sSQLTraceID1wasstartedbylogin5s Server name is VM01.This is an informationalmessage only.
12、8sStartingupdatabase2008-04-18 15:47:49.20 服務(wù)器 A self-generated 2008-04-1815:47:49.23 Serverislisteningonany2008-04-18 15:47:49.24 服務(wù)器Server local connection provider is ready to accept connection on “.“pipe“SQLLocaQLSERVER .2008-04-18 15:47:49.24 Server local connection provider is ready to accept
13、connection on “.“pipe“sql“query .2008-04-1815:47:49.28 Serverislisteningon2008-04-18 15:47:49.28 服務(wù)器 Dedicated admin connection support was established for listening locally on port 1434.csfully loaded 2008-04-18 15:47:49.29 The SQL erfacelibrarycouldnotregisterthePrincipal Name (SPN) for the SQL Se
14、rver service. Error: 0 x54b. Failure to register an SPN egratedauthentication tofallback toNTLMinstead of Kerberos.Thisis an message.Further action is only required if Kerberos authentication is required by 2008-04-18 15:47:49.31 服務(wù)器SQL Server is now ready for nt connections. This is informationalme
15、ssage;nouseractionis2008-04-1815:47:49.402008-04-182008-04-18 15:47:49.31 服務(wù)器SQL Server is now ready for nt connections. This is informationalmessage;nouseractionis2008-04-1815:47:49.402008-04-1815:47:49.682008-04-18 15:47:49.93 Distributed 5sStartingupdatabase8sClearingtempdb5s Recovery of any in-d
16、oubt distributed ions ion Coordinator (MS DTC) has completed. This is an messageonly.Nouseractionis2008-04-1815:47:50.572008-04-18 15:47:50.76 user action is required. 2008-04-1815:56:22.34 s8sStartingupdatabase5s Recovery is complete. This is an informational message only. 51 SQL Trace was stopped
17、due to server shutdown. Trace ID = Thisisaninformationalmessageonly;nouseractionis2008-04-18 15:56:22.40 The SQL erface library could not deregister Service Principal Name (SPN) for the SQL Server service. Error: 0 x54b. Administrator deregisterthisSPNmanuallytoavoidntauthentication SQL 代碼: USEmaste
18、r /MSSQL/Backup/master.bakSQLmastermaster1 上)376 頁。已為數(shù)據(jù)庫(kù) master,文件 mastlog (位于文件 1 上)處理了 6 頁。已成功地還原了 master 數(shù)據(jù)庫(kù)。正在關(guān)閉 SQL Server。SQLServer master數(shù)據(jù)庫(kù)還原成功,SSMS即可看到master附恢復(fù) master 數(shù)據(jù)庫(kù) (代碼netstartSQLServer(MSSQLSERVER)代碼SQLServer(MSSQLSERVER) SQLServer(MSSQLSERVER) 代碼代碼 mastermaster代碼 mastermaster1 上)376 頁。已為數(shù)據(jù)庫(kù) master,文件 mastlog (位于文件 1 上)處理了 3 頁。已成功地還原了 master 數(shù)據(jù)庫(kù)。正在關(guān)閉 SQL Serve
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 創(chuàng)新型羊圈施工合同范文
- 塑料制品設(shè)備租賃合同范本
- 【初中道法】增強(qiáng)安全意識(shí)教學(xué)課件-2024-2025學(xué)年統(tǒng)編版道德與法治七年級(jí)上冊(cè)
- 初中交通安全教育主題班會(huì)
- 2024年圖書館用水水箱采購(gòu)合同
- 感恩的演講稿2024
- 高中畢業(yè)生代表發(fā)言演講稿
- 建設(shè)工程設(shè)備貸款協(xié)議(34篇)
- 建筑設(shè)計(jì)的實(shí)習(xí)報(bào)告
- 甜瓜細(xì)菌性軟腐病
- 企業(yè)經(jīng)營(yíng)模擬實(shí)訓(xùn)知到章節(jié)答案智慧樹2023年華南農(nóng)業(yè)大學(xué)
- 膽總管囊腫護(hù)理查房
- 《Matlab語言與及其應(yīng)用》實(shí)驗(yàn)報(bào)告
- 2023年全國(guó)中學(xué)生語文能力競(jìng)賽樣題
- 俄羅斯地緣政治學(xué)
- GB/T 25217.13-2019沖擊地壓測(cè)定、監(jiān)測(cè)與防治方法第13部分:頂板深孔爆破防治方法
- GB/T 16571-2012博物館和文物保護(hù)單位安全防范系統(tǒng)要求
- GB/T 11270.2-2002超硬磨料制品金剛石圓鋸片第2部分:燒結(jié)鋸片
- 物業(yè)裝修管理(培訓(xùn)課件)
- 機(jī)器人創(chuàng)新性教學(xué)平臺(tái)實(shí)踐與探索報(bào)告
- 專題:普世價(jià)值思潮課件
評(píng)論
0/150
提交評(píng)論