Hi,
I have two drives in my helios4:
- WD Red 4TB (Data drive)
- Seagate Ironwolf 4TB (Backup drive)
As per the OMV getting started guide, I have got a scheduled job with the following command to backup from my data drive (WD Red) to my backup drive (SG Ironwolf):
rsync -av --delete /srv/dev-disk-by-label-WDRed4TB/ /srv/dev-disk-by-label-SGIronWolf4TB/
Normally I have this disabled and then enable it just before I want it to run on the cron trigger of 0 14 * * 5. However, occasionally I run it manually, as I attempted to do last night. Both options of letting the cron trigger run the task and manually running the task have worked without issue previously.
Last night attempting to run the scheduled job manually gave me the following error:
ZitatAlles anzeigenError #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export SHELL=/bin/sh; sudo --shell --non-interactive --user=root -- rsync -av --delete /srv/dev-disk-by-label-WDRed4TB/ /srv/dev-disk-by-label-SGIronWolf4TB/ 2>&1' with exit code '23': sending incremental file list
aquota.group
aquota.user
rsync: rename "/srv/dev-disk-by-label-SGIronWolf4TB/.aquota.group.fF9JKr" -> "aquota.group": Operation not permitted (1)
rsync: rename "/srv/dev-disk-by-label-SGIronWolf4TB/.aquota.user.MC2UtK" -> "aquota.user": Operation not permitted (1)
sent 3,633,027 bytes received 4,679 bytes 1,455,082.40 bytes/sec
total size is 2,519,199,181,805 speedup is 692,524.13
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1207) [sender=3.1.3] in /usr/share/openmediavault/engined/rpc/cron.inc:177
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): Engined\Rpc\Cron->Engined\Rpc\{closure}('/tmp/bgstatus4R...', '/tmp/bgoutputQJ...')
#1 /usr/share/openmediavault/engined/rpc/cron.inc(181): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: Engined\Rpc\Cron->execute(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('execute', Array, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Cron', 'execute', Array, Array, 1)
#6 {main}
I suppose I should also mention that the scheduled job is configured to run as root, so there shouldn't be any permission issues.
Does anyone know what's gone wrong and how I can fix it?
Thanks