Solved

Backup and restore DHCP in Win 2008 Server

Posted on 2011-03-23
14
1,619 Views
Last Modified: 2012-05-11
How to backup and restore DHCP in Win 2008 R2 server, using the Windows native tools ?
Also, please advise on how to automate the DHCP backup on a daily basis using windows scheduler?

My requirements:

I have two windows 2008 R2 servers in the same subnet and have installed DHCP services on both servers. But, I have configured and authorised DHCP scopes only for DHCP01 ( 10.189.125.7 ) and also enabled IP helper address to point to the 10.189.125.7 server. Now, when the DHCP01 fails, I need to bring the DHCP02 as the DHCP server by importing the DHCP backup file. Thanks in advance.

DHCP01 - 10.189.125.7 ( Active Server )
DHCP02-10.189.125.8 ( Secondary server )
0
Comment
Question by:VMJunkie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 10
  • 2
14 Comments
 
LVL 70

Expert Comment

by:KCTS
ID: 35205415
It would make more sense to have both servers active rather than to have to manually faff about when one fails
see http://www.networkcomputing.com/1119/1119ws2.html

If you realy want to do it your way then see http://www.windowsitpro.com/article/dhcp2/how-can-i-move-a-dhcp-database-from-one-server-to-another-.aspx
0
 
LVL 70

Expert Comment

by:KCTS
ID: 35205447
... DHCP is backed up automaticially every hour (by default) to 60 minutes to the %SystemRoot%\System32\Dhcp\Backup\Jet folder
0
 

Author Comment

by:VMJunkie
ID: 35233683
Windows 2008 DHCP backup and restore using GUI - Manual method

http://myitforum.com/cs2/blogs/dhite/archive/2008/10/12/the-windows-server-2008-dhcp-backup-and-restore-procedure.aspx

Windows 2008 DHCP backup and restore using command line - Manual method

For restoring we don’t need to overwrite the backup folder on server B,
We can use any other local path for copying the Back Up taken from server A and then use command
Netsh dhcp server restore <Path of copied folder> on server B
And then start the DHCP server service.
 
Back Up can be taken even without stopping the service i.e. when service is in running state.
For that you can also use command if don’t want to depend upon periodic backup taken by DHCP server service:-
Netsh dhcp server backup <Any Local Folder Path>


Migrating DHCP services from 2003 to 2008
http://blogs.technet.com/b/teamdhcp/archive/2009/02/18/migration-of-dhcp-server-from-windows-server-2003-to-windows-server-2008.aspx


0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:VMJunkie
ID: 35233704
In Windows Server 2008, backup of DHCP database and settings has gotten simpler. You may want to backup your DHCP server from time to time to prepare for disaster recovery scenarios or when migrating DHCP server role to a new hardware.
Backup DHCP Server

1. Open Server Manager > DHCP role
2. Right click server name, choose Backup..
3. Choose a location for backup, click OK

Restore DHCP Server

4. Open Server Manager > DHCP role
5. Right Click server name, choose Restore
6. Choose the location of the backup, click OK
7. Restart the DHCP Service

0
 

Author Comment

by:VMJunkie
ID: 35233721
DHCP Server migration made easy with Win 2008 server

http://www.petri.co.il/dhcp-server-migration-made-easy-windows-server-2008.htm
0
 

Author Comment

by:VMJunkie
ID: 35233751
More about Win 2008 DHCP backup and restore

http://technet.microsoft.com/en-us/library/dd759235.aspx
0
 

Author Comment

by:VMJunkie
ID: 35233761
More about exporting and importing DHCP database in 2003 & 2008

http://technet.microsoft.com/en-us/library/dd759224.aspx
0
 

Author Comment

by:VMJunkie
ID: 35233970
0
 

Author Comment

by:VMJunkie
ID: 35234129
How to move a DHCP database from 2003 server to 2008?
http://support.microsoft.com/kb/962355
0
 

Author Comment

by:VMJunkie
ID: 35234262
0
 

Accepted Solution

by:
ee_auto earned 0 total points
ID: 35957262
Question PAQ'd and stored in the solution database.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Sometimes when I receive a call from my users to solve their problems it is very difficult for me to found their computer IP address. Even finding their computer Host to provide remote support can be a problem.  So I resorted to Goo…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question