想删除deja dup文件夹中的所有备份数据,但我忘记了密码

想删除deja dup文件夹中的所有备份数据,但我忘记了密码

Ubuntu 14.04 中的备份占用了我所有的磁盘空间。我只想删除所有备份(deja-dup 中的所有文件),但我记不起当时使用的加密密钥。我尝试使用以下命令,但我的密码仍然错误:

duplicity remove-older-than 2017-09-31 file:///home/$USER/deja-dup/ --force

命令行如下所示:

shamininski@shamininski-HP-Pavilion-15-Notebook-PC:~$ duplicity remove-older-than 2017-09-31 file:///home/$USER/deja-dup/ --force
Synchronizing remote metadata to local cache...
GnuPG passphrase: 
Copying duplicity-full-signatures.20170907T033748Z.sigtar.gpg to local cache.
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: decryption failed: bad key
===== End GnuPG log =====

shamininski@shamininski-HP-Pavilion-15-Notebook-PC:~$ ^C
shamininski@shamininski-HP-Pavilion-15-Notebook-PC:~$ 

答案1

您可以直接删除备份位置中的所有文件(无论是否加密)。无需知道解密密钥或有关数据集的任何信息即可销毁它。

相关内容