Performing Backup on your DHCP Server

Share this:

In this Tutorial we will be checking the process to protect the DHCP Server database using the automatic configuration, Graphical User Interface and PowerShell. 

Solution


By default the backup database is protected every 60 minutes and by getting the properties of the server object using DHCP Administrator, the administrator is able to check the location where the DHCP database and settings are being stored.

image

The frequency can be controlled using the registry editor on the following path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters, and check the configuration BackupInterval and we can define the interval that the automatic backup will be performed.

image

Graphical User Interface – Manual backup…

Using the Graphical User Interface, the administrator can right-click on the server using DHCP Administrator Console, and then click on Backup…

image

In the new window, select the folder where the backup will be stored and click OK.

image

We can check the results by looking at the folder specified in the previous step, a configuration file will be located on the root folder, and inside of the new folder the dhcp database and additional files will be located.

image

DHCP Backup using PowerShell…

Another method to create a backup of the DHCP Server database is using PowerShell, the following cmdlet can be used. The results will be exactly the same as the previous method using the graphical user interface.

Backup-DHCPServer –ComputerName $env:ComputerName –Path C:\Temp\

image

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

Using PowerShell as default option in Windows 10 m... By default in Windows 10 (well, on previous versions as well) when we either use right-click on the lower-left corner or Windows + X , we will have a ...
How to activate synchronization in Office365 We are going over the process to enable synchronization in the new Office 365 Administration Center and also using PowerShell.  Solution In s...
Backing up Exchange Mailbox databases with eseutil... In this Tutorial we are going to use eseutil utility to create a backup of a mounted mailbox database. The steps described here are useful when you ne...
How to upload a custom image to Azure If you developed your standard Windows or Linux operating system image for installation on on-premises computers, you might want to use the same image...