Solved

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

Posted on 2016-10-04
4
55 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
  • 2
4 Comments
 
LVL 21

Accepted Solution

by:
RK earned 250 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 17

Assisted Solution

by:Learnctx
Learnctx earned 250 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
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 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…

831 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