Git*_*nik 5 encryption backup gnupg duplicity
我尝试使用双重性而不使用--no-encryption标志进行加密,尽管数据已存储且未加密,但我无法使用duplicity restore --file-to-restore选项恢复它(我收到错误消息test_file.txt not found in archive - no files restored.)。如果我尝试从我的档案中列出文件,我也会得到gpg: decryption failed: secret key not available.
显然,正如错误所说,我没有在我的 Ubuntu 上设置 GPG 密钥。有duplicity没有一种没有任何加密和 GPG 的方法?我知道 Duplicity 会对备份进行加密和签名,但是如何禁用对备份的签名?
小智 5
尝试跟随。
创建备份
duplicity _data_to_be_backed_up_ file://_path_to_backup_ --no-encryption
Run Code Online (Sandbox Code Playgroud)
恢复备份
duplicity restore file://_path_to_backup_ _restore_path_ --no-encryption
Run Code Online (Sandbox Code Playgroud)