[Box Backup] How to fix compare errors??? more info

Magnus Homann boxbackup@fluffy.co.uk
Sun, 30 Apr 2006 16:38:18 +0200


I selected one of the files that differs, called 'gps.pdf'.
Tried copying it with -p and without to see what box did.

And I discovered something about sparse files. I hope this is readable below

$ cp -p gps.pdf gps-back1.pdf
$ cp --sparse=never gps.pdf gps-back2.pdf
$ md5sum gps*
3436891257ac63f7572b0937add44a79  gps-back1.pdf
3436891257ac63f7572b0937add44a79  gps-back2.pdf
3436891257ac63f7572b0937add44a79  gps.pdf
$ cp --sparse=auto gps.pdf gps-back2.pdf
$ md5sum gps*
3436891257ac63f7572b0937add44a79  gps-back1.pdf
b88e6ae9f6fc026228e30e45d24991d7  gps-back2.pdf
3436891257ac63f7572b0937add44a79  gps.pdf
$ ll gps*
-rw-r-----  1 homann homann 22843280 2005-06-13 07:03 gps-back1.pdf
-rw-r-----  1 homann homann 22843280 2006-04-30 14:15 gps-back2.pdf
-rw-r-----  1 homann    500 22843280 2005-06-13 07:03 gps.pdf
$

So, the contents differ wheteher I chose sparse or not. Maybe that's 
expected?

Anyway, did a bbackuctl --force-sync, and after that restarted the 
bbackupd and let it run, After that, I did a 'compare -aq'.

These were the strange results:

Local file 
'/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf/gps.pdf/gps.pdf' 
has different contents to store file 
'/persistent-homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf/gps.pdf'.
Local file 
'/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf/gps-back2.pdf' 
exists, but store file 
'/persistent-homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf/gps-back2.pdf' 
does not exist.
(the file above was modified after the last sync time -- might be reason 
for difference)

gps-back1.pdf seemed tog et backed u properly. But what happened to 
gps-back2.pdf? Checking with bbackupquery indiacte that gps-back1.pdf 
was in the store, but not gps-back2.pdf. How come?

Finally, I touched the gps.pdf, and restarted all processes. Same result:

Local file 
'/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf/gps.pdf/gps.pdf' 
has different contents to store file 
'/persistent-homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf/gps.pdf'.
Local file 
'/persistent/homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf/gps-back2.pdf' 
exists, but store file 
'/persistent-homann/gps-3.1.0w-academic-x86-linux/doc/gps/pdf/gps-back2.pdf' 
does not exist.
(the file above was modified after the last sync time -- might be reason 
for difference)

I have no clue what's happening.