[Box Backup] bbackupctl always fails when run from crontab. Manual always OK?
Ben Summers
boxbackup@fluffy.co.uk
Fri, 1 Sep 2006 15:36:35 +0100
On 1 Sep 2006, at 07:24, Tobias Balle-Petersen wrote:
> Hello....
>
> I am now running a reload before I sync, and I have had no errors
> since I made the change.
>
> Here are my new cronjobs:
> 20 10 * * * /usr/local/bin/bbackupctl -c /etc/box_minimoni/
> bbackupd.conf reload
> 25 10 * * * /usr/local/bin/bbackupctl -c /etc/box_minimoni/
> bbackupd.conf sync
>
>
> Any ideas as to why this fixes my problem of dropping connections?
> Does the reload command empty the /var/bbackupd?
The reload command will clear any state within bbackupd, forcing
either a reload of the saved state (if you've set it to do this) or a
rescan of all files and a request for all directories from the server.
Ben