Solved

Backup and restore DHCP in Win 2008 Server

Posted on 2011-03-23
14
1,603 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
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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: 35233934
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: 35234154
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

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…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

770 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