FDRCRYPT Encryption Keyfile Backup and Restore
In order to use the FDRCRYPT Encryption Keyfile for restores off-site, such as at a disaster recovery site, you must securely transport a current copy of the Encryption Keyfile to that site. This must be a copy taken after all of the daily backups are complete, so that it contains the keys used for those backups.
One way to do so is to use FDRDSF to backup and restore the Encryption Keyfile, using AES encryption for that backup. The AES encryption key should be different from that used for other backups; this key must be securely transmitted to the restore site, perhaps by secure e-mail, in order to restore the Encryption Keyfile. You can electronically transmit the backup listing to the restore site, by secure e-mail or FTP, especially if you let FDRCRYPT generate the keys.
If the backup itself is put onto a tape, transport this tape to the restore site separately from the regular encrypted backups. If you put it on DASD, the backup can be electronically transmitted to the restore site, by secure e-mail or FTP.
All examples in this section are found in the JCL library installed with FDR. The member names are EX7123x.
Backup the encryption Keyfile to tape example
This backs up the FDRCRYPT Encryption Keyfile to two tapes, encrypted with an AES 128-bit key generated by FDRCRYPT. A master key, stored in security profile FACILITY/FDRCRYPT.KEYFILE is also used. Send one or both of these backups to the recovery site, separately from the other backups.
Backup the encryption Keyfile to DASD example
This backs up the FDRCRYPT Encryption Keyfile to a DASD data set, encrypted with an AES 128-bit key. Since FDR backups on DASD do not contain records greater than 32760 bytes in length, this backup can be sent to the recovery site electronically, either via secure e-mail or FTP.
Data set “FDRCRYPT.KEYFILE.OPTIONS” contains these statements:
Restore the encryption Keyfile at the recovery site example
This restores the FDRCRYPT Encryption Keyfile to DASD, providing the 128-bit AES key used during backup. If the backup file is not cataloged, then UNIT and VOL parameters must be provided. NVOL= specified the volume to which it is restored. DSN=NULLFILE is specified on the KEYFILE statement because the Encryption Keyfile does not yet exist.
Erasing the encryption Keyfile at the recovery site example
This FDRCRYFM job overwrites and reformats the Encryption Keyfile when you leave the recovery site, to insure that your keys are not compromised by the next user of the site.