Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED DNS only server sending email about backups

Discussion in 'Data Protection' started by greatwitenorth, Nov 9, 2017.

Tags:
  1. greatwitenorth

    Joined:
    Feb 28, 2014
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm currently running a DNS only version of WHM (v68.0.10). Every night a get an email with the following message:

    [2017-11-09 02:00:03 -0500] warn [backup] Backup Not Enabled (This can be adjusted in WHM => Backup => Backup Configuration)


    I don't want to receive these emails since we are not currently backing up the dns server. But when I go into the WHM admin, there is no 'Backup Configuration' option. How can I disable these emails?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,870
    Likes Received:
    1,811
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This comes from the backup cron job. You can modify the backup cron job to silence it by using the following command:

    Code:
    crontab -e
    This will open the root crontab with your server's default text editor, which you can use to modify the backup entry to silence the alert:

    Code:
    0 2 * * * /usr/local/cpanel/bin/backup >/dev/null 2>&1
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 cPanelMichael, Nov 9, 2017
    Last edited: Nov 13, 2017
  3. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    176
    Likes Received:
    12
    Trophy Points:
    68
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    This issue was never present previously with DNSOnly - this is a new change. We've had the same on all of our DNS servers and whilst I yesterday deleted the cron job, this has then automatically been added back in and has generated the errors again. This should be addressed from a cPanel perspective so the cron job is not present/created on a DNSOnly server.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,870
    Likes Received:
    1,811
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hi,

    This actually occurs on both cPanel DNS-Only installations and standard cPanel installations as of cPanel version 62. It looks like deleting the cron job does result in it returning after cPanel updates. Instead, you will need to edit the cron to silence it. EX:

    Code:
    0 2 * * * /usr/local/cpanel/bin/backup >/dev/null 2>&1
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    176
    Likes Received:
    12
    Trophy Points:
    68
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The notifications on a DNSOnly server have certainly only recently just started for us. I've edited our cronjobs too to silence them, however from a coding perspective it would be cleaner and preferable to not run the cron job at all given it has no function on DNSOnly
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,870
    Likes Received:
    1,811
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I've opened internal case CPANEL-16887 regarding the configuration of this cron job on cPanel DNS-Only. I'll monitor the case and update this thread with more information as it becomes available.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    PenguinInternet likes this.
  7. MDHMatt

    MDHMatt Registered

    Joined:
    Dec 31, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Reseller Owner
    I too have started receiving these emails since the last update. Never got them before that for dns servers
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,870
    Likes Received:
    1,811
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, this is fixed in cPanel verison 68.0.16:

    Fixed case CPANEL-16887: Backups: avoid sending cron emails when disabled.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice