Backup and restore does not work on SCP backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I was able to get restore operation to succeed. I had to make 2 changes. Patch is attached.
(duplicitytempo) samuel@
Python 3.7.5
(duplicitytempo) samuel@
Package Version
------------ -------
bcrypt 3.1.7
cffi 1.13.2
cryptography 2.8
duplicity 0.8.9
fasteners 0.15
future 0.18.2
monotonic 1.5
paramiko 2.7.1
pip 19.3.1
pycparser 2.19
PyNaCl 1.3.0
setuptools 44.0.0
six 1.13.0
wheel 0.33.6
(duplicitytempo) samuel@
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.10
Release: 19.10
Codename: eoan
log
ssh: [chan 3] Max packet in: 32768 bytes
ssh: [chan 3] Max packet out: 32768 bytes
ssh: Secsh channel 3 opened.
ssh: [chan 3] Sesch channel 3 request ok
ssh: [chan 3] EOF received (3)
ssh: [chan 3] EOF sent (3)
Trace inverse de l'erreur précédente : Traceback (innermost last):
File "/home/
return fn(self, *args)
File "/home/
self.
File "/home/
(remote_
duplicity.
summary: |
- Restore does not work on SCP backend + Backup and restore does not work on SCP backend |
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.8.10 |
status: | New → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
In fact, both backup and restore operations are affected. It is due to type confusion between between unicode and bytes. The attached patch restores both functionalities, but may not be elegant or complete.