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

Chris Wilson boxbackup at fluffy.co.uk
Sun Apr 30 21:12:23 BST 2006


Hi Magnus,

> $ cp --sparse=auto gps.pdf gps-back2.pdf
> $ md5sum gps*
> 3436891257ac63f7572b0937add44a79  gps-back1.pdf
> b88e6ae9f6fc026228e30e45d24991d7  gps-back2.pdf
> 3436891257ac63f7572b0937add44a79  gps.pdf

This should not happen, and may indicate a problem with your kernel. 
Sparse files should not be visibly different from user space. Could you 
try this test please?

chris at rocio:/tmp$ dd if=/dev/zero of=bigfile bs=1M count=10
10+0 records in
10+0 records out
10485760 bytes transferred in 0.137372 seconds (76331175 bytes/sec)

chris at rocio:/tmp$ cp --sparse=auto bigfile bigfile.sparse

chris at rocio:/tmp$ md5sum bigfile*
f1c9645dbc14efddc7d8a322685f26eb  bigfile
f1c9645dbc14efddc7d8a322685f26eb  bigfile.sparse

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

No, definitely not.

> 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'.

This is also weird. The two paths should be the same (below the location 
root), but they're not. What version of Box Backup is this? And did you 
build it yourself?

> (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?

It was modified after the last sync time. Modified files are not uploaded 
for a certain amount of time, set by MinimumFileAge in bbackupd.conf.

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

You probably didn't leave it long enough for it to be old enough to back 
up. Please could you try again?

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |



More information about the Boxbackup mailing list