I tried to launch kbackup in a cron script, but I get this error:
Initialising, phase 1...
checking for required source files in /usr/lib/kbackup...
restore_src backup_src blockdev_src verify_src autodetect_src
read_data_src
+write_data_src subroutines checkprogs paths
Initialising, phase 2...
Reading /usr/lib/kbackup/paths...
^[[H^[[2JChecking for required programs: sed fgrep grep tar afio
(2.4.2 or
+newer) dd
Loading dialog-emulation script...
Reading /var/lib/kbackup/Data/full-file-backup/Config...
^[[H^[[2Jtset: standard error: Invalid argument
and after a while
afio: "-" [offset 3368972288m+5k+0]: Fatal error:
afio: "-": Broken pipe
The script launches something like
kbackup --ttymode --auto-backup myconfigfilename
The script works well if launched manually from the terminal. It fails
launched by cron. Is there some enviroment variable that has to be
set?
Thanks a lot,
Gianpaolo Racca
giaracca@flashmail.com
Logged In: YES
user_id=184377
Just to let you know that executing in cron fails even with tar option
instead of afio.
Hope it helps.