BackupPC-users

Re: [BackupPC-users] Why does backuppc transfer files already in the pool

2010-08-28 22:07:04
Subject: Re: [BackupPC-users] Why does backuppc transfer files already in the pool
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 28 Aug 2010 22:04:41 -0400
Les Mikesell wrote at about 18:02:12 -0500 on Saturday, August 28, 2010:
 > On 8/28/10 3:22 PM, martin f krafft wrote:
 > > also sprach Les Mikesell<lesmikesell AT gmail DOT com>  [2010.08.28.2151 
 > > +0200]:
 > > Don't you think BackupPC could be optimised *iff* rsyncp could ask
 > > the peer mid-transfer to calculate the whole file checksum (it could
 > > just ask that anyway, but that would increase the client load)?
 > 
 > You are working with a stock rsync on the other end, so I don't think that's 
 > an option

True - I haven't seen any mention in the documentation of any 'flag'
that would send checksums.


 > and rsync's checksums aren't the same as the hash used to build the 
 > pool filenames.

But the rsync block and file md4 checksums (and yes it's md4 for the
rsync <30 protocol required by perl-File-RsyncP) are appended to the
end of each cpool file. Though, if I remember correctly, technically,
they only get calculated and appended on the *second* time the file is
encountered. So, the OP's suggestion would work if you could somehow
get rsync to just send over checksums (though I'm pretty sure if it were
possible Craig would have done it since the suggested optimization is
so obvious)

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
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/