- export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
- export ORACLE_SID=XE
- export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`
- export PATH=$ORACLE_HOME/bin:$PATH
- /bin/rm -rf /exportando/exportando_penultima_schemas_old.dmp /exportando/exportando_penultima_schemas_old.log
- mv /exportando/exportando_penultima_schemas.dmp /exportando/exportando_penultima_schemas_old.dmp
- mv /exportando/exportando_penultima_schemas.log /exportando/exportando_penultima_schemas_old.log
- mv /exportando/exportando_ultima_schemas.dmp /exportando/exportando_penultima_schemas.dmp
- mv /exportando/exportando_ultima_schemas.log /exportando/exportando_penultima_schemas.log
- expdp system/vixonic directory=exportandoslash schemas=VIXONIC dumpfile=exportando_ultima_schemas.dmp logfile=exportando_ultima_schemas.log
- /usr/bin/rsync -ogycpvrthl --exclude '*.log*' --delete-after --progress --port 59873 /exportando/ usuario@serverchileno::directoriooracle
- /usr/bin/rsync -ogcpvrthl --delete-during --progress --port 59873 /usr/share/tomcat6/webapps/KNA/ usuario@serverchileno::caenea
- /usr/bin/ssh -i /root/c/cl.lala serverchileno '/bin/bash /root/importando_bdd.sh'
Untitled
Posted by NotLim on Thu 10th Jul 2014 12:56
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
vxnc.kpaste.net RSS