Solved

Backup and restore DHCP in Win 2008 Server

Posted on 2011-03-23
14
1,596 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
  • 10
  • 2
14 Comments
 
LVL 70

Expert Comment

by:KCTS
Comment Utility
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
Comment Utility
... 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
Comment Utility
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
 

Author Comment

by:VMJunkie
Comment Utility
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
Comment Utility
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
Comment Utility
More about Win 2008 DHCP backup and restore

http://technet.microsoft.com/en-us/library/dd759235.aspx
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:VMJunkie
Comment Utility
More about exporting and importing DHCP database in 2003 & 2008

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

Author Comment

by:VMJunkie
Comment Utility
0
 

Author Comment

by:VMJunkie
Comment Utility
0
 

Author Comment

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

Author Comment

by:VMJunkie
Comment Utility
0
 

Author Comment

by:VMJunkie
Comment Utility
0
 

Accepted Solution

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

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Have you ever had a hard drive that you can't boot into, but need to change the registry? Here is the solution! This article guides you through accessing and editing a registry of a non-primary drive. To read registry information on a non-prim…
I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
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). …

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now