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<lesmikes...@gmail.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@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/