duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] include/exclude problem


From: Jacob
Subject: Re: [Duplicity-talk] include/exclude problem
Date: Thu, 25 Dec 2008 22:19:52 -0500

On Tue, 23 Dec 2008 00:17:59 -0700
Daniel Nelson <address@hidden> wrote:

> I am having a problem using the include/exclude options.  I have a
> directory structure which is similar to this, and I want to backup only
> files 'a' and 'b':
> 
> test
> |-- bar
> |   |-- a
> |   |-- b
> |   `-- c
> `-- foo
>       |-- a
>       |-- b
>       `-- c
> 
> The command I am trying is:
> duplicity -v5 --no-encryption --include '**/a' --include '**/b'
> --exclude '**' test file:///testbk
> 
> But then only 'a' is backed up:
> duplicity list-current-files --no-encryption file:///testbk
> Sun Nov 30 21:24:49 2008 .
> Sun Nov 30 21:25:03 2008 bar
> Sun Nov 30 21:25:01 2008 bar/a
> Sun Nov 30 21:24:56 2008 foo
> Sun Nov 30 21:24:53 2008 foo/a
> 
> Does anyone know what I am doing wrong?

A bit of a guess, but try changing your includes to:
--include '**/a/**' --include '**/b/**'


-- 
    Jacob

    "For then there will be great distress, unequaled
    from the beginning of the world until now—and never
    to be equaled again. If those days had not been cut
    short, no one would survive, but for the sake of the
    elect those days will be shortened."
    
    Are you ready?





reply via email to

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