Wednesday, 16 December 2020

tar -cvzf

 

In this case the workaround is to not use pack/unpack.
- Just copy the folders and update the config files in case the paths are different at the other machine as follows:

# pack
$ cd /path/for/source/DOMAIN_HOME
$ tar cvzf myDomainCopyWorkaround.tar.gz --exclude 'servers/*' *

# unpack
$ cd /path/for/destination/DOMAIN_HOME
$ tar xvzf myDomainCopyWorkaround.tar.gz

# if the paths for BEA_HOME, JAVA_HOME and DOMAIN_HOME are different on the two machines, update them in the files having them hard coded
$ cd /path/for/destination/DOMAIN_HOME
$ grep -rl -e /path/for/source/BEA_HOME -e /path/for/source/JAVA_HOME -e /path/for/source/DOMAIN_HOME *

No comments:

Post a Comment

SQL Shared Area - BIND MISMATCH