The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Backup cPanel DNS only

Discussion in 'Data Protection' started by pabloafain, Sep 27, 2015.

  1. pabloafain

    pabloafain Member

    Joined:
    Nov 20, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi!

    How can I configure backups in cPanel DNS only? I'm looking to create dialy backups and move them to my Amazon S3 bucket.

    Thanks in advance,

    Pablo
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    275
    Likes Received:
    31
    Trophy Points:
    28
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    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
    http://serverfault.com/questions/73959/using-rsync-with-amazon-s3

    Someone else may have a much better solution though :)
     
  3. pabloafain

    pabloafain Member

    Joined:
    Nov 20, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ok, thanks Jcats!
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page