BackupPC-users

Re: [BackupPC-users] BackupPC and File::RsyncP and Akamai

2009-07-07 17:59:02
Subject: Re: [BackupPC-users] BackupPC and File::RsyncP and Akamai
From: Holger Parplies <wbppc AT parplies DOT de>
To: Nate Carlson <natecars AT natecarlson DOT com>, Carl Wilhelm Soderstrom <chrome AT real-time DOT com>
Date: Tue, 7 Jul 2009 23:54:00 +0200
Hi,

Carl Wilhelm Soderstrom wrote on 2009-07-07 15:43:30 -0500 [Re: 
[BackupPC-users] BackupPC and File::RsyncP and Akamai]:
> On 07/07 03:20 , Nate Carlson wrote:
> > First of all - is there a version of File::RsyncP that supports protocol 
> > version 29?
> 
> doesn't look like there's a public release of it, if it does exist.

I don't think there is, and I doubt there ever will be - if Craig updates
File::RsyncP, then I'd guess he'll update it to protocol version 30. While
rsync is supposed to be downward compatible to lower protocol versions, I
don't know if File::RsyncP is.

> > If not - is it possible to configure BackupPC to use rsync itself instead
> > of using the Perl modules?

No, it is not possible. The whole purpose of File::RsyncP is to make rsync
compatible with the BackupPC pool storage format - stock rsync doesn't
understand pooling, the compressed file format, or file name mangling. tar
and smbclient output a tar stream to stdout, where BackupPC can pick it up
and create files in the pool. rsync obviously cannot do that. It needs access
to the local files in order to compare file lists and speed up transfers.
Since these files aren't stored verbatim on disk, you need glue code for
accessing them pretty much inside the rsync protocol implementation.

As I understand it, File::RsyncP allows any storage backend (implemented in
Perl) to be integrated without modifying the rsync code. That suggests that
updating it to a new rsync version would probably mean re-implementing it
(but I'm just guessing).


Does creating a local copy with rsync 3.0 work? What if you force the protocol
to 28 ("--protocol=28")? Are you sure the output is generated by rsync and
not (partly) by some rc files? Can you log in with ssh and run anything except
rsync? Perhaps 'man rsync'? :) Maybe you can switch off the output somehow ...
you could try things like "--out-format=''" or "--quiet" if you can't find
anything more appropriate (and I'd test with command line rsync first, not
with BackupPC).

Regards,
Holger

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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/