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

Chris Wilson boxbackup@fluffy.co.uk
Thu, 26 Apr 2007 20:38:19 +0100 (BST)


Hi Matt,

On Thu, 26 Apr 2007, Matt Brown wrote:

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

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

> 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

and gzip up /tmp/compare.log and send it to me?

Is there anything strange about the /data filesystem?

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

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 |