[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] Error --excluding '*.lock', but not '**.lock'
From: |
Diagon |
Subject: |
[Duplicity-talk] Error --excluding '*.lock', but not '**.lock' |
Date: |
Tue, 12 May 2020 21:13:38 -0700 |
User-agent: |
Zoho Mail |
Duplicity v.0.7.19. I get this warning every time I try to run a remote backup:
/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py:141: FutureWarning:
CTR mode needs counter parameter, not IV
self._cipher = factory.new(key, *args, **kwargs)
I also get the following error, any time I try to --exclude '*.lock'
If I instead --exclude '**.lock' I do not get the error:
Traceback (innermost last):
File "/usr/bin/duplicity", line 1581, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1567, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1406, in main
action = commandline.ProcessCommandLine(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 1154,
in ProcessCommandLine
set_selection()
File "/usr/lib/python2.7/dist-packages/duplicity/commandline.py", line 978,
in set_selection
sel.ParseArgs(select_opts, select_files)
File "/usr/lib/python2.7/dist-packages/duplicity/selection.py", line 250, in
ParseArgs
self.add_selection_func(self.glob_get_sf(arg, 0))
File "/usr/lib/python2.7/dist-packages/duplicity/selection.py", line 436, in
glob_get_sf
sel_func = self.glob_get_normal_sf(glob_str, include)
File "/usr/lib/python2.7/dist-packages/duplicity/selection.py", line 567, in
glob_get_normal_sf
raise FilePrefixError(glob_str)
FilePrefixError: *.lock
The command for the latter is:
duplicity --backend-retry-delay 60 --asynchronous-upload --name TEST --volsize
50 --full-if-older-than 6M --exclude '*.lock' /home/me/Desktop/TEST
sftp://address@hidden/Backup
- [Duplicity-talk] Error --excluding '*.lock', but not '**.lock',
Diagon <=