Although the DHCP server automatically creates a backup folder ‘C:\Windows\system32\dhcp\backup’ in which it saves the backup of the DHCP database, it is recommended that the default backup location for the DHCP database should be changed to something other than the system drive, i.e. C:\.
In order to change the default location, you must log on to the DHCP server using the Enterprise Admin or Domain Admin account in case of client/server architecture, or using the local administrator account if the DHCP server is a standalone Windows Server 2012 server.
Also, once you take the backup, the restoration process of the DHCP database is almost identical, where you are just required to locate the folder that contains the backup file, and the DHCP database can be restored within a few seconds. (The overall backup and restore time of the DHCP database depends upon the size of the information that the database contains.).
Here’s how you can backup Windows Server 2012 DHCP server database:
- Log on to the Windows Server 2012 DHCP server with the appropriate account credentials.
- If not already started, initialize the Server Manager window from the bottom left corner of the screen.
- On the opened Server Manager window, from the left pane, click to select the DHCP category.
- From the right pane, under the SERVERS section, right-click the DHCP server from the displayed list.
- From the context menu that appears, click the DHCP Manager option.
- On the opened DHCP snap-in, from the left pane, click to select and then right-click the server name. (DC-01.MYDOMAIN.COM for this demonstration.).
- From the context menu that appears, click the Backup option.
- On the opened Browse For Folder box, locate and click to select the target location where you want to save the backup of the DHCP database server.
- Once selected, click OK to confirm the selection and to create the backup. (The backup would be saved in DHCP.cfg file.).
- Close the DHCP snap-in when done.