[Box Backup] Restore & Compare Issue ** UPDATE **

Matt Brown boxbackup@fluffy.co.uk
Thu, 26 Apr 2007 23:05:08 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Chris,

>
>> Ok, that would be cool - I am happy to test any patches etc if  
>> that helps you ?
>
> Yes, it's extremely important and useful to have your help in  
> finding and fixing this bug, since I don't think I'll be able to  
> reproduce it. I don't think anybody has had such a problem before  
> so there must be something very unusual going on.
>

Sure, be happy to.

>> Well the file that is produced on the MS box is not gzipped until  
>> it reaches the storage array - it is once here we gzip and BB it  
>> to the offsite BBServer.
>
> Have you tried not gzipping it on the storage array? I think your  
> backup would be faster and more efficient this way.
>

I did the initial upload unzipped, Please dont take this the wrong  
way, but I was unsure how 'smart' the compare and diff algorithm  
would be as the file is being created a fresh each day on the windows  
box before it arrives at IO.

>> root@io:/root/bin# /usr/local/bin/bbackupquery "compare -aq" quit
> ...
>> WARNING: Quick compare used -- file attributes are not checked.
>> Local file '/data/mars/CoreSystem_backup_200704142000.tar.gz' does  
>> not exist, but store file '/venus/ 
>> CoreSystem_backup_200704142000.tar.gz' does.
>> Local file '/data/mars/CoreSystem_backup_200704152000.tar.gz' does  
>> not exist, but store file '/venus/ 
>> CoreSystem_backup_200704152000.tar.gz' does.
> ...
>> However inside the /data/mars directory I have:
>>
>> root@io:/data/mars# ls -alh
>> total 7.5G
>> drwxr-xr-x  2 root root  160 Apr 16 20:00 .
>> drwxr-xr-x 11 root root  264 Mar 28 11:39 ..
>> - - -rw-r--r--  1 root root 3.8G Apr 15 20:29  
>> CoreSystem_backup_200704142000.tar.gz
>> - - -rw-r--r--  1 root root 3.8G Apr 16 20:29  
>> CoreSystem_backup_200704152000.tar.gz
>
> This is definitely very odd. Could you try something for me? Run  
> the following command on io:
>
> 	strace -s 128 /usr/local/bin/bbackupquery "compare -aq" quit \
> 	> /tmp/compare.log 2>&1
>

Sure

> and gzip up /tmp/compare.log and send it to me?
>
Ok will do.

> Is there anything strange about the /data filesystem?
>
Only that it is a mounted file system which resides on a Dell Storage  
Array 2.5TB

> Do other kinds of compare work properly (e.g. not quick compare?)

Afraid not, I can however see the files and know they are there as  
per the snip above.

Regards

Matt Brown
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGMSIZ6vWewLkSmagRAgDAAKCmuTLU9mE1++xxW2vNuFOY2fF0ZwCfaTvt
AaLaG5VOIrL6IbI97ROQSig=
=sMGZ
-----END PGP SIGNATURE-----