Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

DHCP Export using "netsh dhcp server export" - does it export EVERYTHING

Posted on 2016-10-04
4
Medium Priority
?
219 Views
Last Modified: 2016-10-04
Hi all,

I need to migrate DCHP from an existing Server 2008 DC to a new Server 2012 R2 DC.

I have read several guides etc and it looks straight forward enough ( I want to use the "netsh dhcp server export/import" method).

I just wanted to double check that use the command netsh dhcp server export "c:\mydhcpexport.txt all" exports EVERYTHING including leases, reservations and scope options etc etc?
0
Comment
Question by:fieldj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
Radhakrishnan R earned 1000 total points
ID: 41827585
Hi,

I have performed this 2 weeks back on one of my DHCP failed server. This is the step i have  performed in order to export/import DHCP.

1)      Export the dhcp configuration by running the command “netsh dhcp server export dhcp.txt all” (where “dhcp.txt” will be the configuration file).
2)      Install the DHCP role on the new server. (You can either not select the authorize DHCP now and perform this afterwards)
5)      Run the command “netsh dhcp server import dhcp.txt all” (where the dhcp.txt is the file you have copied safely).

This will safely import the DHCP configuration. This method should work for you as well.

Good luck
0
 

Author Comment

by:fieldj
ID: 41827591
Thanks, that is the method which I plan to use.

Can you confirm that it does definitely import all of the configuration including leases, reservations and scope options?
0
 
LVL 18

Assisted Solution

by:Learnctx
Learnctx earned 1000 total points
ID: 41827638
Using netsh does indeed restore all settings and data, including reservations. As a simple test you can do the backup and import on to a test server. But this is the process I have used in the past to move databases between servers and for upgrades (2003->2008->2012).
0
 

Author Comment

by:fieldj
ID: 41827661
Thanks
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

618 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