bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] linux-backup-include-empty-swapfile (embedded)


From: Pavel Raiskup
Subject: Re: [Bug-tar] linux-backup-include-empty-swapfile (embedded)
Date: Tue, 06 Jun 2017 15:53:52 +0200

On Tuesday, June 6, 2017 2:32:49 PM CEST Michael R. Lawrence CISSP wrote:
> hmm  may have to give that a go, as raspberry-pi3 isnt all that beefy ,
> 
>  /var/cache/swap/swap1 --exclude ... , and touch /tmp/fake-swap1 ,
> --transform to /var/cache/swap/swap1

Reading this ^^, and ..

> On Tue, Jun 6, 2017 at 5:07 AM, Pavel Raiskup <address@hidden> wrote:
> > That's definitely not an elegant way.  Also: I would be careful to use
> > --transform with --exclude, to my understanding --exclude should be applied
> > against _transformed_ name (but it doesn't happen ATM).

.. reading again my previous crabbed response, here is the fixed version:

    Please don't rely on --transform and --exclude working together.  Currently
    the --exclude excludes files based on names *before* transformation, but it
    seems to be a bit unexpected behavior (IMO a bug).

The point is that probably nobody so far payed attention to "how --exclude &&
--transoform should work together", so it is undocumented (== undefined).

Pavel




reply via email to

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