The nzkeybackup command
Use the nzkeybackup command to create a backup copy of the SED AEK key store.
Syntax
The nzkeybackup command has the following syntax.
nzkeybackup [-h]
nzkeybackup [-sklm] <file>
Options
The nzkeybackup command takes the following options:
| Input | Description |
|---|---|
| <file> | Specifies the file name for the compressed tar file backup of the key store. |
| -sklm | Obtains the keys from the IBM Security Key Lifecycle Manager server to store them in the specified file. |
Description
You use the nzkeybackup command to create a compressed tar file backup of the key store. The command validates the key store before it creates the backup to alert you to any problems. You should create a backup of the key store after you change the AEKs. As a best practice, you should store the backup tar file in a safe location that is not on the NPS system as a precaution in the event of a disk problem on your system. The command logs information when it runs to /nz/kit/log/keydb/keydb.log.
The nzkeybackup command is installed in /nz/kit/bin/adm. You must be logged in to the NPS system as the root user to run the command. You must either change to the adm directory and run the command from that location or have that directory in your root user's path to run the command.
Usage
[root@nzhost-h1 ~]# /nz/kit/bin/adm/nzkeybackup /nz/var/keybackup.tar.gz
Keystore archive /nz/var/keybackup.tar.gz writtenspukey file is at the default location /nz/var/kesystore
before you take a backup.