Backup and restore of Windows Server 2012R2 databases
Experimental Simulation : Beijing has a uec.com main server, need to create an additional domain controller in Shanghai, but Shanghai and Beijing network latency is large, normal replication is unsuccessful.
Ideas: Create an ad database media file in Beijing, store the data in the AD database, copy the media file to the Shanghai server, and create an additional domain controller in Shanghai using the media ask price.
Preparation environment:
Beijing: Server ip:192.168.1.101
Shanghai: Server ip:192.168.1.102
Step one: Build the database media file on server 01
First prepare a disk (not the system disk) on the Server01
Click the virtual machine in the box above the virtual machine, right-select settings, click Add
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6B/84/wKioL1Uvp2WxjaedAAJv2qsvCaY439.jpg "style=" width : 600px;height:545px; "title=" Qq20150416200506.png "width=" "height=" 545 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1uvp2wxjaedaajv2qsvcay439.jpg "/>
Select the hard drive
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6B/88/wKiom1UvphLgiVJbAAEUc9XN72M769.jpg "style=" width : 600px;height:488px; "title=" Qq20150416200544.png "width=" "height=" 488 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvphlgivjbaaeuc9xn72m769.jpg "/>
Type of virtual disk select the default SCSI
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/84/wKioL1Uvp2mAOmDSAAErv77OTEE846.jpg "style=" width : 600px;height:484px; "title=" Qq20150416200559.png "width=" "height=" 484 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1uvp2maomdsaaerv77otee846.jpg "/>
Select Create Virtual Disk
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/88/wKiom1UvphXzgiO8AAFwQE8j2Qg535.jpg "style=" width : 600px;height:484px; "title=" Qq20150416200611.png "width=" "height=" 484 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvphxzgio8aafwqe8j2qg535.jpg "/>
The disk size is at least 20GB, look at the amount of data, and the following will store the virtual disk as a single file
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/84/wKioL1Uvp2rywkeOAAGy4yNhm44281.jpg "style=" width : 600px;height:484px; "title=" Qq20150416200629.png "width=" "height=" 484 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1uvp2rywkeoaagy4ynhm44281.jpg "/>
The location of the disk can be placed casually, but must be placed in the place where you can find it (you do not have to put a virtual machine in a
Intraday)
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/88/wKiom1Uvphfh0qxkAAD0w3uQUTs279.jpg "style=" width : 600px;height:492px; "title=" Qq20150416200707.png "width=" "height=" 492 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvphfh0qxkaad0w3uquts279.jpg "/>
See the icon in the red box below, right-click on Disk Management
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/88/wKiom1Uvp2yT2WBPAABOpf44xP8997.jpg "style=" width : 600px;height:226px; "title=" Qq20150416201236.png "width=" "height=" 226 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvp2yt2wbpaabopf44xp8997.jpg "/>
Right-click Online in the Red box, and then right-click the unassigned area to the right of the box and create a new simple volume.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6B/84/wKioL1UvqMCwXMeqAAC3YEKmUmI676.jpg "style=" width : 600px;height:145px; "title=" Qq20150416201307.png "width=" "height=" 145 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1uvqmcwxmeqaac3yekmumi676.jpg "/>
In the run, the command is as follows:
Ntdsutil
Activate instance NIDS
Ifm
Create full E:\IFM (where E is the letter of the newly created disk, IFM is created first in the disk)
Quit
Quit
Exit
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/84/wKioL1Uvq4WSYQCrAAD8ePHPu-g702.jpg "style=" width : 600px;height:202px; "title=" Qq20150416202510.png "width=" "height=" 202 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1uvq4wsyqcraad8ephpu-g702.jpg "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/88/wKiom1UvqjKxeQP9AAKwdwQLjkE427.jpg "style=" width : 600px;height:380px; "title=" Qq20150416202421.png "width=" "height=" 380 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvqjkxeqp9aakwdwqljke427.jpg "/>
Step Two: Copy the media file to Server02, create a new disk (previously created disk has been demonstrated, here
is not the description of the disk creation process)
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/88/wKiom1UvrA-QNWx5AADutQOd4vY792.jpg "style=" width : 600px;height:370px; "title=" Qq20150416203202.png "width=" "height=" 370 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvra-qnwx5aadutqod4vy792.jpg "/>
Running on Server02, running \\server01\e$
You can see the IFM file, open the IFM file, and see if it's all copied over, as follows
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6B/84/wKioL1UvrWXwkTZtAAGh8eYVtJo339.jpg "style=" width : 600px;height:385px; "title=" Qq20150416203220.png "width=" "height=" 385 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1uvrwxwktztaagh8eyvtjo339.jpg "/>
If normal, copy the IFM file to Server02 's e-disk
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/84/wKioL1UvrWeCvzkrAAGt-5AeoF8112.jpg "style=" width : 600px;height:382px; "title=" Qq20150416203305.png "width=" "height=" 382 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1uvrwecvzkraagt-5aeof8112.jpg "/>
Step three: Create additional domain controllers with media files
Add roles and Features
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/84/wKioL1UvrqrTfKAPAAEU92ghIy0598.jpg "style=" width : 600px;height:291px; "title=" Qq20150416203743.png "width=" "height=" 291 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1uvrqrtfkapaaeu92ghiy0598.jpg "/>
Role-and feature-based installation
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/88/wKiom1UvrVbgkikUAAEqrVGU9wI102.jpg "style=" width : 600px;height:339px; "title=" Qq20150416203759.png "width=" "height=" 339 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvrvbgkikuaaeqrvgu9wi102.jpg "/>
Note Here whether the IP address matches this server
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/84/wKioL1UvrquyvpJbAAGepQlwIYg560.jpg "style=" width : 600px;height:290px; "title=" Qq20150416203813.png "width=" "height=" 290 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1uvrquyvpjbaagepqlwiyg560.jpg "/>
Add AD Domain Service
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/88/wKiom1UvrVjTiuFgAAFU8xz0uLU846.jpg "style=" width : 600px;height:341px; "title=" Qq20150416203833.png "width=" "height=" 341 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvrvjtiufgaafu8xz0ulu846.jpg "/>
Click the exclamation mark in the following interface, click Promote this server to a domain controller
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/89/wKiom1Uvry_AxFBRAAEUnNtDNKI003.jpg "style=" width : 600px;height:444px; "title=" Qq20150416204108.png "width=" "height=" 444 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvry_axfbraaeunntdnki003.jpg "/>
To add a domain controller to an existing domain
Domain name is uec.com
Click Change, the login screen appears, log on to the domain
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/89/wKiom1UvrzDCJ_xUAAICGNClpbI569.jpg "style=" width : 600px;height:241px; "title=" Qq20150416204319.png "width=" "height=" 241 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvrzdcj_xuaaicgnclpbi569.jpg "/>
Fill in the password
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/84/wKioL1UvsIWyjH5dAAEDTEUxAEU892.jpg "style=" width : 600px;height:267px; "title=" Qq20150416204534.png "width=" "height=" 267 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1uvsiwyjh5daaedteuxaeu892.jpg "/>
Select Install from media
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/89/wKiom1UvrzHgoNmKAADch0r7EUY175.jpg "style=" width : 600px;height:275px; "title=" Qq20150416204605.png "width=" "height=" 275 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvrzhgonmkaadch0r7euy175.jpg "/>
Step four: Check the replication status between DCs after restarting the computer
Check that DNS has no records added to Server02
There are SERVER02 records in DNS.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/89/wKiom1UvsZ2iDQHFAAM56qnlPq0585.jpg "style=" width : 600px;height:423px; "title=" Qq20150416205352.png "width=" "height=" 423 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvsz2idqhfaam56qnlpq0585.jpg "/>
Create a new organizational unit OU on server 01 and create a new user name for Tom in the organizational unit
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/84/wKioL1UvsvLA0XZeAAG5dP0lstk168.jpg "style=" width : 600px;height:417px; "title=" Qq20150416205607.png "width=" "height=" 417 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiol1uvsvla0xzeaag5dp0lstk168.jpg "/>
Seeing the presence of the organizational unit and user Tom on server 02 indicates that replication between DCs has been implemented.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/89/wKiom1UvsaTh3PicAAJb_yzdtw8660.jpg "style=" width : 600px;height:465px; "title=" Qq20150416205643.png "width=" "height=" 465 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1uvsath3picaajb_yzdtw8660.jpg "/>
End of experiment
Note: (uec.com is a domain name of the experiment)
I hope my blog can help the same novice as me
This article is from the "DNS Mystery (a)" blog, please be sure to keep this source http://qqcycto.blog.51cto.com/9992729/1633825
Backup and restore of Windows Server 2012R2 databases