PDNS backup
What is the best and correct way to create simple and readable dump/backup of PDNS database?
We used to have simple incremental backup on named files, but lack this after switch to PDNS. It's ok to have cron to create dump..
-
As long as you have the normal account/system backups in place, I would not expect you to need to perform additional backups of the PDNS database. 0 -
Yes, we have figured out, that even with PDNS zone files were also stored in /var/named - somehow I did not notice that.. :) So regular backup of that folder will work just fine as before! :) 0 -
So regular backup of that folder will work just fine as before! :)
correct0 -
What about if you have DNSSEC enabled? I though that was stored in a database? I may have answered my own question. I looked in the PDNS config and it looks like it's stored in /var/cpanel/pdns/dnssec.db. Since that appears to be sqlite DB, I assume we can just back up the file? 0 -
This might be helpful for that question @ffeingol - DNSSEC | cPanel & WHM Documentation 0 -
@cPRex Not really. While it's not specific to this thread, I was looking at backing up DNSONLY servers, where there is no cPanel backup option. 0 -
Thanks for the clarification. We don't have any tools for that since there shouldn't be any unique data on the DNSOnly boxes themselves. If one of those machines needed to be recreated, you could just create a new DNSOnly box and add it to the cluster and all the necessary records would populate from the webserver. 0 -
@cPRex I'll put in a feature request and/or check if there is one for DNSONLY backups. Having to re-join servers in a large cPanel DNSONLY cluster would be very time consuming and potentially error prone. It would be much easier to simply restore the DNSONLY server. 0
Please sign in to leave a comment.
Comments
9 comments