Skip to main content

Backup cPanel DNS only

Comments

9 comments

  • Jcats
    Pablo, Good question, I would probably create a fake cPanel account, then rsync all the DNS zones to that cPanel account in the home directory like /home/user/.dnszones then include that in your cPanel backups to S3. Otherwise you can try something like this to rsync directly to s3
    0
  • pabloafain
    Ok, thanks Jcats!
    0
  • cPanelMichael
    Hello :) cPanel DNS-Only does not include all of the same features as the standard cPanel installation because it's designed only for DNS purposes. You can simply backup the entire /var/named directory as that is where the DNS zones are stored. However, generally, you would simply resync the zones from the hosting servers if the DNS-Only server is reinstalled. Thank you.
    0
  • Kent Brockman
    Hello :) cPanel DNS-Only does not include all of the same features as the standard cPanel installation because it's designed only for DNS purposes. You can simply backup the entire /var/named directory as that is where the DNS zones are stored. However, generally, you would simply resync the zones from the hosting servers if the DNS-Only server is reinstalled. Thank you.

    Hello. Is this still valid nowadays? Do you have any docs regarding reinstallation of DNS Only servers?
    0
  • cPRex Jurassic Moderator
    That is still correct. Just like cPanel, there isn't a "reinstall" method as it would be best to reformat the machine and perform a new installation.
    0
  • Kent Brockman
    Great to know. I have my DNS Only servers on Amazon EC2 and they will be upgrading network configurations in under one year from now, and it is very feasible that a OS reload could be required. So, a simple bash script to zip the /var/named folder and FTP it to an external source should be enough, you say? What about services manager choices, cluster connections, customizations in general.... I wonder why DNS Only cannot offer a Transfer Account menu, to transfer relevant configurations from another DNS Only server, so that you can easily move or reinstall a DNS server.
    0
  • cPRex Jurassic Moderator
    Hmmmmmmmmm - that sounds like a good feature request to submit!
    0
  • Kent Brockman
    You got it. Hope it can come true anytime soon.
    0
  • cPRex Jurassic Moderator
    I got it approved just now so it will be active soon.
    0

Please sign in to leave a comment.