duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] [bug 884371] Globbing patterns fail to include some fil


From: Elifarley Callado Coelho Cruz
Subject: [Duplicity-talk] [bug 884371] Globbing patterns fail to include some files
Date: Thu, 24 Nov 2011 17:16:07 -0200

I wonder if anyone has experienced the same kind of problem I'm facing.

In the example below, I would expect to have all 3 files from folder-c included in the backup, but they are not:

--------------------------------------------------

BASE=/tmp
mkdir -p $BASE/test-dup/folder-{a,b,c}

touch $BASE/test-dup/file-{1.txt,2.jpg,3.tmp}
touch $BASE/test-dup/folder-a/file-{4.txt,5.jpg,6.tmp}
touch $BASE/test-dup/folder-b/file-{7.txt,8.jpg,9.tmp}
touch $BASE/test-dup/folder-c/file-{10.txt,11.jpg,12.tmp}

tree /tmp/test-dup/
# result:
/tmp/test-dup/
+-- file-1.txt
+-- file-2.jpg
+-- file-3.tmp
+-- folder-a
¦ +-- file-4.txt
¦ +-- file-5.jpg
¦ +-- file-6.tmp
+-- folder-b
¦ +-- file-7.txt
¦ +-- file-8.jpg
¦ +-- file-9.tmp
+-- folder-c
    +-- file-10.txt
    +-- file-11.jpg
    +-- file-12.tmp

cat my-file-list
# result:
- **/test-dup/folder-a
**/test-dup/folder-b/*.txt
- **/test-dup/folder-b

duplicity --name test-dup --include-globbing-filelist my-file-list
$BASE/test-dup/ file://$BASE/test-dup-backup

duplicity --name test-dup list-current-files file://$BASE/test-dup-backup
# result:
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Mon Oct 31 13:31:33 2011
Mon Oct 31 13:15:04 2011 .
Mon Oct 31 13:15:04 2011 folder-b
Mon Oct 31 13:15:04 2011 folder-b/file-7.txt


I've filed a bug report at https://bugs.launchpad.net/duplicity/+bug/884371

Thanks,
--
Elifarley Cruz


reply via email to

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