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.

Unable to run /scripts/cpbackup

Discussion in 'Data Protection' started by persianwhois, Oct 23, 2009.

  1. persianwhois

    persianwhois Well-Known Member

    Joined:
    Apr 18, 2007
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mahallat
    cPanel Access Level:
    Root Administrator
    My server unable to run backup script.

    I have following error:

    Backup is not done today as per whm backup settings at /scripts/cpbackup line 401

    Where is issue?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    The command. Try this instead: /scripts/cpbackup --force
     
  3. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    This happens due the backup configuration settings. Check the file /etc/cpbackup.conf and see on which days the backup is scheduled. You can see it configured in the line BACKUPDAYS. You can add the number corresponding to the day and run the script again. Or run it with --force.
     
  4. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    You are getting this error since you haven't allowed script to run on that particular day .

    You can see that under WHM >> Backup >> Configure Backup >>

    See the settings "Days to Run Backup" . Click on the check boxes associated with the days of the week you want to run backups. You can choose all seven days or select only the days specific to your needs.

    You can also see the configuration file /etc/cpbackup.conf

    BACKUPDAYS 0,1,2,3,4,5,6

    0 -sunday to 6-saturday .

    If you do not want the backup to run on Wednesday you can give as

    BACKUPDAYS 0,1,2,4,5,6
     
  5. persianwhois

    persianwhois Well-Known Member

    Joined:
    Apr 18, 2007
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mahallat
    cPanel Access Level:
    Root Administrator
    All configuration is ok.
    But i have following error when i run backup script:

    "Backup is not done today as per whm backup settings at /scripts/cpbackup line 401."
     
  6. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    To properly diagnose we will need more detail from the cpbackup configuration.

    What is the output from the following command (via root SSH access)?
    Code:
    # cat /etc/cpbackup.conf | grep -v "FTPDIR\|FTPHOST\|FTPUSER"
    For privacy, the command will exclude (hide, or not show) the FTP directory, FTP host, and FTP user.

    If you prefer to not disclose the configuration on the forums I recommend submitting a ticket (e.g., via the link in my forums signature).
     
    #6 cPanelDon, Oct 26, 2009
    Last edited: Oct 26, 2009
Loading...

Share This Page