Install Restore Oracle Software With Tar Rsync
Install Restore Oracle Software With Tar Rsync

Reference (Chinese)
http://www.itpub.net/viewthread.php?tid=1015065&pid=10825332&page=1&extra=page%3D1

Usually we should install oracle software with OUI.
But we do can install oracle with backup/restore liked method based our experience (not warranted).
There 3 methods:

  • cp -p
  • rsync
  • tar

both of them is not perfect. on some os the S flag of file/dir maybe cleared by the utilities.
after we duplicated the binary files, we should also setup the environment variables and relink oracle.
make sure the user id and group id are the same as the source.

cat << __EOF__
export ORACLE_HOME=...
...
__EOF__
 
pushd $ORACLE_HOME/rdbms/lib
make -f ins_rdbms.mk ioracle