Admin backups not running

klasje

Verified User
Joined
Jan 5, 2008
Messages
70
My admin backup/transfer cron is not running, backups are not automatically created.
If I run it manually (run now), it works.

cat /etc/cron.d/directadmin_cron
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue

I restarted cron, but still no backup is running.

No line appears in directadmin system.log and in error.log

ls -la /home
drwxrwxrwt 2 root root 4096 Mar 5 00:10 tmp


AI suggests to add following line:
* * * * * root /usr/local/directadmin/dataskq

But my other da servers don't have this line neither.
What could be the cause? This stopped working since Directadmin fully deleted itself after an auto update went wrong.
 
Check the directadmin errorlogs. dataskq is running under directadmin service.
 
In errortask log I see following:
2026:03:05-10:07:16: int Backup::backup(username=vanessa, dest_path=/mnt/synology_backups/server5/daily_sites/2026-03-05, owner=admin): unable to setOwner('/mnt/synology_backups/server5/daily_sites/2026-03-05/user.admin.vanessa.tar.zst', 'admin', 'vanessa')
 
unable to setOwner('/mnt/synology_backups/server5/daily_sites/2026-03-05/user.admin.vanessa.tar.zst', 'admin', 'vanessa')
There you go.
DA is not able to set owner of the directory, so it's a permission problem. You might want to check owner and permissions on... what is this you're backing up to, your NAS?
 
If I can run the backup manually from within directadmin, then why can't I run it via the directadmin cron? Under which user is the cron running?
I currently mounted the drive as admin user.

I'm using admin/backup transfer, so I'm backing up entire websites.

Update: I updated to the latest directadmin version and it started working.
So probably just an issue with a subversion.
 
Back
Top