Backup, restore, and transfer of the DHCP server for Windows Server 2012

Source: Internet
Author: User

The last time we introduced the DHCP server, this time to introduce you to the DHCP server backup, restore and transfer

First, the backup and restore of DHCP

Today's environment is: SERVER01 domain controller. SERVER02DHCP Server, server05 Client (user tests whether the DHCP server is working properly)

Example: Backup of the DHCP server database, restoring

First, let's install the DHCP service.

Open Server Manager, click Add Roles and Features

650) this.width=650; "title=" 2015-06-04_202233 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_202233 "src=" http://s3.51cto.com/wyfs02/M02/6D/FC/wKioL1VwWd6izlj_ Aagx1f6lzqg983.jpg "" 644 "height=" 434 "/>

Select DHCP Server

650) this.width=650; "title=" 2015-06-04_202258 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_202258 "src=" http://s3.51cto.com/wyfs02/M00/6D/FC/ Wkiol1vwwediua-naahg6iy153m854.jpg "" 644 "height=" 461 "/>

Wait for installation to complete

650) this.width=650; "title=" 2015-06-04_202319 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_202319 "src=" http://s3.51cto.com/wyfs02/M01/6D/FC/ Wkiol1vwwehcuih0aafibybnsvc511.jpg "" 644 "height=" 456 "/>

After the installation is complete, we will configure the DHCP server

Open Server Manager, click Tools, select DHCP

650) this.width=650; "title=" 2015-06-04_202849 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_202849 "src=" http://s3.51cto.com/wyfs02/M02/6D/FC/ Wkiol1vwwessbwyraaijcaeowfg188.jpg "" 644 "height=" 435 "/>

Open DHCP, right-click IPv4, select New Scope

650) this.width=650; "title=" 2015-06-04_202954 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_202954 "src=" http://s3.51cto.com/wyfs02/M00/6D/FC/ Wkiol1vwweecuz2baai7niwg7pa494.jpg "" 644 "height=" 453 "/>

Enter DHCP name

650) this.width=650; "title=" 2015-06-04_203028 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_203028 "src=" http://s3.51cto.com/wyfs02/M01/6D/FC/ Wkiol1vwwenhkbaiaaef-pgvwsk048.jpg "" 566 "height=" 484 "/>

Enter start IP address and end IP address

650) this.width=650; "title=" 2015-06-04_203056 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_203056 "src=" http://s3.51cto.com/wyfs02/M02/6D/FC/ Wkiol1vwweuxvsu2aafqjjkwqeg803.jpg "" 562 "height=" 484 "/>

Here is the input excluded IP address, this experiment does not need, directly ignore

650) this.width=650; "title=" 2015-06-04_203115 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_203115 "src=" http://s3.51cto.com/wyfs02/M00/6D/FC/ Wkiol1vwweyiqulmaafdtkv9npw085.jpg "" 561 "height=" 484 "/>

Select a term of use, usually the default of 8 days

650) this.width=650; "title=" 2015-06-04_203126 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_203126 "src=" http://s3.51cto.com/wyfs02/M01/6D/FC/ Wkiol1vwwe2yvo5iaagptp_hltg861.jpg "" 561 "height=" 484 "/>

Select Configure Default gateway now, etc.

650) this.width=650; "title=" 2015-06-04_203137 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_203137 "src=" http://s3.51cto.com/wyfs02/M02/6D/FC/ Wkiol1vwwe7xkx5caagi7yvkcfs853.jpg "" 560 "height=" 484 "/>

Enter the default gateway and click Add

650) this.width=650; "title=" 2015-06-04_203156 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_203156 "src=" Http://s3.51cto.com/wyfs02/M00/6D/FC/wKioL1VwWe_ Rzod4aaeb4bgvyjg304.jpg "" 561 "height=" 484 "/>

Here is the input DNS, because we are in the domain environment, so, here Auto fill in

650) this.width=650; "title=" 2015-06-04_203217 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_203217 "src=" http://s3.51cto.com/wyfs02/M01/6D/FC/ Wkiol1vwwfctopbkaaf51ynxkim038.jpg "" 560 "height=" 484 "/>

Select to activate this scope now

650) this.width=650; "title=" 2015-06-04_203230 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_203230 "src=" http://s3.51cto.com/wyfs02/M02/6D/FC/ Wkiol1vwwfhd6axjaadrobarpgo860.jpg "" 559 "height=" 484 "/>

After the configuration is complete, right-click the server name and select authorize

650) this.width=650; "title=" 2015-06-04_203247 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_203247 "src=" http://s3.51cto.com/wyfs02/M00/6D/FC/ Wkiol1vwwfkhhpr3aaftzg930re772.jpg "" 644 "height=" 449 "/>

Once the authorization is complete, the DHCP server will work, and we'll test it with server05.

First, change the IP address of the server05 to auto-fetch.

