000013827 - Backup scripts are failing with missing destination file error

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000013827
Applies ToRSA Key Manager Appliance 1.6.1
IssueBackup 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
CauseGPG key was not created
ResolutionTake the following steps on the Primary appliance of your main cluster:

1. Log in as root on the appliance and run:
        gpg --gen-key
            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 IDa47238

Attachments

    Outcomes