duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] decryption failure in duplicity replicate


From: zga9uhnq4g
Subject: [Duplicity-talk] decryption failure in duplicity replicate
Date: Sat, 21 Aug 2021 13:37:32 -0700
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

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


reply via email to

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