A couple of observations from experimenting. First, Backup- appears to require a higher permission set then Export-. 2, export produces an .xml file were backup produces the typical “DHCPcfg” type file.
Based on what I was reading in the online help files for both cmdlets, it appears they both achieve the same result. A full backup of the DHCP servers scopes including lease and reservation information. Am I missing something? Does anyone else have any experience in this area? Thanks for any thoughts, tips, or guidance!
Is export-dhcpserver aimed more at those are migrating dhcp servers between hosts, whereas backup-dhcpserver is for those that want a meaningful backup in place in the event of an issue?
Although they achieve the same result, they maybe better suited to those tasks?
I thought the backup-dhcpserver would be better. I found one of our dhcp servers backed up just fine but when we tried to import the database into a new server it failed. Nothing we did would make the import work with the backed up database files.
I turned to export-dhcp server with the -Leases option and tried importing that into the new dhcp server it worked.
I’ve switched my backup process over to export-dhcpserver.