650) this.width=650; "title=" 2015-06-04_210126 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_210126 "src=" http://s3.51cto.com/wyfs02/M01/6D/FC/ Wkiol1vwwfttloxpaahnr36dfxc327.jpg "" 430 "height=" 484 "/>

Then use the command line to query the current IP address, whether in our allocated network segment

650) this.width=650; "title=" 2015-06-04_210312 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_210312 "src=" Http://s3.51cto.com/wyfs02/M02/6D/FC/wKioL1VwWfWS7n_ Daaiqosrmtvm696.jpg "" 569 "height=" 484 "/>

We have shown that the DHCP server is working properly, so let's back up the DHCP server

Right-click the server, select Backup

650) this.width=650; "title=" 2015-06-04_211400 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_211400 "src=" http://s3.51cto.com/wyfs02/M00/6D/FC/ Wkiol1vwwfec7q2taafc1xkxxba835.jpg "" 644 "height=" 451 "/>

Choose the location of the backup, here we use the default location, under C windows, System32 below, there is a DHCP folder under the backup, such as

650) this.width=650; "title=" 2015-06-04_210911 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_210911 "src=" http://s3.51cto.com/wyfs02/M00/6E/00/ Wkiom1vwwfvy7y5taafceb2zyfo512.jpg "" 418 "height=" 484 "/>

After the backup is complete, we delete the newly created scope, simulate the accidental deletion, and test whether the restore was successful.

650) this.width=650; "title=" 2015-06-04_211013 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_211013 "src=" http://s3.51cto.com/wyfs02/M01/6E/00/ Wkiom1vwwf2jflq3aagaxxw4ylg838.jpg "" 644 "height=" 451 "/>

Here is the choice

650) this.width=650; "title=" 2015-06-04_211038 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_211038 "src=" http://s3.51cto.com/wyfs02/M02/6E/00/wKiom1VwWF_ Qld0iaagj6c3irce520.jpg "" 644 "height=" 451 "/>

Here is the choice

650) this.width=650; "title=" 2015-06-04_211048 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_211048 "src=" http://s3.51cto.com/wyfs02/M00/6E/00/ Wkiom1vwwgcdzvbraagg3kahvqu609.jpg "644" height= "/>"

After deletion, we can restore DHCP, right-click the server, select Restore

650) this.width=650; "title=" 2015-06-04_211059 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_211059 "src=" http://s3.51cto.com/wyfs02/M01/6E/00/ Wkiom1vwwgttdfyoaafzwo0m6yi594.jpg "" 644 "height=" 451 "/>

Select the location of the backup, where our backup location is the default, so choose the default location

650) this.width=650; "title=" 2015-06-04_211123 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_211123 "src=" http://s3.51cto.com/wyfs02/M02/6E/00/ Wkiom1vwwgbhjtbvaagspxqvrv4448.jpg "644" height= "/>"

Here is the choice

650) this.width=650; "title=" 2015-06-04_211141 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_211141 "src=" http://s3.51cto.com/wyfs02/M00/6E/00/ Wkiom1vwwgfsfb-laafj8jrbsu8691.jpg "" 644 "height=" 453 "/>

After selecting Yes, the prompt will pop up and wait

650) this.width=650; "title=" 2015-06-04_211154 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_211154 "src=" http://s3.51cto.com/wyfs02/M01/6E/00/ Wkiom1vwwgjgwltsaaez6ralb1w818.jpg "" 644 "height=" 452 "/>

After the restore is complete, there are hints, such as

650) this.width=650; "title=" 2015-06-04_211207 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_211207 "src=" http://s3.51cto.com/wyfs02/M02/6E/00/ Wkiom1vwwgmzio78aaezptk7wyw538.jpg "" 644 "height=" 451 "/>

After the restore is complete, let's check to see that the scope of the deletion has been restored, proving that our lab was successful.

650) this.width=650; "title=" 2015-06-04_211224 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_211224 "src=" http://s3.51cto.com/wyfs02/M00/6E/00/ Wkiom1vwwg2rvwolaafqvtrsalo543.jpg "644" height= "/>"

After we introduced the backup and restore, we are going through an experiment to introduce the migration of the server

Example: DHCP server migration, migrating a DHCP server from Server02 to Server01

Step 1: First of all we need to the migration of the server to make a backup, we will use just the backup to complete the experiment, first find the backup file, location is C:\Windows\System32\dhcp

650) this.width=650; "title=" 2015-06-04_212455 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_212455 "src=" http://s3.51cto.com/wyfs02/M01/6E/00/ Wkiom1vwwhdjywegaagmeekhqu4747.jpg "" 644 "height=" 460 "/>

Copy the backup folder to the DHCP backup folder under C drive

650) this.width=650; "title=" 2015-06-04_212539 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_212539 "src=" http://s3.51cto.com/wyfs02/M02/6E/00/ Wkiom1vwwhgzavtkaad0p9avnr4387.jpg "" 644 "height=" 458 "/>

Share a DHCP backup folder

