duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Fwd: Re: Oddity using --include-globbing-filelist


From: Norman Goldstein
Subject: Re: [Duplicity-talk] Fwd: Re: Oddity using --include-globbing-filelist
Date: Fri, 02 Jan 2015 09:49:59 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Here is an example that illustrates the problem:

The file hierarchy for the demo of the "bug"

ls -R src/
src/:
fileA  fileB


Here is the globbing filelist file (contains only the one line):

- **/fileB


Here are the two commands to verify the "bug"

duplicity --include-globbing-filelist /home/save/systems/Duplicity/TestBug/globlist.txt /home/save/systems/Duplicity/TestBug/src file:///home/save/systems/Duplicity/TestBug/dest

duplicity list-current-files file:///home/save/systems/Duplicity/TestBug/dest


The intended listing of the dest backup is:

Last full backup date: Fri Jan  2 09:37:44 2015
Fri Jan  2 09:35:00 2015 .
Fri Jan  2 09:30:28 2015 fileA

However, if the globbing filelist is edited to put a space after "fileB", the listing is

Last full backup date: Fri Jan  2 09:41:18 2015
Fri Jan  2 09:35:00 2015 .
Fri Jan  2 09:30:28 2015 fileA
Fri Jan  2 09:35:00 2015 fileB


Cheers,
Norm



On 12/30/2014 06:49 AM, Aaron Whitehouse wrote:
Hi Norman,

I sent the below to the list, but it occurred to me that you may not subscribe to it, so forwarding the email on in case.

Kind regards (and apologies if nobody else replied to you for so long),

Aaron


-------- Original Message --------
Subject: Re: [Duplicity-talk] Oddity using --include-globbing-filelist
Date: Thu, 25 Dec 2014 16:02:30 +0000
From: Aaron Whitehouse <address@hidden>
Reply-To: Discussion of the backup program duplicity <address@hidden>
To: address@hidden


Hello Norman,

On 18/09/14 04:53, Norman Goldstein wrote:
> [...]
>
> So, it seems that duplicity is doing two passes
> of the lines in the globbing filelist file.  The
> first pass vets the file names, ignoring trailing
> white space.  However, the 2nd pass, which actually
> uses the file names, includes the trailing white
> space, and does not complain if the resulting
> file does not exist.
>
> I can attach the example, it you would find it useful. 

That's interesting thanks. Sorry for the delay in replying.

I've noticed that white space at the end of a globbing file list caused
things to break, but I hadn't delved into it in any detail. I'm not one
of the main duplicity developers, but I've been meaning to look into
this issue in a bit more detail. It would therefore be helpful to me if
you could please send your example (if you still have it).

Kind regards,

Aaron

_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk




reply via email to

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