Back up the DHCP Database
Applies To: Windows Server 2008
Backing up the DHCP database
Maintaining a backup of the DHCP database protects you from data loss if the DHCP database is lost (for example, due to hard disk failure) or becomes corrupted. There are three backup methods supported by the DHCP Server service:
Synchronous backups that occur automatically. The default backup interval is 60 minutes. You can change the backup interval through the following registry key:
Incorrectly editing the registry can severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.
Asynchronous (manual) backups that are performed by using the backup command on the DHCP console.
Backups using Windows Backup (ntbackup.exe) or non-Microsoft backup software.
When a synchronous or asynchronous backup occurs, the entire DHCP database is saved, including the following:
All scopes, including superscopes and multicast scopes
All options, including server options, scope options, reservation options, and class options
All registry keys and other configuration settings (for example, audit log settings and folder location settings) set in DHCP server properties. These settings are stored in the following registry subkey:
The DNS dynamic update credentials (user name, domain, and password) that the DHCP server uses when registering DHCP client computers in DNS are not backed up with any backup method.
This topic assumes that the DHCP database and its backup directories are located on the default drive and path locations. The default DHCP database backup path is systemroot\System32\Dhcp\Backup. You can change the database backup folder by selecting a different local folder during a manual backup or by changing the backup folder location in DHCP server properties. For more information, see Set the DHCP Database Backup Path.
When planning your backup strategy, consider the following:
Synchronous backups are performed while the DHCP service is running. Similarly, when you perform asynchronous (manual) backups, you do not need to stop the DHCP service unless you are moving your database to a new server. For more information, see Move a DHCP Database to Another Server.
The DHCP database backup folder location must be a local path.
Do not store DHCP server backups on the same hard drive on which the DHCP service is installed, and make sure that the access control list (ACL) for the backup folder contains only the Administrators group and the DHCP Administrators group as members. In addition to performing manual backups, back up to other locations, such as a tape drive, and make sure that unauthorized persons do not have access to your backup copies. You can use Windows Backup for this purpose.
To back up the DHCP database
Membership in the Administrators group or the DHCP Administrators group on the DHCP server is the minimum required to complete this procedure.
In the console tree, click the applicable DHCP server.
On the Action menu, click Backup.
In the Browse For Folder dialog box, select the folder where you want to store the backup DHCP database, and then click OK.
When you store a manually created backup of the DHCP database in the same location as the synchronous backup that the DHCP server creates every 60 minutes, the manual backup is overwritten when automatic backup occurs.