650) this.width=650; "title=" 2015-06-04_212606 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_212606 "src=" http://s3.51cto.com/wyfs02/M00/6E/00/ Wkiom1vwwhwgbdshaadwfmwkdt0116.jpg "" 379 "height=" 484 "/>

Step 2: Copy the backup folder to Server01

In Server01, access the shared folder through remote access

650) this.width=650; "title=" 2015-06-04_212651 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_212651 "src=" http://s3.51cto.com/wyfs02/M01/6D/FC/ Wkiol1vwwhpyjectaac_7jrh3us268.jpg "" 644 "height=" 428 "/>

Copy the folder backup that we need to copy to the new DHCP restore folder in the C drive

650) this.width=650; "title=" 2015-06-04_212747 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_212747 "src=" http://s3.51cto.com/wyfs02/M01/6D/FC/ Wkiol1vwwhsjv6uyaadnoamblc8142.jpg "" 644 "height=" 422 "/>

Step 3: Install the DHCP component on SERVER01

650) this.width=650; "title=" 2015-06-04_212811 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_212811 "src=" http://s3.51cto.com/wyfs02/M02/6E/00/ Wkiom1vwwhyzkpitaahce3sss5e523.jpg "644" height= "/>"

Step 4: Restore directly on the Server01

Open the DHCP server, right-click the server name, select Restore

650) this.width=650; "title=" 2015-06-04_213400 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_213400 "src=" http://s3.51cto.com/wyfs02/M00/6E/00/ Wkiom1vwwh3d14wdaae_iuz3y6a012.jpg "" 644 "height=" 443 "/>

Select the backup location for the files that we just copied from the Server02, under C disk under DHCP restore backup

650) this.width=650; "title=" 2015-06-04_213439 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_213439 "src=" http://s3.51cto.com/wyfs02/M01/6E/00/ Wkiom1vwwh7s4jsiaagu07daemq376.jpg "" 644 "height=" 444 "/>

After the selection is complete, a prompt will appear here, select Yes

650) this.width=650; "title=" 2015-06-04_213552 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_213552 "src=" http://s3.51cto.com/wyfs02/M02/6D/FC/ Wkiol1vwwhzalfqhaagckaod4cw774.jpg "" 644 "height=" 442 "/>

This hint, still choose to be

650) this.width=650; "title=" 2015-06-04_213603 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_213603 "src=" http://s3.51cto.com/wyfs02/M00/6D/FC/ Wkiol1vwwh3wd7owaae_fyvmabc549.jpg "" 644 "height=" 443 "/>

Start the Restore and wait

650) this.width=650; "title=" 2015-06-04_213614 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_213614 "src=" http://s3.51cto.com/wyfs02/M02/6D/FC/ Wkiol1vwwh3zh3d1aaeeawqrtbk014.jpg "" 644 "height=" 441 "/>

After the restore is complete, there are hints, such as

650) this.width=650; "title=" 2015-06-04_213623 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_213623 "src=" http://s3.51cto.com/wyfs02/M02/6E/00/ Wkiom1vwwigag2p8aaefcfnes40133.jpg "" 644 "height=" 442 "/>

After the server restore is complete, we will authorize the server

Right-click the server and select authorize

650) this.width=650; "title=" 2015-06-04_213642 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_213642 "src=" http://s3.51cto.com/wyfs02/M00/6D/FC/ Wkiol1vwwigxpe4aaafeq3vat_i730.jpg "" 644 "height=" 444 "/>

DHCP server works when authorization is complete

650) this.width=650; "title=" 2015-06-04_213707 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_213707 "src=" http://s3.51cto.com/wyfs02/M00/6E/00/ Wkiom1vwwiajspykaae7hptiohw371.jpg "" 644 "height=" 439 "/>

Step 5: Uninstall the DHCP server on the SERVER02

Think we've moved the DHCP server to Server01, so we're going to uninstall the DHCP server on the SERVER02, otherwise there will be some unnecessary problems

Open Server Manager, select Remove Roles and Features

650) this.width=650; "title=" 2015-06-04_213727 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_213727 "src=" http://s3.51cto.com/wyfs02/M01/6D/FC/ Wkiol1vwwinaryetaag8bf8hlie629.jpg "" 644 "height=" 434 "/>

Check the front of the DHCP server.

650) this.width=650; "title=" 2015-06-04_213749 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_213749 "src=" http://s3.51cto.com/wyfs02/M00/6D/FC/ Wkiol1vwwiuzent7aahvgne2-ho516.jpg "" 644 "height=" 459 "/>

Remove Features

650) this.width=650; "title=" 2015-06-04_214048 "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" 2015-06-04_214048 "src=" http://s3.51cto.com/wyfs02/M01/6D/FC/ Wkiol1vwwi3jungjaafka6gspyi930.jpg "" 644 "height=" 458 "/>

Well, after uninstalling the DHCP server on the SERVER02, our experiment: the transfer of the DHCP server, even if the complete

Gaga ~ very tired ... See you tomorrow!

Backup, restore, and transfer of the DHCP server for Windows Server 2012

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.