Windows DHCP Backup and Restore

Reading Time: < 1 minute
Last Edited: 3/8/2022
Method 1: Using Power Shell

Using PowerShell you can backup and restore the DHCP zones and leases.
Export-DhcpServer -ComputerName “target-server” -Leases -File “C:\DHCP\OldDHCPConf.xml” –Verbose
Import-DhcpServer -Leases –File “C:\DHCP\OldDHCPConf.xml” -BackupPath “C:\DHCP\Backup” –Verbose

Method 2: Using GUI

Method 3: Backing up the database

references:
https://www.sikich.com/insight/how-to-migrate-the-windows-server-dhcp-role/
https://docs.microsoft.com/en-us/powershell/module/dhcpserver/restore-dhcpserver
https://activedirectorypro.com/backup-restore-windows-dhcp-server/

This entry was posted in Microsoft, Windows. Bookmark the permalink.