Question
How can I make a backup of my DNS Zone files?
Answer
In version 96, you can use the following make a copy of the zone file:
whmapi1 export_zone_files zone=example.com zone=example.net
Prior to version 96, you will need to copy the existing zone file from /var/named
to the new server's DNS zone folder.
If you wish to archive the entire folder, use can use tar to package this:
tar -czvf named.tar.gz /var/named