pastebin - collaborative debugging tool
vxnc.kpaste.net RSS


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

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