Issues after deleting .cache/duplicity
Nuno Teixeira via Duplicity-talk <[email protected]> Sun, 16 Nov 2025 12:23:50 +0000
| Newsgroups | gmane.comp.sysutils.backup.duplicity.general |
|---|---|
| Message-ID | <CAFDf7UJ21VYtWNbF3MvTHPq-+pAnx8r8xuS4A9gpHTrd4jE==A@mail.gmail.com> |
--===============1340278239986050245==
Content-Type: multipart/alternative; boundary="0000000000004803b90643b54e01"
--0000000000004803b90643b54e01
Content-Type: text/plain; charset="UTF-8"
Hello,
Having some problems on a fresh full backup and collection-status before
and after deleting .cache/duplicity dir.
Tests are be doing with sftp backend.
% rm -r .cache/duplicity
rm: .cache/duplicity: No such file or directory
% duplicity full --ssh-askpass /home/FILES sftp://<SERVER>/duplicity-TEST2
Password for 'xxxxxxx':
Last full backup date: none
GnuPG passphrase for decryption:
Retype passphrase for decryption to confirm:
--------------[ Backup Statistics ]--------------
StartTime 1763295115.53 (Sun Nov 16 12:11:55 2025)
EndTime 1763295121.11 (Sun Nov 16 12:12:01 2025)
ElapsedTime 5.58 (5.58 seconds)
SourceFiles 407
SourceFileSize 129772148 (124 MB)
NewFiles 407
NewFileSize 129772148 (124 MB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 407
RawDeltaSize 129771740 (124 MB)
TotalDestinationSizeChange 126104757 (120 MB)
Errors 0
-------------------------------------------------
% duplicity collection-status --ssh-askpass sftp://<SERVER>/duplicity-TEST2
Password for 'xxxxxx':
Last full backup date: Sun Nov 16 12:11:47 2025
Collection Status
-----------------
Connecting with backend: BackendWrapper
Archive dir: /home/nunotex/.cache/duplicity/1e858504fe8185732be9aeb3d36f09ad
Found 0 secondary backup chain(s).
Found primary backup chain with matching signature chain:
-------------------------
Chain start time: Sun Nov 16 12:11:47 2025
Chain end time: Sun Nov 16 12:11:47 2025
Number of contained backup sets: 1
Total number of contained volumes: 1
Type of backup set: Time: Num volumes:
Full Sun Nov 16 12:11:47 2025 1
-------------------------
No orphaned or incomplete backup sets found.
% rm -r .cache/duplicity
% duplicity collection-status --ssh-askpass sftp://<SERVER>/duplicity-TEST2
Password for 'xxxxxxxx':
Error processing remote file
(duplicity-full.20251116T121147Z.manifest.gpg): GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: AES256.CFB encrypted data
gpg: gcry_kdf_derive failed: Invalid data
gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key
===== End GnuPG log =====
Any clues? I think same happens to restore cmd but I need more testing.
Thanks,
--
Nuno Teixeira
FreeBSD UNIX: <[email protected]> Web: https://FreeBSD.org
--0000000000004803b90643b54e01
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr"><div>Hello,<br><br></div><div>Having some=
problems on a fresh full backup and collection-status before and after del=
eting .cache/duplicity dir.</div><div>Tests are be doing with sftp backend.=
</div><div><br></div><div>% rm -r .cache/duplicity<br>rm: .cache/duplicity:=
No such file or directory<br>% duplicity full --ssh-askpass /home/FILES sf=
tp://<SERVER>/duplicity-TEST2<br>Password for 'xxxxxxx':<br>L=
ast full backup date: none<br>GnuPG passphrase for decryption:<br>Retype pa=
ssphrase for decryption to confirm:<br>--------------[ Backup Statistics ]-=
-------------<br>StartTime 1763295115.53 (Sun Nov 16 12:11:55 2025)<br>EndT=
ime 1763295121.11 (Sun Nov 16 12:12:01 2025)<br>ElapsedTime 5.58 (5.58 seco=
nds)<br>SourceFiles 407<br>SourceFileSize 129772148 (124 MB)<br>NewFiles 40=
7<br>NewFileSize 129772148 (124 MB)<br>DeletedFiles 0<br>ChangedFiles 0<br>=
ChangedFileSize 0 (0 bytes)<br>ChangedDeltaSize 0 (0 bytes)<br>DeltaEntries=
407<br>RawDeltaSize 129771740 (124 MB)<br>TotalDestinationSizeChange 12610=
4757 (120 MB)<br>Errors 0<br>----------------------------------------------=
---</div><div><br></div><div>% duplicity collection-status --ssh-askpass sf=
tp://<SERVER>/duplicity-TEST2<br>Password for 'xxxxxx':<br>La=
st full backup date: Sun Nov 16 12:11:47 2025<br>Collection Status<br>-----=
------------<br>Connecting with backend: BackendWrapper<br>Archive dir: /ho=
me/nunotex/.cache/duplicity/1e858504fe8185732be9aeb3d36f09ad<br><br>Found 0=
secondary backup chain(s).<br><br>Found primary backup chain with matching=
signature chain:<br>-------------------------<br>Chain start time: Sun Nov=
16 12:11:47 2025<br>Chain end time: Sun Nov 16 12:11:47 2025<br>Number of =
contained backup sets: 1<br>Total number of contained volumes: 1<br>=C2=A0T=
ype of backup set: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Time: =C2=A0 =C2=A0 =C2=A0Num volu=
mes:<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Full =C2=A0=
=C2=A0 =C2=A0 =C2=A0 Sun Nov 16 12:11:47 2025 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 1<br>-------------------------<br>No orphaned o=
r incomplete backup sets found.</div><div><br></div><div>% rm -r .cache/dup=
licity<br>% duplicity collection-status --ssh-askpass sftp://<SERVER>=
/duplicity-TEST2<br>Password for 'xxxxxxxx':<br>Error processing re=
mote file (duplicity-full.20251116T121147Z.manifest.gpg): GPG Failed, see l=
og below:<br>=3D=3D=3D=3D=3D Begin GnuPG log =3D=3D=3D=3D=3D<br>gpg: AES256=
.CFB encrypted data<br>gpg: gcry_kdf_derive failed: Invalid data<br>gpg: en=
crypted with 1 passphrase<br>gpg: decryption failed: Bad session key<br>=3D=
=3D=3D=3D=3D End GnuPG log =3D=3D=3D=3D=3D</div><div><br clear=3D"all"></di=
v>Any clues? I think same happens to restore cmd but I need more testing.<b=
r><br></div><div>Thanks,</div><div dir=3D"ltr"><br><div><span class=3D"gmai=
l_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature=
" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><font color=3D"#=
888888">Nuno Teixeira</font></div><div><div><font color=3D"#888888">
FreeBSD UNIX:=C2=A0 <[email protected]>=C2=A0 =C2=A0Web:=C2=A0 <a h=
ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr=
eeBSD.org</a><br></font></div></div></div></div></div></div>
</div>
--0000000000004803b90643b54e01--
--===============1340278239986050245==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KRHVwbGljaXR5
LXRhbGsgbWFpbGluZyBsaXN0CkR1cGxpY2l0eS10YWxrQG5vbmdudS5vcmcKaHR0cHM6Ly9saXN0
cy5ub25nbnUub3JnL21haWxtYW4vbGlzdGluZm8vZHVwbGljaXR5LXRhbGsK
--===============1340278239986050245==--