Thursday, January 20, 2011

DHCP Backup and Move From one server to another


If we would like to move a DHCP server to another machine.Its simple.. follow the bellow steps.
Step 1 :- In Server, navigate to a command prompt.

Step 2 :- Type the following command :netsh


Step 3 :-  Type the following command :DHCP


Step 3 :- Type the following Command: server <\\Name or IP Address >


Step 4 :-  Type the following Command: export c:\w2k3DHCPdb all


Note : - you should have local administrator permission to export data.


Import the DHCP database

1.       Copy the exported DHCP database file to the local hard disk of the Windows Server 2008-based      
computer. 

2.       Install the DHCP Role on the server. 

3.       Stop the DHCP server service on the server.  To do this, follow these steps: 

4.       Log on to the target DHCP server by using an account that is a member of the local Administrators group.

5.      Click Start, click Run, type cmd in the Open box, and then click OK. 



6.       At the command prompt, type net stop DHCPserver , and then press ENTER. You receive a"TheMicrosoft DHCP Server service is stopping. The Microsoft DHCP Server service was stopped successfully" message. 

7.      Type exit, and then press ENTER. 

8.       Delete the DHCP.mdb file under c:\windows\system32\DHCP folder. 

9.       Start the DHCP server service. 

10.       Right-click on the Command Prompt (cmd) and select run as administrator, to open the cmd prompt using elevated privileges. 

Note you should have local administrator permission to Import data.. 

11.   Type the following Command: netsh

12.   Type the following Command: DHCP

13.   Type the following Command: server <\\Name or IP Address>

10.   Type the following Command: import c:\w2k3DHCPdb

11.   Restart DHCP and verify the database has moved over properly. 


 

No comments:

Web Hosting