Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1099
  • Last Modified:

Windows Server DHCP Backup and Restore

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
BSModlin
Asked:
BSModlin
  • 2
  • 2
  • 2
1 Solution
 
Seth SimmonsSr. Systems AdministratorCommented:
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
 
BSModlinAuthor Commented:
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
 
IvanSystem EngineerCommented:
Hi,

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

Regards,
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
BSModlinAuthor Commented:
Can you provide an example of the backup and restore commands...
0
 
IvanSystem EngineerCommented:
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
 
Seth SimmonsSr. Systems AdministratorCommented:
there are command examples in the article i posted
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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