duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] (no subject)


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] (no subject)
Date: Sun, 20 Jan 2008 11:56:06 -0600
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

Ingrid Lohmann wrote:
> Hello,
> 
> Sorry for asking you again. I'd like to give to additional informaiton, 
> because I'm
> really desparately looking for a solution.
> 
> I used to backup files from a production server (root server) to backup 
> server (root server)  with the following script:
> 
> !/bin/bash
> export PASSPHRASE=signtest
> duplicity --encrypt-key "mykey" --sign-key "mykey" --exclude /sys  --exclude 
> /root  --exclude /proc --exclude /mnt --exclude /tmp  -v9 /  
> scp://address@hidden//root/backups/duplicity
> 
> Now the data which was on the production server is lost. I want to restore 
> the data on second production server with the following command:
> 
> duplicity  --encrypt-key "mykey" --sign-key "mykey"  --file-to-restore    
> root/duplicity/backuptest -v9  scp://address@hidden//root/backups/duplicity 
> ~/test
> 
> and the error message is: 
> 
 > the line "gpg: decryption failed: secret key not available" seems odd
to me, because I encrypted with the same key.
>  Can you help me to find a way to decrypt the data?
> Is it maybe possible to decrypt a gpg-File manually with shell command.

You probably need to add --ssh-askpass to the commandline (yes, even
with PASSPHRASE set).  The default is to not look for the passphrase
when using SSH for backup, but for restore, you do need a passphrase.

...Ken

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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