Unable to run /scripts/cpbackup

persianwhois

Well-Known Member
Apr 18, 2007
117
1
166
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?
 

david510

Well-Known Member
Aug 22, 2004
473
0
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.
 

logicsupport

Well-Known Member
Jun 5, 2007
138
0
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
 

persianwhois

Well-Known Member
Apr 18, 2007
117
1
166
Mahallat
cPanel Access Level
Root Administrator
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
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."
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
13
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
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."
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).
 
Last edited: