[Box Backup] bbackupctl always fails when run from crontab. Manual always OK?

Ben Summers boxbackup@fluffy.co.uk
Thu, 24 Aug 2006 15:18:44 +0100

On 24 Aug 2006, at 15:02, Per Thomsen wrote:

> It seems from the logs that the error occurs while scanning the client
> directories. I don't know if the directory-scanning code has been
> changed to use the keep-alives. Does anyone know if the keep-alives  
> are
> only implemented in file-diffing, or if they are also used in the
> overall directory scanning? Gary?
> Are you using the (I forget what the feature is called) Berkeley DB
> local cache of file state? I don't know if this could have anything to
> do with what's going on...

Stop daemon, delete the contents of /var/bbackupd, start daemon. That  
will wipe any directory tracking. This is different to saving the state.

> As for why the manual works, and the cron fails, I have no idea...

Yes, very strange.