Oracle: Check Patching backup files
Hello
How to check the patching backup files
- Check what patches OPatch thinks are installed:
$ORACLE_HOME/OPatch/opatch lsinventory
$ORACLE_HOME/OPatch/opatch lsinventory -detail
$ORACLE_HOME/OPatch/opatch lsinventory -detail
Oracle documents lsinventory as the standard way to verify applied patches and Oracle home inventory state.
- Check whether rollback files exist under
.patch_storage:
cd $ORACLE_HOME
ls -ld .patch_storage
find .patch_storage -maxdepth 2 -type d | sort
du -sh .patch_storage
ls -ld .patch_storage
find .patch_storage -maxdepth 2 -type d | sort
du -sh .patch_storage
If the patch was applied normally, you should see patch-related content there, because OPatch saves the replaced files in $ORACLE_HOME/.patch_storage during installation.
- Check OPatch logs and history:
ls -ltr $ORACLE_HOME/cfgtoollogs/opatch
tail -100 $ORACLE_HOME/cfgtoollogs/opatch/history.txt
tail -100 $ORACLE_HOME/cfgtoollogs/opatch/history.txt
Regards
Martin Gomez
Comments
Post a Comment