In this Tutorial we will be checking the process to protect the DHCP Server database using the automatic configuration, Graphical User Interface and PowerShell.
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.
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.
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…
In the new window, select the folder where the backup will be stored and click OK.
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.
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\