[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] Saving extended attributes
From: |
edgar . soldin |
Subject: |
Re: [Duplicity-talk] Saving extended attributes |
Date: |
Sun, 29 Jan 2017 01:03:24 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 29.01.2017 00:13, Arjun Krishnan via Duplicity-talk wrote:
> Hi
>
> I know duplicity doesn't explicitly support extended attributes, but are
> there any recommended hacks for saving them? One way is to tar each file
> before letting duplicity encrypt and act on it. That is, can duplicity be
> configured to run
>
> tar --xattrs cvf filename.tar filename
>
> on each file that it backs up? I suppose I could do this manually before
> running duplicity. I'm saving a bunch of my stuff to a cloud drive, and
> wouldn't like to lose extended attributes.
>
you may use duply w/ pre scripts to do that for you.
duplicity itself uses python tarfile, not the system tar binary, which seems
not to have xattr support out of the box.
..ede/duply.net