Backing up DHCP database using Netsh

| | No TrackBacks

DHCP service, as any other network services, may require periodic backups. However, in most cases it assumes there's direct access to DHCP server configuration files. That makes such a backup possible only if there're file access permissions.

The task, though, may be solved by means of netsh utility, allowing manual control over server backups creation. By default, Windows DHCP server makes DHCP configuration copies every 60 minutes; however, it can be overridden by manually isuing command like

netsh dhcp server \\servername backup destdir

The above command will initiate creating a regular backup to the specified local directory. In case of server name (or IP address) is not specified, local server is assumed (the computer the command is initiated on).

So, the command like

netsh dhcp server backup C:\Backups\DHCP

will back up DHCP registry configuration to C:\Backups\DHCP\DhchCfg, and back up the DHCP database file (.mdb format) to the C:\Backups\DHCP\new folder. Proper access rights may allow making abckups without giving access to system-related data.

No TrackBacks

TrackBack URL: /blog/mt-tb.cgi/4

blog comments powered by Disqus

About this Entry

This page contains a single entry by Konstantin Boyandin published on November 30, 2009 1:21 PM.

Monitoring Websites: additional tips was the previous entry in this blog.

Configure DHCP options using Netsh is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.