Quick & Dirty rapidclone cleanup

If you are cloning and instance and it fails on the target, Oracle recommends that you cleanup. Here’s my quick and dirty script that will clean up, assuming that you do not have any other instance in there.

rm -rf /u01/oraInventory/
cd /u01/app/
rm -rf fs2 fs_ne
cd fs1
rm -rf FMW_home inst

Above is assuming that fs1 is your run_fs and /u01/oraInventory is your inventory location defined in /etc/oraInst.loc

Leave a comment

Your email address will not be published. Required fields are marked *