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.

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:
    145
    Likes Received:
    2
    Trophy Points:
    18
    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:
    10
    Trophy Points:
    18
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  4. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    145
    Likes Received:
    2
    Trophy Points:
    18
    Thanks everyone.
     
Loading...

Share This Page