• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1658
  • Last Modified:

Backup and restore DHCP in Win 2008 Server

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
VMJunkie
Asked:
VMJunkie
  • 10
  • 2
1 Solution
 
KCTSCommented:
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
 
KCTSCommented:
... DHCP is backed up automaticially every hour (by default) to 60 minutes to the %SystemRoot%\System32\Dhcp\Backup\Jet folder
0
 
VMJunkieAuthor Commented:
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
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

 
VMJunkieAuthor Commented:
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
 
VMJunkieAuthor Commented:
DHCP Server migration made easy with Win 2008 server

http://www.petri.co.il/dhcp-server-migration-made-easy-windows-server-2008.htm
0
 
VMJunkieAuthor Commented:
More about Win 2008 DHCP backup and restore

http://technet.microsoft.com/en-us/library/dd759235.aspx
0
 
VMJunkieAuthor Commented:
More about exporting and importing DHCP database in 2003 & 2008

http://technet.microsoft.com/en-us/library/dd759224.aspx
0
 
VMJunkieAuthor Commented:
0
 
VMJunkieAuthor Commented:
How to move a DHCP database from 2003 server to 2008?
http://support.microsoft.com/kb/962355
0
 
VMJunkieAuthor Commented:
0
 
ee_autoCommented:
Question PAQ'd and stored in the solution database.
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

  • 10
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now