Hi there! We are currently struggling with testing our restore procedure: we use Bareos 14.2.2 in the productive environment (running our own OS), but would like to use Bareos 14.2.6 to test a full restore on a different server (running Ubuntu Xenial).
Dumping and restoring the bareos-db went without any problems, the director is up and running and we can search for files, etc. When it comes to the actual restore of data, we receive the following error message: " ERROR in scsicrypto-sd.c:392 scsicrypto-sd: Failed to unwrap encryption key, probably wrong KeyEncryptionKey in config ". Further tests have shown that running # bscrypto -b -k <KeyEncryptionKey> -w <EncryptionKey> on the old system (bareos 14.2.2) produces the desired output (raw key), while on the new system (bareos 14.2.6) we get the following error message: " Failed to aes unwrap the keydata read from <KeyEncryptionKey> using the wrap data from <EncryptionKey>, aborting... ". (And yes, we are sure we are using the same Key Encryption Key and Encryption Key for both machines) Increasing the debug level yields no further - or at least useful - information. Neither for bscrypto nor for bareos-sd. We've furthermore ensured the encoding is the same on both machines. Is this a known issue? Any more hints, tips, or pointers would be greatly appreciated. Best regards, Marco -- 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 [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
