Backupctrl failed to generate ISO

Hello

I’m just trying to build a cron for building the backuo files and backuoing it by using borg.

But.. first step.. CLI Command for making the backupfiles hit the ground :frowning:

[root@ipfire ipfire]# /usr/local/bin/backupctrl iso
run: execve failed: No such file or directory
[root@ipfire ipfire]#

i used this some minutes before… test my script, runns good, install the cron.. want to test with more examples … script and manual execution failed…

i reboot the system.. same…

Hello

Did you use root’s fcrontab or fcronuser’s fcrontab?

you can try /usr/local/bin/backupctrl iso > /tmp/backup.log 2>&1 to get a log.
just tried it with root’s fcrontab, which gave me the log:

/bin/bash: line 1: bin: command not found

trying sudo /usr/local/bin/backupctrl iso with fcronuser’s fcrontab works well.

Due to the fact that root’s fcrontab on certain updates is rewritten by the system, its recommended to use a separate user for scheduling custom scripts.
A perfect guide for this is here https://www.ipfire.org/docs/pkgs/fcron