Skip to main content

Suppress Disabled cPanel Backups Alert?

Comments

4 comments

  • 24x7server
    Hi, The warning will continue to be send unless you configure it. One way round for this would be that you configure this backup and unselect all the users from the backup list, so the backup will start and end in short time and you can continue with your own backup script that you said..
    0
  • epaslv
    Hi, The warning will continue to be send unless you configure it. One way round for this would be that you configure this backup and unselect all the users from the backup list, so the backup will start and end in short time and you can continue with your own backup script that you said..

    I thought about this but its not a good option because as soon as a new account is created, backups for that account will be enabled by default. You can't remove the backup from cron either, since cPanel just puts it back.
    0
  • cPanelMichael
    The only issue now is keep getting the warnings below warn [backup] Backup Not Enabled (This can be adjusted in WHM => Backup => Backup Configuration) Does anyone know how to suppress this warning being sent?

    Hello, This comes from the backup cron job. You can delete the backup cron job (if it's not needed) to prevent it from running via the following command:
    crontab -e
    This will open the root crontab with your server's default text editor, which you can use to remove the line referencing the following command:
    /usr/local/cpanel/bin/backup
    Or, if you want to keep the cron job enabled, you can modify the line so that it looks like this and it will simply silence the alert:
    0 2 * * * /usr/local/cpanel/bin/backup >/dev/null 2>&1
    Thank you.
    0
  • cPanelMichael
    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.
    0

Please sign in to leave a comment.