Windows Server 2012 R2 域的備份與還原(實驗一)

來源:互聯網
上載者:User

標籤:windows server 2012 r2 域的備份與還原

   這次為大家帶來的是Windows Server 2012 R2域的備份與還原,眾所周知,域對於現實的生產環境是非常重要的,不容出錯,而且就算有額外的網域控制站可以容錯,但如果發生誤操作怎麼辦?無論是主額網域控制站上面的資料都會消失,如果你是網域控制站的管理員發生了誤操作,意外把領導的帳號資訊刪除了,又沒有備份,第二天老闆發現自己不能登入自己的賬戶了,這是不是一件非常悲劇的事情呢?而就在這時備份就派上用場了,無論有多少防護的措施,備份都是極其靠譜的做法。

   首先說一下實驗目的,示範中Server01需要已經安裝AD網域服務,並且提升為網域控制站,地區名稱為uec.com,具體操作這裡不在贅述,之前的示範中已經詳細說過了。

 

  650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/5E/1C/wKiom1UpMlWRUlepAAFXcgnnu0g945.jpg" height="283" />

  650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/1C/wKiom1UpMlbRDAFmAAF64YkJXs8843.jpg" height="279" />

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/5E/18/wKioL1UpM6Txaf_dAAJtVrGVT8Q545.jpg" height="482" />

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/5E/18/wKioL1UpM6TwD-c8AAF7du1Geo4843.jpg" height="309" />

 

   準備工作做好之後,我們進入本次示範的正題,安裝 Windows Server Backup組件,由於是首次示範,所以會有詳細的操作。

   需要注意的是,這個Windows Server Backup組件並不是在添加角色這個介面中,我們下一步。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/18/wKioL1UpM6XxBqzFAAK6QlXz7pQ062.jpg" height="561" />

 

   在添加功能這個列表的中間位置,我們就可以看到這個Windows Server Backup了。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/5E/18/wKioL1UpM6ew2z_CAAK6GIZpWRs108.jpg" height="565" />

 

   勾選Windows Server Backup,下一步,開始安裝。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/5E/18/wKioL1UpM6iDJ0baAAGZcWd3i8I114.jpg" height="561" />

 

   安裝成功後關閉,我們在工具中就可以看到Windows Server Backup的工具了。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/18/wKioL1UpM6nQJ2lyAAKjhpNHf80844.jpg" height="553" />

 

   組件安裝好了之後,我們要準備備份的介子了,也就是備份的目的地,有兩種介子可供我們選擇,本地磁碟和網路路徑,本次示範要備份在本地磁碟中,需要注意的是,備份的介子是不能放在系統硬碟中的,所以我們需要添加第二塊硬碟來盛放介子。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/5E/18/wKioL1UpM6qxjai2AAK7vNIJlek482.jpg" height="484" />

 

   硬碟添加好了之後, 我們開始正式備份,開啟Windows Server Backup工具。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/5E/18/wKioL1UpM6vgV8iqAAJhrxMvxD4751.jpg" height="576" />

 

   點擊左上方的本地備份。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/18/wKioL1UpM6yh6tLtAALYJCxmqO8888.jpg" height="583" />

 

   由於我們是第一次備份,所以我們點擊右上方的一次性備份。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="無標題" border="0" alt="無標題" src="http://s3.51cto.com/wyfs02/M00/5E/18/wKioL1UpM62xuqoMAAMEkCG3A0Q124.jpg" height="723" />

 

   預設選擇其他選項,下一步。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/5E/18/wKioL1UpM67xo8KPAAGQDW5gLtc789.jpg" height="636" />

 

   我們要是的目的是要備份系統資料,所以在這裡我們選擇自訂備份。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/18/wKioL1UpM66iZfmMAAF2mgfk6rc867.jpg" height="635" />

 

   接下來點擊添加項目,並且勾選系統狀態。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/5E/1C/wKiom1UpMmLTbdVbAAHq9fzUN_M368.jpg" height="641" />

 

   備份到本地磁碟機,也就是本地磁碟,我們剛剛新添加的磁碟。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/5E/1C/wKiom1UpMmKCCPEvAAFighVR_Yc832.jpg" height="637" />

 

   下一步就會看到要備份的目標磁碟的一些資訊。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/5E/1C/wKiom1UpMmTxVKMPAAGC_ndkBoc761.jpg" height="638" />

 

   確認無誤後,點擊備份,這個過程可能會持續幾分鐘,HDD的朋友不要著急,稍等一下。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/1C/wKiom1UpMmXRtMisAAGd-QAnUsU310.jpg" height="638" />

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/5E/18/wKioL1UpM7PjJ7CVAAG-FCZKDz4313.jpg" height="648" />

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/5E/18/wKioL1UpM7Tw7JgzAAIcv-k3wvg488.jpg" height="644" />

 

   耐心等待後,安裝完成,關閉即可。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/18/wKioL1UpM7WiWf4XAAGklvajTO8907.jpg" height="636" />

 

   進入我們備份的目標磁碟,就可以看到備份所產生的檔案了。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/5E/18/wKioL1UpM7bD5wygAAGIYAB0R8g901.jpg" height="302" />

 

      以上就是備份的全部細節了,接下來我們要進行還原作業,還原作業的示範環境是,意外刪除了網域控制站上HR這個組織單位和“tom”這個賬戶,我們需要用備份來還原HR這個組織單位和其中“tom”賬戶。

   備份時間最新的備份就是包含HR組織單位和“tom”帳號的,過程和上面示範的完全相同,只是先建立好組織單位和賬戶後,在進行備份。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="無標題" border="0" alt="無標題" src="http://s3.51cto.com/wyfs02/M01/5E/18/wKioL1UpM7fyd2uoAAO5ZI3ITHs466.jpg" height="640" />

  

   接下來我們刪除HR這個組織單位和裡面的賬戶。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/5E/1C/wKiom1UpMmqhxjjSAAIj8Eg6WNM828.jpg" height="312" />

 

   想要用備份來還原資料,需要系統進入目錄服務修複模式,操作是系統開機的時候按“F8”鍵進行選擇。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/1C/wKiom1UpMmuSC2TnAALKGOxD1a4401.jpg" height="760" />

 

   進入系統後的登入,由於目錄修複模式已經不是域環境了,所以域帳號已經不能正常登入了。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/18/wKioL1UpM7mgskjXAACxwXhTrbU639.jpg" height="352" />

 

   改用其他使用者本機管理員賬戶進行登入。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/5E/18/wKioL1UpM7qzxqxLAADFuSkkP00863.jpg" height="355" />

 

   開啟Windows Server Backup工具,點擊本地備份,再點擊右上方恢複。  

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="無標題" border="0" alt="無標題" src="http://s3.51cto.com/wyfs02/M00/5E/18/wKioL1UpM7qSPrFpAALgVytfJAw470.jpg" height="571" />

 

   備份位置是在本機伺服器上。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/18/wKioL1UpM7uT9OxvAAFj_kdoV7o046.jpg" height="628" />

 

   選擇最新備份時間的備份。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/5E/18/wKioL1UpM7zALxkRAAJa8dEWiYY631.jpg" height="632" />

 

   我們要還原的是系統狀態。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/5E/18/wKioL1UpM7zCfab_AAHGLRIf7Wo878.jpg" height="627" />

 

   預設原始位置,下一步。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/18/wKioL1UpM73DesPHAAJV66-GVf0102.jpg" height="597" />

 

   彈出提示注意,點擊確定。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/5E/18/wKioL1UpM72CYyJwAACl_K7L9DE943.jpg" height="195" />

 

   沒有問題,點擊恢複。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/5E/18/wKioL1UpM73yce5OAAF3xrBr5DY164.jpg" height="631" />

 

   警告,我們點擊是。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/18/wKioL1UpM76xZ0-wAACZ6Q3PlGo953.jpg" height="217" />

 

   正在恢複,時間會稍稍有點長,稍等片刻。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/1C/wKiom1UpMnHApctjAAKkPwvQwko178.jpg" height="633" />

 

   當恢複完成的時候,系統會提示你重新啟動。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/5E/1C/wKiom1UpMnKwvnKdAAKiEP8bzA0803.jpg" height="641" />

 

   由於我們恢複之後,當前伺服器就是正常的域環境了,所以我們可以用域賬戶登入。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M01/5E/18/wKioL1UpM7-yr2yqAACTyzDey-g979.jpg" height="391" />

 

   進入系統後,會有DOS視窗提示恢複操作已經成功完成,點擊斷行符號繼續。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M02/5E/18/wKioL1UpM8Hwg_UBAAEZRK6VyDA381.jpg" height="449" />

 

   最後我們要檢查被誤刪的HR組織單位和裡面的賬戶“tom”是否已經被成功還原了。

650) this.width=650;" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://s3.51cto.com/wyfs02/M00/5E/18/wKioL1UpM8LyBeImAAG5Hr2PPSk764.jpg" height="540" />

 

   (聲明:實驗中的uec.com僅為示範所用。)

本文出自 “jinning的部落格” 部落格,轉載請與作者聯絡!

Windows Server 2012 R2 域的備份與還原(實驗一)

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.