Skip to main content

PDNS backup

Comments

9 comments

  • kodeslogic
    The below article will help you to take backup of DNS zone file(s) [QUOTE]
    0
  • cPRex Jurassic Moderator
    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
  • anton_latvia
    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
  • kodeslogic
    So regular backup of that folder will work just fine as before! :)

    correct
    0
  • ffeingol
    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
  • cPRex Jurassic Moderator
    This might be helpful for that question @ffeingol - DNSSEC | cPanel & WHM Documentation
    0
  • ffeingol
    @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
  • cPRex Jurassic Moderator
    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
  • ffeingol
    @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.