Solved

Windows Server DHCP Backup and Restore

Posted on 2014-12-13
6
456 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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

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

This article will review the basic installation and configuration for Windows Software Update Services (WSUS) in a Windows 2012 R2 environment.  WSUS is a Microsoft tool that allows administrators to manage and control updates to be approved and ins…
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
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…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now