SOLVED DNS only server sending email about backups

Feb 28, 2014
15
1
3
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?
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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.
 
Last edited:

PenguinInternet

Well-Known Member
PartnerNOC
Jun 20, 2007
179
13
68
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.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
This issue was never present previously with DNSOnly - this is a new change.
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.
 

PenguinInternet

Well-Known Member
PartnerNOC
Jun 20, 2007
179
13
68
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
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
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
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.
 
  • Like
Reactions: PenguinInternet