2.13 Command-Line Options to Generate Password Protected Collection zip Files

Use the list of commands in this section to encrypt and decrypt diagnostic collection zip files.

Table 2-4 Encrypt and Decrypt Diagnostic Collection zip Files

Option Description

./orachk –d start –encryptzip

./exachk –d start –encryptzip

Starts the daemon with –encryptzip option.

The daemon prompts for a password when it starts. The daemon then encrypts the subsequent on-demand and scheduled runs collections with that password.

Note:

When -encryptzip is passed, Oracle ORAchk and Oracle EXAchk after successfully encrypting the diagnostic collection zip file delete the collections directory.

./orachk [-option value] -encryptzip

./exachk [-option value] -encryptzip

Encrypts the run result.

Prompts for the password, and encrypts the collections created at the end of the run with that password.

You can use -encryptzip with other Oracle ORAchk and Oracle EXAchk options that generate a collection.

For example:
./orachk -profile profile-name -encryptzip
./orachk -profile sysadmin -encryptzip
./orachk -check check-id -encryptzip
./orachk -check D47661C55B1A291AE0431EC0E50A5C53 -encryptzip

Note:

When -encryptzip is passed, Oracle ORAchk and Oracle EXAchk after successfully encrypting the diagnostic collection zip file delete the collections directory.

./orachk –encryptzip zip_file

./exachk –encryptzip zip_file

Encrypts the already generated collection.

Prompts for the password, encrypts the zip file specified with that password, and then renames the collections as, for example, orachk_host_db_encrypted_date_time.zip.

Note:

When -encryptzip is passed, Oracle ORAchk and Oracle EXAchk after successfully encrypting the diagnostic collection zip file delete the collections directory.

./orachk –decryptzip zip_file

./exachk –decryptzip zip_file

Decrypts the encrypted collection.

Prompts for the password, decrypts the zip file specified with that password, and then renames the collections as, for example, orachk_host_db_date_time.zip.