3 Replies Latest reply: May 17, 2013 11:32 AM by rarain RSS

    .patch_storage

    1007224
      Hello,

      1)The .patch_storage directory is required to rollback the patch. Correct?

      2)Why the .patch_storage directory is made hidden?

      Regards
        • 1. Re: .patch_storage
          rarain
          Hi,

          Yes .patch_storage directory basically facilitate to rollback the patches. During patch installation OPatch saves copies of all the files that were replaced by the new patch before the new versions of these files are loaded and stores it in $ORACLE_HOME/.patch_storage/patch ID/. These saved files are called rollback files and are the key to rollback the patch.

          Oracle made this directory as hidden directory just to prevent from evil eye :)... Actually this directory is used internally by Oracle while applying the patch and rollback the patch and to cleanup this directory Oracle has provided opatch command opatch util cleanup.

          You can also refer below link to know more about cleaning .patch_storage directory.

          How To Avoid Disk Full Issues Because OPatch Backups Take Big Amount Of Disk Space. [ID 550522.1]

          Thanks
          • 2. Re: .patch_storage
            Alvaro
            1) Correct.

            2) It is made hidden because it's not meant to be administered manually. It's meant to be maintained , used and cleaned up by OPatch utility.
            • 3. Re: .patch_storage
              rarain
              Mark your thread as answered if you get the answer of your question.

              Thanks