I have configured backintime with /root/.config/backintime/config. I backup on an external usb drive. If I run backintime as root with backintime --backup-job then backintime creates a snapshot as it should. However, in case backintime is called from anacron or cron, then it logs 2011-01-10 04:27:58 Tux1 backintime (unknown) INFO: Lock 2011-01-10 04:27:58 Tux1 backintime (unknown) INFO: on process begins 2011-01-10 04:27:58 Tux1 backintime (unknown) INFO: Profile_id: 1 2011-01-10 04:27:58 Tux1 backintime (unknown) WARNING: Can't find snapshots folder ! 2011-01-10 04:28:00 Tux1 backintime (unknown) INFO: Unlock I have not found any solution to this problem yet. Reproducible: Always
my crontab contains the line: 0 0 * * * nice -n 19 ionice -c2 -n7 /usr/bin/backintime --profile "Hauptprofil" --backup-job >/dev/null 2>&1 if I run those commands manually, they work. If those commands are run from the system, e.g. anacron, they won't work.
What user are the scripts being run as? I'd expect it not to be root. Perhaps all you need is to move the config file to a dir the "cron" user can read and pass it as a parameter in the cron entry.
One strange thing is, that after I switched my configuration from vixie-cron and anacron to fcron now, backintime apparently is successfully called by fcron and runs.
If you can reproduce this again, feel free to reopen the bug.