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

Tobias Balle-Petersen boxbackup@fluffy.co.uk
Fri, 01 Sep 2006 16:41:42 +0200


Hello....

So, would I not want to keep running boxbackup this way? What are the 
consequences?

Tobias


Ben Summers wrote:
>
> 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
>
>
>
>
>
> _______________________________________________
> boxbackup mailing list
> boxbackup@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup
>