Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backing up and restoring the DHCP database

Status
Not open for further replies.

gmagerr

Technical User
Aug 11, 2001
323
US
Hi guys
Anyone have a script that will back up a dhcp database in case of a failure or corruption? Thanks.
 
i wrote one for my last place, (at request of the server guys) i am sure there is a document from MS which i followed (scripted each of the tasks). its not too hard seem to recall it was only a question of stopping DHCP service, copying a couple of folders sideways and then backing up some registry hives (i nabbed a dll my bro wrote to do regsitry backup and restore as part of citrix user profile logon affair), restore was simply there reverse
 
Thanks guys. Actually there are a lot of reservations in our dhcp and my boss wants me to back everything to another server in case the dhcp ever goes down. I know you have to backup the databases and some registry stuff, I think there was one other thing but I can't remember. Thought for sure someone here would have a script for it.
 
find the ms doc and follow the instructions in creating your script, its a couple of folders to copy sideways and a couple of registry hives, it shouldnt take you more than a few lines of code to complete, for the registry stuff you can prob just get away with regedit.exe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top