duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Read a tar from a pipe?


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Read a tar from a pipe?
Date: Fri, 12 Oct 2007 13:18:13 -0500
User-agent: Thunderbird 1.5.0.13 (X11/20070824)

Guillaume Filion wrote:
> Kenneth Loafman a écrit :
>> Guillaume Filion wrote:
>>> I would like to use a pipe instead:
>>> BackupPC_tarCreate -h andre -n 684 -s \* . | \
>>>   duplicity --no-encryption tar file:///var/backuppc-offsite/andre/
>> [...]
>> I do not understand what you're trying to do.  A pipe would allow you to
>> send a single file to duplicity, which would then merely place it in the
>> output backup directory, along with the other files that duplicity
>> creates.  I don't see the advantage of any of that, especially since
>> you're not even doing encryption.
> 
> I would like duplicity read the tar file from stdin, extract it, rdiff
> each file in it and send the delta to the offsite repository.
> 
>> What exactly does BackupPC_tarCreate do?  What do you want duplicity to
>> do with a single pipe interface?
> 
> BackupPC_tarCreate generates a tar file that contains the whole backup
> for that PC.

Got it.  Why not just use duplicity directly?

On to your question... Python has pretty good tar file support, but I'm
not sure it will work via pipe input.  The capability you suggest would
be possible to do, but without some study, I'm not sure how much time it
would take to do the mods, or how much general use it would have.

...Ken


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]