Had a catastrophic failure on a RAID array and lost everything.
Have a full set of backups on S3 via duplicity (2003 files), encrypted with GPG.
I have the passphrase and a copy of the private key used to encrypt the backups.
I have imported the private key on the new host with
gpg --import-key KEYNAME.
gpg --list-keysgives me the
KEYID. We'll say it's 123456.
Downloaded all files from S3 to a fresh local host.
When I try to list the files in the backup with
duplicity list-current-files file:///mnt/Media/backups --encrypt-key 123456the result is:
Synchronizing remote metadata to local cache...
Copying duplicity-full-signatures.20111105T191036Z.sigtar.gpg to local cache.
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: encrypted with RSA key, ID ABCDEFG
gpg: decryption failed: No secret key
===== End GnuPG log =====
What step(s) am I missing? The RSA key referenced in the GnuPG log (ex: ABCDEF) is different than the ID of the key I imported (ex: 123456), is that related to the issue?
My test restores when I initially set up the backups all worked, but I realize now it's because the keys were already available on the backed up host. But because the original host is toast, restoring to a brand new host is all new to me. Thanks in advance.