- export RSYNC_PASSWORD=VixoniC,.123456
- 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/ vixonicusa@admin.vixonic.cl::directoriooracle
- /usr/bin/rsync -ogpvrthl --delete-during --progress --port 59873 /usr/share/tomcat6/webapps/KNA/ vixonicusa@admin.vixonic.cl::caenea
- /usr/bin/ssh -i /root/c/cl.lala admin.vixonic.cl '/bin/bash /root/importando_bdd.sh'
Untitled
Posted by NotLim on Thu 10th Jul 2014 12:53
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