I've been using the Debian duplicity package version 0.8.20-1 in
Windows Subsystem for Linux on Windows 10 Pro for 8 months to backup
"important" windows files to my Microsoft OneDrive account, but it
is running low on space so I want to switch my Google Drive account
that has 3X space.
When I ran "duplicity replicate" I got an error saying "gpg:
decryption failed: Bad session key", but duplicity didn't exit. I
let it run over night, and finally interrupted it.
# duplicity replicate
onedrive://Backup/finance.duplicity-direct
gdrive://530054400480-6t6b9ul7l43hh8s1epq6cuehvd3ie2a2.apps.googleusercontent.com/finance.duplicity/?myDriveFolderID=1avphlf2LSwSmib6JaZIQRpXfPrAqsptu
Last full backup date: none
GnuPG passphrase for decryption:
Replicating
b'duplicity-full-signatures.20201212T204209Z.sigtar.gpg'.
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: AES256.CFB encrypted data
gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key
===== End GnuPG log =====
^CException ignored in: <module
'threading' from '/usr/lib/python3.9/threading.py'>
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py",
line 1428, in _shutdown
lock.acquire()
KeyboardInterrupt:
Duplicity did create the
finance.duplicity
folder in Google Drive, but it is empty.
I then ran "duplicity verify" and confirmed I can successfully read
the OneDrive backup repository.
# duplicity verify
onedrive://Backup/finance.duplicity-direct
/mnt/d/home/pcanning/Finance
Local and Remote metadata are synchronized,
no sync needed.
Last full backup date: Wed Aug 11 02:01:44
2021
GnuPG passphrase for decryption:
Verify complete: 817 files compared, 0
differences found.
Can anyone help me figure out why "duplicity replicate" is failing,
and suggest how I might fix it?
thanks,
Peter
_______________________________________________