Command-Line Options to Generate Password Protected Collection ZIP Files

Use the list of commands to encrypt or decrypt diagnostic collection zip files.

Encrypt and Decrypt Diagnostic Collection zip Files

  • orachk -d start -encryptzip or exachk -d start -encryptzip
    Starts the daemon with the -encryptzip option. The daemon prompts for a password when it starts and uses that password to encrypt subsequent on-demand and scheduled run collections.

    Note:

    When you specify -encryptzip, Oracle Orachk or Oracle Exachk deletes the collection directory after successfully encrypting the diagnostic collection ZIP file.

  • orachk [-option value] -encryptzip or exachk [-option value] -encryptzip
    Encrypts the run result. The tool prompts for a password and uses that password to encrypt the collections created at the end of the run.

    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 you specify -encryptzip, Oracle Orachk or Oracle Exachk deletes the collection directory after successfully encrypting the diagnostic collection ZIP file.

  • orachk -encryptzip zip_file or exachk -encryptzip zip_file
    Encrypts an existing collection. The tool prompts for a password, encrypts the specified ZIP file using that password, and renames the collection. For example:

    orachk_host_db_encrypted_date_time.zip

    Note:

    When you specify -encryptzip, Oracle Orachk or Oracle Exachk deletes the collection directory after successfully encrypting the diagnostic collection ZIP file.

  • orachk -decryptzip zip_file or exachk -decryptzip zip_file
    Decrypts an encrypted collection. The tool prompts for the password, decrypts the specified ZIP file, and renames the collection. For example:

    orachk_host_db_date_time.zip