pastebin - collaborative debugging tool
vxnc.kpaste.net RSS


Untitled
Posted by NotLim on Thu 10th Jul 2014 12:56
raw | new post

  1. export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
  2. export ORACLE_SID=XE
  3. export NLS_LANG=`$ORACLE_HOME/bin/nls_lang.sh`
  4. export PATH=$ORACLE_HOME/bin:$PATH
  5.  
  6. /bin/rm -rf /exportando/exportando_penultima_schemas_old.dmp /exportando/exportando_penultima_schemas_old.log
  7.  
  8. mv /exportando/exportando_penultima_schemas.dmp /exportando/exportando_penultima_schemas_old.dmp
  9. mv /exportando/exportando_penultima_schemas.log /exportando/exportando_penultima_schemas_old.log
  10.  
  11. mv /exportando/exportando_ultima_schemas.dmp /exportando/exportando_penultima_schemas.dmp
  12. mv /exportando/exportando_ultima_schemas.log /exportando/exportando_penultima_schemas.log
  13.  
  14. expdp system/vixonic directory=exportandoslash schemas=VIXONIC dumpfile=exportando_ultima_schemas.dmp logfile=exportando_ultima_schemas.log
  15.  
  16. /usr/bin/rsync -ogycpvrthl --exclude '*.log*' --delete-after --progress --port 59873 /exportando/ usuario@serverchileno::directoriooracle
  17.  
  18. /usr/bin/rsync -ogcpvrthl --delete-during --progress --port 59873 /usr/share/tomcat6/webapps/KNA/ usuario@serverchileno::caenea
  19.  
  20. /usr/bin/ssh -i /root/c/cl.lala serverchileno '/bin/bash /root/importando_bdd.sh'

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at