Solved

Windows Server DHCP Backup and Restore

Posted on 2014-12-13
6
471 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

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

Every now and then, Microsoft does something that totally impresses me. It doesn't happen often, but in this case I must say I am thoroughly impressed with Windows Server Backup. One of the long time issues with Windows Backup has been the ability t…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

786 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