Decrypting and extracting backups

To gain access to your secured and compressed backup file, you need to decrypt and extract.

Procedure

  • To decrypt and extract contents of the compressed backup, enter the following command.
    openssl enc -d -aes256 -in <targzfilename> | tar xz
  • To decrypt and extract contents in a pod container, enter the following command.
    oc exec -it $POD -c $CONTAINER --namespace $NAMESPACE -- bash -c 'openssl
    enc -d -aes256 -in <targzfile> | tar xz'