[Box Backup-dev] Re: [Box Backup] ChrisMerge_1828

Matt Brown boxbackup-dev at fluffy.co.uk
Wed Sep 19 22:40:22 BST 2007


Hi Chris,

>> I however do have LogAllFileAccess option set as:
>>
>> LogAllFileAccess = yes in the bbackupd.conf
>>
>> however it does not seem to give full paths ? Is this working on  
>> both Windows and Linux versions ?
>
> It should be, the code is the same. Could you paste some examples  
> of the messages you get which don't have full paths where you want  
> them?

Sep 19 20:43:18 sali Box Backup (bbackupd)[3301]: Send StoreFile 
(0x1f0dd,0x43a7eae376980,0x19f944cda101edb4,0x0,"Egyptlabels.doc")
Sep 19 20:43:18 sali Box Backup (bbackupd)[3301]: Sending stream,  
size uncertain
Sep 19 20:43:23 sali Box Backup (bbackupd)[3301]: Receive Success 
(0x2b722)
Sep 19 20:43:24 sali Box Backup (bbackupd)[3301]: Send ListDirectory 
(0x1f27a,0xffffffff,0xc,true)
Sep 19 20:43:24 sali Box Backup (bbackupd)[3301]: Receive Success 
(0x1f27a)
Sep 19 20:43:24 sali Box Backup (bbackupd)[3301]: Receiving stream,  
size 1801
Sep 19 20:43:25 sali Box Backup (bbackupd)[3301]: Send ListDirectory 
(0x1f748,0xffffffff,0xc,true)
Sep 19 20:43:25 sali Box Backup (bbackupd)[3301]: Receive Success 
(0x1f748)
Sep 19 20:43:25 sali Box Backup (bbackupd)[3301]: Receiving stream,  
size 729
Sep 19 20:43:25 sali Box Backup (bbackupd)[3301]: Send StoreFile 
(0x1f748,0x43a7e5d183340,0x385e5889b0b0f69,0x0,"SageBack AQ  
19-09-2007.001")
Sep 19 20:43:25 sali Box Backup (bbackupd)[3301]: Sending stream,  
size uncertain
Sep 19 20:44:45 sali Box Backup (bbackupd)[3301]: Receive Success 
(0x2b723)
Sep 19 20:44:45 sali Box Backup (bbackupd)[3301]: Send GetIsAlive()
Sep 19 20:44:45 sali Box Backup (bbackupd)[3301]: Receive IsAlive()
Sep 19 20:44:45 sali Box Backup (bbackupd)[3301]: Send StoreFile 
(0x1f748,0x43a7e630e1440,0xbc01e7b0ca7048d9,0x0,"SageBack TF  
19-09-2007.001")
Sep 19 20:44:45 sali Box Backup (bbackupd)[3301]: Sending stream,  
size uncertain
Sep 19 20:44:45 sali Box Backup (bbackupd)[3301]: Receive Success 
(0x2b724)
Sep 19 20:44:47 sali Box Backup (bbackupd)[3301]: Send ListDirectory 
(0x20988,0xffffffff,0xc,true)
Sep 19 20:44:47 sali Box Backup (bbackupd)[3301]: Receive Success 
(0x20988)
Sep 19 20:44:47 sali Box Backup (bbackupd)[3301]: Receiving stream,  
size 9625
Sep 19 20:44:48 sali Box Backup (bbackupd)[3301]: Send  
GetBlockIndexByName(0x20988,"courierimapuiddb")
Sep 19 20:44:48 sali Box Backup (bbackupd)[3301]: Receive Success 
(0x2b53d)
Sep 19 20:44:48 sali Box Backup (bbackupd)[3301]: Receiving stream,  
size 252
Sep 19 20:44:48 sali Box Backup (bbackupd)[3301]: Send StoreFile 
(0x20988,0x43a823a2c8bc0,0xa2565ee45d508d0d,0x2b53d,"courierimapuiddb")

As you can see the filenames are there, the report looks for lines  
with Send StoreFile comment so this only returns the actual filename  
(as I strip the hex bits which I guess is the paths ?).....

This is a typical report (from my boxreport.pl script)

------------------------------------------------------------------------
Report Title	: Box Backup - Backup Statistics
Report Date	: 18-09-2007
Backup Start	: 18/09/07 21:00:01
Backup Finish : 18/09/07 21:17:19
------------------------------------------------------------------------

Files sent during this backup:

<snip>

BTvsOpal.xls
ADT letter.doc
License Installation TTDM Supervisor.doc
web.log
web.daily
web.cache
Large Panel label L6012.doc
Large Panel label L6012.doc
Mileage Aug 07- JW.xls
0807 Expenses - JW.xls
VAT Refunds.xls
SageBack AQ 18-09-2007.001
SageBack TF 18-09-2007.001
courierimapuiddb

<snip>

------------------------------------------------------------------------ 
------------------------------------------------------------------------ 
-----------
File statistics: total file size uploaded 196184472, bytes already on  
server 83349232, encoded size 68334349
------------------------------------------------------------------------ 
------------------------------------------------------------------------ 
------------

I am also hoping to do a bbackupdquery usage command line which I can  
then pipe into the report  the account usage stats as this is another  
request from a client :-)

The client(s) are happyish with this report, but they are used to  
seeing the full paths as we used to do rsync based backups for them.

If you can advise how to get the full paths I would be eternally  
grateful... did anything come of that PayPal account or donation  
scheme as I know I (and probably many others on this list) would put  
some cash in the pot to help with development, hardware, beer etc :-)

Kind Regards

Matt Brown




More information about the Boxbackup-dev mailing list