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

Tobias Balle-Petersen boxbackup@fluffy.co.uk
Wed, 23 Aug 2006 16:44:02 +0200


Hello....

After having restarted bbackupd, bbackupctl has run with succes as a 
cronjob as seen below (from the server log).

I expect the cronjob to fail on following runs. Will report back.


Aug 23 10:00:00 localhost bbstored[3502]: Incoming connection from 
192.168.0.51 port 61680 (handling in child 31602)
Aug 23 10:00:00 localhost bbstored[31602]: Certificate CN: BACKUP-A
Aug 23 10:00:00 localhost bbstored[31602]: Login: Client ID 0000000A, 
Read/Write
Aug 23 10:19:25 localhost bbstored/hk[3503]: Starting housekeeping
Aug 23 10:19:25 localhost bbstored/hk[3503]: Finished housekeeping
Aug 23 11:19:25 localhost bbstored/hk[3503]: Starting housekeeping
Aug 23 11:19:25 localhost bbstored/hk[3503]: Finished housekeeping
Aug 23 12:19:25 localhost bbstored/hk[3503]: Starting housekeeping
Aug 23 12:19:26 localhost bbstored/hk[3503]: Finished housekeeping
Aug 23 13:19:25 localhost bbstored/hk[3503]: Starting housekeeping
Aug 23 13:19:25 localhost bbstored/hk[3503]: Finished housekeeping
Aug 23 14:19:25 localhost bbstored/hk[3503]: Starting housekeeping
Aug 23 14:19:25 localhost bbstored/hk[3503]: Finished housekeeping
Aug 23 15:19:25 localhost bbstored/hk[3503]: Starting housekeeping
Aug 23 15:19:25 localhost bbstored/hk[3503]: Finished housekeeping
Aug 23 16:19:25 localhost bbstored/hk[3503]: Starting housekeeping
Aug 23 16:19:25 localhost bbstored/hk[3503]: Finished housekeeping
Aug 23 16:28:01 localhost bbstored[31602]: Session finished
Aug 23 16:28:01 localhost bbstored[31602]: Connection statistics for 
BACKUP-A: IN=3473254520 OUT=808297300 TOTAL=4281551820


Thanks,
Tobias



Tobias Balle-Petersen wrote:
>
> I am now running the debug version with extended logging.
>
> Actually, I think the 1st time the cronjob (bbackupctl) runs after a 
> restart of bbackupd, the run completes.
> Following cronjobs do not. Starting bbackupctl manually does complete.
>
> I will let my cronjob run for two days and repport back  with resulat 
> and logs.
>
> Thanks,
> Tobias
>
>
>
> Per Thomsen wrote:
>> On 8/22/06 1:18 PM, tbp wrote:
>>  
>>> Hello....
>>>
>>> I don't remember ever having seen the filenames of files being backed
>>> up even with extended logging on.
>>> Would all files be listed as the are evaluated, or just the new files
>>> that are to be added to the store?
>>>     
>> Only files that are sent to the store. Here's an example of what I'm
>> seeing with 'ExtendedLogging = yes':
>>
>> Aug 20 04:35:07 mostro bbackupd[2125]: Send
>> StoreFile(0x2f16,0x41b70ed5684c0,0x57a46e0d1741a059,0xce6c,"index.html")
>> Aug 20 04:35:07 mostro bbackupd[2125]: Sending stream, size uncertain
>> Aug 20 04:35:07 mostro bbackupd[2125]: Receive Success(0xced0)
>> Aug 20 04:35:07 mostro bbackupd[2125]: Send
>> StoreFile(0x2f16,0x41b70ed5684c0,0x974c3454965ac769,0x0,"usage.png")
>> Aug 20 04:35:07 mostro bbackupd[2125]: Sending stream, size uncertain
>> Aug 20 04:35:07 mostro bbackupd[2125]: Receive Success(0xced1) 
>> You are not seeing anything like that on the client machine? These logs
>> are from a 0.09 installation, but I think this should log the same on
>> 0.10.                  
>>>> Finally, I just want to make sure you're using the 'KeepAliveTime"
>>>> parameter in the bbackupd.conf file. You're receiving a timeout error,
>>>> so I just want to eliminate the lack of that parameter as the reason.
>>>>         
>>> KeepAliveTime is 10
>>>     
>> OK. I guess there is no harm in using the 10 second number. I believe
>> the SSL timeout is 180 seconds, so I set my KeepAliveTime to 90. Don't
>> know that it would have any impact.
>>
>> Thanks,
>> Per
>>
>>   
>
> _______________________________________________
> boxbackup mailing list
> boxbackup@fluffy.co.uk
> http://lists.warhead.org.uk/mailman/listinfo/boxbackup
>