Solved

Windows Server DHCP Backup and Restore

Posted on 2014-12-13
6
534 Views
Last Modified: 2014-12-14
I currently have a Server 2008 R2 DHCP server that I am about to decommission.  I am installing a new Server 2012 R2 box that will be th new DHCP server.  I would like to run a DHCP Backup on the 2008 server and restore it to the 2012 server so I do not have to reconfigure all the leases, scopes, etc.......

Is that possible, and/or recommended?
0
Comment
Question by:BSModlin
  • 2
  • 2
  • 2
6 Comments
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 40498173
yes you can migrate your dhcp configuration

DHCP PowerShell Export Import cmdlets in Windows Server 2012
http://blogs.technet.com/b/teamdhcp/archive/2012/12/03/dhcp-powershell-export-import-cmdlets-in-windows-server-2012.aspx
0
 

Author Comment

by:BSModlin
ID: 40498177
Can it be done in the GUI... running a backup on the 2008 server and then taking that backup and restoring on the 2012?

I am not very familiar with the shell.....
0
 
LVL 16

Expert Comment

by:Ivan
ID: 40498305
Hi,

You should use shell to export/import dhcp, as Seth said.

Regards,
0
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 

Author Comment

by:BSModlin
ID: 40498349
Can you provide an example of the backup and restore commands...
0
 
LVL 16

Accepted Solution

by:
Ivan earned 500 total points
ID: 40498356
Hi,

To export DHCP on Windows 2008, from CMD:  netsh dhcp server export c:\dhcp.txt all (change location where .txt will be saved).
To import DHCP on 2012, AFTER you have installed DHCP role: netsh dhcp server import c:\dhcp.txt all

BEFORE you import, go to DHCP console, and if there are some settings in Server Options, delete them, and then import.
After import, change settings like DNS or what ever you need, if any.

Regards,
1
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 40498383
there are command examples in the article i posted
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

733 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