BackupPC-users

Re: [BackupPC-users] where the files come from, for rsync comparison?

2010-02-03 03:13:20
Subject: Re: [BackupPC-users] where the files come from, for rsync comparison?
From: Matthias Meyer <matthias.meyer AT gmx DOT li>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 03 Feb 2010 09:10:31 +0100
Craig Barratt wrote:

> Matthias writes:
> 
>> I believe that RsyncFileIO.pm decompress a file into <share>/RStmp and
>> than compare it (rsync) with the file from the client.
> 
> Yes, but only if the file is bigger than 16MB (otherwise
> it just does it in memory) and delays doing it until it
> knows there is a difference in the file.
> 
>> But I don't understand why lsof sometimes list a file from cpool and
>> sometimes a file from an already stored backup:
>> 
>> BackupPC_ 21822 backuppc    6r   REG  254,1 16968527 13049275
>> /var/lib/backuppc/cpool/5/1/1/5114e50f30d80556ce4c51cc1cdd7fa7
>> BackupPC_ 21822 backuppc    9u   REG  254,1 40595312  6493166
>> /var/lib/backuppc/pc/st-srv-xp/new/fPROGRAMS/RStmp
>> 
>> BackupPC_ 21822 backuppc    6r   REG  254,1 188638976 60093825
>> /var/lib/backuppc/pc/st-srv-xp/288/fPROGRAMS/fmicrotech/fAusgabeverzeichnisHis.MBD
>> BackupPC_ 21822 backuppc    7r   REG  254,1 190840832  6493151
>> /var/lib/backuppc/pc/st-srv-xp/new/fPROGRAMS/RStmp
> 
> I think what you are seeing is two different steps: the latter is
> the file being decompressed into RStmp (although I would expect the
> FD status to be 7u, not 7r; not sure why).  The second step is
> probably comparing the RStmp file to a candidate file in the pool.
> 
> Craig
> 
Thanks
Matthias
-- 
Don't Panic


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>