|Applies To||RSA Key Manager Appliance 1.6.1|
|Issue||Backup scripts are failing with missing destination file error|
cp: missing destination file
Try `cp --help' for more information.
gpg: RKM: skipped: public key not found
Backup scripts are failing on the RSA Key Manager Appliance
|Cause||GPG key was not created|
|Resolution||Take the following steps on the Primary appliance of your main cluster:|
1. Log in as root on the appliance and run:
Key to select : (1) DSA and Elgamal
Key size : 2048
How long the key should be valid : 0 (Do not expire)
Real Name : RKM Backup 200908
Email : empty
Comment : empty
Passphrase : Your own password. Do not loose that password else you loose the ability to decrypt your backups.
2. After generating the encryption key, make sure to create a backup of the /root/.gnupg directory as follows:
tar zcvf /tmp/gnupg-`uname -n`.tar.gz /root/.gnupg
The file /tmp/gnupg-hostname.tar.gz must be stored securely in your password vault. This file contains the keys that are used to encrypt and decrypt the backup archives.
If you get the following error: "Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 284 more bytes)", open a new SSH session to the appliance and type "ls -R /"
|Legacy Article ID||a47238|