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!

relationship between WHM Backup config and crontab -e

Discussion in 'Data Protection' started by jimlongo, Jan 21, 2013.

  1. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    221
    Likes Received:
    13
    Trophy Points:
    68
    Hi, I've setup WHM>Backup>Configure Backups enabled and set to run Weekly on Saturday.

    Using the WHM>Plug-in>Configure cPanel Cron I have cpbackup set to
    30 5 * * * (same as crontab -e)

    Is there a contradiction here, is it going to run every Saturday at 5:30 as I want, or every day at 5:30 as crontab seems to indicate?

    Thanks,
    jim

    Additionally does this respect the local cpbackup-exclude.conf directives or do I need to put that in /etc/cpbackup-exclude.conf ?
     
    #1 jimlongo, Jan 21, 2013
    Last edited: Jan 21, 2013
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    The crontab job runs every day at 5:30, and starts cPanel backup. Then cPanel backup reads it's config file, and if it's not Saturday it exits without doing anything.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,443
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes, the "cpbackup" script that you configured via Web Host Manager respects the account's cpbackup-exclude.conf file:

    Code:
    /home/user/cpbackup-exclude.conf
    This file is documented at:

    Excluding Files From Backup

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    221
    Likes Received:
    13
    Trophy Points:
    68
    Thanks everyone.
     
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