Solved

Backup and restore DHCP in Win 2008 Server

Posted on 2011-03-23
14
1,607 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I/E toolbars 7 32
Will DB Backup's  cleanup job will cause Paging ? 6 46
Exchange ActiveSync: Powershell Script, List of Users 2 33
GPO's not appliec 3 95
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

792 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