The enterprise domain holds user accounts and passwords, and in order to keep these important data from being lost, the data in the domain should be backed up and restored.
Preparation conditions: 2 Hard drives (one is the system disk, one is the disk used to do the domain data storage)
Experimental ideas: Take uec.com as an example. Install the Windows Server Backup component to back up the system state. The account of the simulated domain is deleted, enters the safe mode, does the directory service Repair mode, restores the domain data
One: Backup of the domain
1: Install the AD domain service and promote to a domain controller.
Open Server Manager-add features and roles-install AD Domain Services
650) this.width=650; "height=" 303 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6B/6F/ Wkiol1ut3k6b7ddfaadxh0ggzgq021.jpg "border=" 0 "/>
Promote this server to a domain controller
650) this.width=650; "height=" 196 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/6B/6F/ Wkiol1ut3lcwybfraacugwuahxw931.jpg "border=" 0 "/>
Add a New Forest
650) this.width=650; "height=" 323 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6B/6F/wKioL1Ut3lHwRptpAAC4YGg-_ 7g286.jpg "border=" 0 "/>
This password is important, enter the directory Repair mode in Safe mode, require a password to restore the directory Repair mode
650) this.width=650; "height=" 331 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6B/6F/wKioL1Ut3lPwnxXbAADXb5_ Sbn4886.jpg "border=" 0 "/>
Installation
650) this.width=650; "height=" 317 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/6B/6F/wKioL1Ut3lbxO__ Oaafux4nv1ig283.jpg "border=" 0 "/>
2: Install the Windows Server Backup component
Open Server Manager-add roles and Features-Add Window Server Backup component
650) this.width=650; "height=" 295 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6B/6F/ Wkiol1ut3lfyh22baadsun8xgee441.jpg "border=" 0 "/>
3: Backing up the System state
Server Manager-windows Server Backup
650) this.width=650; "height=" 199 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6B/6F/ Wkiol1ut3lvr05jraac7-v2wui4792.jpg "border=" 0 "/>
Local Backup-Disposable backup
650) this.width=650; "height=" 192 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/6B/6F/wKioL1Ut3l7iDti-AACL_ Faxl38276.jpg "border=" 0 "/>
Custom
650) this.width=650; "height=" 349 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6B/73/ Wkiom1ut3q3cnlf5aace7nrxwn0170.jpg "border=" 0 "/>
Add Item-System state
650) this.width=650; "height=" title= "image" style= "Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6B/73/wKiom1Ut3Q-x6oz_ Aactdrptsfs682.jpg "border=" 0 "/>
Select the backed up media
650) this.width=650; "height=" 411 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/6B/73/wKiom1Ut3Q_yY_ D8aadqjnsalu4439.jpg "border=" 0 "/>
Backup
650) this.width=650; "height=" 411 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6B/73/ Wkiom1ut3rgggpcnaadrp59rcjg758.jpg "border=" 0 "/>
650) this.width=650; "height=" 409 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6B/73/ Wkiom1ut3rls6i8waadysttlyjm909.jpg "border=" 0 "/>
Backup files can be found on backup media after the backup is successful
650) this.width=650; "height=" 254 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6B/6F/ Wkiol1ut3meihkbtaac2ak4tjjk183.jpg "border=" 0 "/>
650) this.width=650; "height=" 317 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6B/6F/wKioL1Ut3mjCg9uvAACx_ Xrweyi766.jpg "border=" 0 "/>
Two: Delete organizational unit HR and user-simulated domain data loss
650) this.width=650; "height=" 291 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/6B/73/ Wkiom1ut3ritccooaac0whdnwwo535.jpg "border=" 0 "/>
Three: domain restore
Restart the server-f8-enter Safe mode
1: Enter directory Service Repair mode
650) this.width=650; "height=" 238 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6B/73/wKiom1Ut3RnDIONuAAB8l7x_ Cpq682.jpg "border=" 0 "/>
2: Open Server Manager-Tools-windows Server Backup
650) this.width=650; "height=" 235 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6B/73/ Wkiom1ut3ryzfqq7aac9idcqb80360.jpg "border=" 0 "/>
Local backup-Recovery-Select this server
650) this.width=650; "height=" 280 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/6B/6F/ Wkiol1ut3nhaknutaacgenuijv8217.jpg "border=" 0 "/>
Recovery type: System state
650) this.width=650; "height=" 377 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6B/6F/ Wkiol1ut3nlhihc5aadvkwda-zw901.jpg "border=" 0 "/>
Recovery:
650) this.width=650; "height=" title= "image" style= "Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/6B/6F/wKioL1Ut3nSDh_ Nkaacrlrjymrc144.jpg "border=" 0 "/>
Restart the computer after recovery is complete
650) this.width=650; "height=" 366 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/6B/73/ Wkiom1ut3soyq-zkaaeipzz44hs442.jpg "border=" 0 "/>
3: After reboot: The interface appears to show that the system state recovery operation completed successfully
650) this.width=650; "height=" 319 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/6B/73/ Wkiom1ut3sss7p5gaaclm53vzde240.jpg "border=" 0 "/>
Check:
See if the organizational unit's HR and users exist, and the recovery is successful.
650) this.width=650; "height=" 337 "title=" image "style=" Border:0px;padding-top:0px;padding-right:0px;padding-left : 0px;background-image:none; "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/6B/73/ Wkiom1ut3sbwe8dfaadmkqfeilg734.jpg "border=" 0 "/>
Backup and restore of the domain