envia a chave secreta de backup de BAK-SERVER para RESTORE-SERVER
#ON BAK-SERVER
gpg --list-keys
gpg --armor --export-secret-keys bak-key-name > bak-key-name.secret.asc
cat bak-key-name.secret.asc |nc -l BAK-SERVER_IP 12345
#ON Restore-SERVER
nc BAK-SERVER_IP 12345 > bak-key-name.secret.asc
gpg --import bak-key-name.secret.asc
obtenha a chave de criptografia: por exemplo, 05AB3DF5
gpg --list-keys
/root/.gnupg/pubring.gpg
------------------------
pub 2048R/05AB3DF5 2013-09-19
uid Your Name <[email protected]>
sub 2048R/32866E3B 2013-09-19
backup no BAK-SERVER
PASSPHRASE="passphrase_for_GPG" duplicity full --encrypt-key 05AB3DF5 /source BAK_URL
restaurar no RESTORE-SERVER
PASSPHRASE="passphrase_for_GPG" duplicity restore --encrypt-key 05AB3DF5 BAK_URL /source-restore
referir: link