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: Aaron Whitehouse
Subject: Re: [Duplicity-talk] Fwd: Re: Oddity using --include-globbing-filelist
Date: Sat, 03 Jan 2015 18:34:21 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Thanks Norman,

This bug is in the tracker as:
https://bugs.launchpad.net/duplicity/+bug/584437

I have been able to replicate your issue at my end and resolve it, so should be able to throw up some code shortly.

Please keep an eye on the tracker for further updates.

Many thanks,

Aaron


On 02/01/15 17:49, Norman Goldstein wrote:
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:

-------- 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





_______________________________________________
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]