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 -encryptziporexachk -d start -encryptzip
Starts the daemon with the-encryptzipoption. 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] -encryptziporexachk [-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
-encryptzipwith other Oracle Orachk and Oracle Exachk options that generate a collection.For example:
orachk -profile profile-name -encryptziporachk -profile sysadmin -encryptziporachk -check check-id -encryptziporachk -check D47661C55B1A291AE0431EC0E50A5C53 -encryptzipNote:
When you specify
-encryptzip, Oracle Orachk or Oracle Exachk deletes the collection directory after successfully encrypting the diagnostic collection ZIP file.orachk -encryptzipzip_fileorexachk -encryptzipzip_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.zipNote:
When you specify
-encryptzip, Oracle Orachk or Oracle Exachk deletes the collection directory after successfully encrypting the diagnostic collection ZIP file.orachk -decryptzipzip_fileorexachk -decryptzipzip_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