17 September, 2015

nc usage (alternative to scp)

nc usage
=========

Source

cd /ud1001/pmwaci/oradata

tar -zcf - . | nc -l 6050    

(if nc not installed copy to /tmp loaction and use command => tar -zcf - . | /tmp/nc -l 6050)


Target

cd /ud5001/emwaci/oradata

nc server_name  6050 | tar -zxf - ./
(source server name)



No comments:

Post a Comment

OEM Agent Installation

./agentDeploy.sh AGENT_BASE_DIR=/u001/oracle/product/agent13c OMS_HOST=oem-dev.xxx.com EM_UPLOAD_PORT=1159 AGENT_REGISTRATION_PASSWORD=*****...