I guess I have a related error.
Initially I used deja-dup for the backup on ubuntu 17.10, but it fails silently
since weeks.
So I manually launched duplicity to find what is the error and it is quite
cryptic :
PASSPHRASE=<REDACTED> duplicity incremental --progress --full-if-older-
than 90D --exclude <REDACTED> --exclude <REDACTED> --exclude -v 5
--allow-source-mismatch <REDACTED> scp://<REDACTED>
[... lots of messages that add or remove files ...]
Suppression de /tmp/duplicity-CPdG9t-tempdir/mktemp-V8VeTq-16
AsyncScheduler: tâche achevée avec succès
Volume 14 traité
Le nettoyage du dossier temporaire /tmp/duplicity-CPdG9t-tempdir a échoué -
ceci est probablement un bogue.
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1546, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1540, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1391, in main
do_backup(action)
File "/usr/bin/duplicity", line 1522, in do_backup
incremental_backup(sig_chain)
File "/usr/bin/duplicity", line 671, in incremental_backup
globals.backend)
File "/usr/bin/duplicity", line 432, in write_multivol
globals.volsize)
File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 352, in
GPGWriteFile
file = GPGFile(True, path.Path(filename), profile)
File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 125, in
__init__
self.logger_fp = tempfile.TemporaryFile(dir=tempdir.default().dir())
File "/usr/lib/python2.7/tempfile.py", line 511, in TemporaryFile
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib/python2.7/tempfile.py", line 244, in _mkstemp_inner
fd = _os.open(file, flags, 0600)
OSError: [Errno 2] No such file or directory:
'/tmp/duplicity-CPdG9t-tempdir/tmpRtxeME'
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1177381
Title:
Duplicity can't find its own tempdir
To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs