Solved

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

Posted on 2016-10-04
4
68 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

856 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