Hi,

we are trying to restore a backup of a client(let's call it A) to a
new machine(let's call it B). B is identical to A, which both have
centos 7 running and same version of bacula-fd running.

the public and private keys of A are stored in
/etc/bacula/fd-example.pem and /etc/bacula/master.pub.key, and these keys are 
also copied at B at the same path.

in the bacula-fd.conf on both A and B, we use the following:

PKI Signatures = Yes
PKI Encryption = Yes
PKI Keypair = "/etc/bacula/fd-example.pem"
PKI Master Key = "/etc/bacula/ master.pub.key  "

OK, here is the problem:
- when we try to restore the backup from A to /tmp/bacula-restore in
A, it's fine.
- however, when we try to restore the backup from A to B, bconsole is
repeatly printing:

21-Jun 00:52 tvb_restore_test-fd JobId 397: Error: Missing private key
required to decrypt encrypted backup data.
21-Jun 00:52 tvb_restore_test-fd JobId 397: Error: Missing private key
required to decrypt encrypted backup data.
...

The keys in A are the same as the keys in B.(I did the md5sum to
verify that they are the same) and the permissions are the same too. Also 
it happens with master private key!

Please advise. Any suggestions or help will be appreciated.

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/0ec52a02-3c6b-477b-ba1c-7eeb4e480649n%40googlegroups.com.

Reply via email to