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: Tim Riemenschneider
Subject: Re: [Duplicity-talk] include/exclude problem
Date: Fri, 02 Jan 2009 03:46:55 +0100
User-agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018)

Daniel Nelson schrieb:
> Justin Tussey wrote:
>> Did you try the parent's suggestion?
>>
>> --include '*/a/*' -include '*/b/*'
>> -jt   
>>
>
> Yes I did, it doesn't back up any of the files because 'a' and 'b' are
> not directories.
I can reproduce this with duplicity 0.5.05 (I tried "without" the
exclude, but then duplicity outsmarts me, so I only exclude a
non-existing file):
address@hidden:/tmp$ cat list
+ **/a
+ **/b
- test/dummy
address@hidden:/tmp$ /tmp/duplicity/bin/duplicity -v9 --no-encryption
--include-globbing-filelist list test file:///tmp/testout/test
Reading globbing filelist list
Main action: inc
0 files exist on backend
Extracting backup chains from list of files: []
Collection Status
-----------------
Connecting with backend: LocalBackend
Archive dir: None

Found 0 backup chains without signatures.
No backup chains with active signatures found
No orphaned or incomplete backup sets found.
Last full backup date: none
No signatures found, switching to full backup.
Using temporary directory /tmp/duplicity--jywf4-tempdir
Registering (mktemp) temporary file
/tmp/duplicity--jywf4-tempdir/mktemp-o9uGQR-1
AsyncScheduler: instantiating at concurrency 0
Registering (mktemp) temporary file
/tmp/duplicity--jywf4-tempdir/mktemp-ACzzEj-2
Selecting test
Comparing () and None
Getting delta of (() test dir) and None
Generating delta - new file: .
Selecting test/bar
Comparing ('bar',) and None
Getting delta of (('bar',) test/bar dir) and None
Generating delta - new file: bar
Selecting test/bar/a
Comparing ('bar', 'a') and None
Getting delta of (('bar', 'a') test/bar/a reg) and None
Generating delta - new file: bar/a
Selecting test/foo
Comparing ('foo',) and None
Getting delta of (('foo',) test/foo dir) and None
Generating delta - new file: foo
Selecting test/foo/a
Comparing ('foo', 'a') and None
Getting delta of (('foo', 'a') test/foo/a reg) and None
Generating delta - new file: foo/a
AsyncScheduler: running task synchronously (asynchronicity disabled)
Writing
/tmp/testout/test/duplicity-full.2009-01-02T03:41:36+01:00.vol1.difftar.gz
Deleting /tmp/duplicity--jywf4-tempdir/mktemp-ACzzEj-2
Forgetting temporary file /tmp/duplicity--jywf4-tempdir/mktemp-ACzzEj-2
AsyncScheduler: task completed successfully
Processed volume 1
Registering (mktemp) temporary file
/tmp/duplicity--jywf4-tempdir/mktemp-yoR-2k-3
Writing /tmp/testout/test/duplicity-full.2009-01-02T03:41:36+01:00.manifest
Deleting /tmp/duplicity--jywf4-tempdir/mktemp-yoR-2k-3
Forgetting temporary file /tmp/duplicity--jywf4-tempdir/mktemp-yoR-2k-3
Writing
/tmp/testout/test/duplicity-full-signatures.2009-01-02T03:41:36+01:00.sigtar.gz
Deleting /tmp/duplicity--jywf4-tempdir/mktemp-o9uGQR-1
Forgetting temporary file /tmp/duplicity--jywf4-tempdir/mktemp-o9uGQR-1
3 files exist on backend
Extracting backup chains from list of files:
['duplicity-full.2009-01-02T03:41:36+01:00.vol1.difftar.gz',
'duplicity-full-signatures.2009-01-02T03:41:36+01:00.sigtar.gz',
'duplicity-full.2009-01-02T03:41:36+01:00.manifest']
File duplicity-full.2009-01-02T03:41:36+01:00.vol1.difftar.gz is not
part of a known set; creating new set
File duplicity-full-signatures.2009-01-02T03:41:36+01:00.sigtar.gz is
not part of a known set; creating new set
Ignoring file (rejected by backup set)
'duplicity-full-signatures.2009-01-02T03:41:36+01:00.sigtar.gz'
File duplicity-full.2009-01-02T03:41:36+01:00.manifest is part of known set
Found backup chain [Fri Jan  2 03:41:36 2009]-[Fri Jan  2 03:41:36 2009]
--------------[ Backup Statistics ]--------------
StartTime 1230864096.78 (Fri Jan  2 03:41:36 2009)
EndTime 1230864096.82 (Fri Jan  2 03:41:36 2009)
ElapsedTime 0.04 (0.04 seconds)
SourceFiles 0
SourceFileSize 12292 (12.0 KB)
NewFiles 0
NewFileSize 0 (0 bytes)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 0
RawDeltaSize 4 (4 bytes)
TotalDestinationSizeChange 332 (332 bytes)
Errors 0
-------------------------------------------------

address@hidden:/tmp$ /tmp/duplicity/bin/duplicity list-current-files
--no-encryption file:///tmp/testout/test
Fri Jan  2 03:10:47 2009 .
Fri Jan  2 03:11:07 2009 bar
Fri Jan  2 03:11:04 2009 bar/a
Fri Jan  2 03:10:56 2009 foo
Fri Jan  2 03:10:54 2009 foo/a
address@hidden:/tmp$     

Bug?

cu




reply via email to

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