roarkh
Verified User
I am having a problem getting scheduled reseller backups to run reliably using the DirectAdmin control panel.
To set up my backup jobs I logged into my DirectAdmin server as a reseller and chose "Manage User Backups." In there, under "Current Backup Crons" I have seven jobs listed, each backs up "All Users" into a separate folder on an ftp server at 9:30 in the evening. Each job is set to run once per week putting the resulting backup into a different folder on the ftp server.
For instance the first job in the list is for Sunday backups. When is set to Minute:30, Hour:21, Day of Month:*, Month:*, Day of Week:0. Who is set to "All Users." Where is set to ftp://<myftpserver>/da_backups/0sunday.
I looked at the cron log for this past Sunday and see this line...
I know for sure that it is not a bad username or password on the ftp server or a bad path on the ftp server because running the exact same jobs manually to the ftp server works every time and I have deleted and recreated these jobs many times to make sure there is no typo.
Even weirder is that sometimes, seemingly at random, the cron jobs do finish properly, maybe 1 or 2 work on the average week but not on any specific evening, it changes from week to week. I have tried times other than 9:30 to see if that might make some difference but nothing I try seems to help.
Does anyone have an idea what may be happening here?
I am currently running DirectAdmin version 1.26.6 but the same thing was happening with past versions as well. The server OS is Centos 4.1.
Thanks in advance
To set up my backup jobs I logged into my DirectAdmin server as a reseller and chose "Manage User Backups." In there, under "Current Backup Crons" I have seven jobs listed, each backs up "All Users" into a separate folder on an ftp server at 9:30 in the evening. Each job is set to run once per week putting the resulting backup into a different folder on the ftp server.
For instance the first job in the list is for Sunday backups. When is set to Minute:30, Hour:21, Day of Month:*, Month:*, Day of Week:0. Who is set to "All Users." Where is set to ftp://<myftpserver>/da_backups/0sunday.
I looked at the cron log for this past Sunday and see this line...
so it looks like cron is doing its job but I usually end up with no backup in my backup folder and no message telling me either that the backup had failed or been finished successfully.Apr 30 21:30:01 ns1 crond[32723]: (diradmin) CMD (echo -e "action=backup&id=1&owner=admin" >> /usr/local/directadmin/data/task.queue.da; /bin/chmod 600 /usr/local/directadmin/data/task.queue.da)
I know for sure that it is not a bad username or password on the ftp server or a bad path on the ftp server because running the exact same jobs manually to the ftp server works every time and I have deleted and recreated these jobs many times to make sure there is no typo.
Even weirder is that sometimes, seemingly at random, the cron jobs do finish properly, maybe 1 or 2 work on the average week but not on any specific evening, it changes from week to week. I have tried times other than 9:30 to see if that might make some difference but nothing I try seems to help.
Does anyone have an idea what may be happening here?
I am currently running DirectAdmin version 1.26.6 but the same thing was happening with past versions as well. The server OS is Centos 4.1.
Thanks in advance