Admin backups not running

klasje

Verified User
Joined
Jan 5, 2008
Messages
69
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?
 
Back
Top