To roll back multiple patches that were previously applied to an Oracle Fusion Middleware Oracle home, use the opatch nrollback
command.
Example 1-4 shows how to use the opatch nrollback
command to roll back multiple patches that were previously applied to an Oracle Fusion Middleware Oracle home.
This example assumes that the patches you applied were patch numbers 15941858 and 15955138.
Example 1-4 Using the OPatch nrollback Command to Roll Back Multiple Patches
> /opt/Oracle/products/fmw12c/OPatch/opatch nrollback -id 15941858,15955138 Oracle Interim Patch Installer version 13.3.0.0.0Copyright (c) 2013, Oracle Corporation. All rights reserved. Oracle Home : /opt/Oracle/products/fmw12c Central Inventory : /opt/Oracle/oraInventory from : /var/opt/Oracle/oraInst.loc OPatch version : 13.3.0.0.0 OUI version : 13.3.0.0.0 Log file location : /opt/Oracle/products/fmw12c/cfgtoollogs/opatch/opatch2013-06-10_14-24-54PM_1.log OPatch detects the Middleware Home as "/opt/Oracle/products/fmw12c" Patches will be rolled back in the following order: 15941858 15955138 The following patch(es) will be rolled back: 15941858 15955138 Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/opt/Oracle/products/fmw12c') Is the local system ready for patching? [y|n] y User Responded with: Y Rolling back patch 15941858... RollbackSession rolling back interim patch '15941858' from OH '/opt/Oracle/products/fmw12c' Patching component oracle.wls.core.app.server, 12.2.1.0.0... RollbackSession removing interim patch '15941858' from inventory Rolling back patch 15955138... RollbackSession rolling back interim patch '15955138' from OH '/opt/Oracle/products/fmw12c' Patching component oracle.wls.core.app.server, 12.2.1.0.0... RollbackSession removing interim patch '15955138' from inventory Log file location: /opt/Oracle/products/fmw12c/cfgtoollogs/opatch/opatch2013-06-10_14-24-54PM_1.log OPatch succeeded.