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!

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:
    166
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    The command. Try this instead: /scripts/cpbackup --force
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. persianwhois

    persianwhois Well-Known Member

    Joined:
    Apr 18, 2007
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    166
    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."
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,554
    Likes Received:
    9
    Trophy Points:
    168
    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).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #6 cPanelDon, Oct 26, 2009
    Last edited: Oct 26, 2009
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