#!/bin/bashexportbk_time=`date`exportPATHexportEDITOR=viexportORACLE_SID=ncdbexportORACLE_BASE=/data/u01/app/oracleexportORACLE_HOME=$ORACLE_BASE/product/11.2.0.4/db_1exportPATH=/usr/sbin:$PATHexportPATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/binexportORACLE_TERM=xtermexportLD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/libexportCLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jl...
#!/bin/bashsource~/.bash_profiledays=`date+%Y%m%d`expdpNC65/NC65directory=expdp_dirdumpfile=NC65_$days.dmplogfile=NC65_$days.logschemas=NC65cd/home/data/db_backup/expdp_backup/tar-zcvfNC65_$days.dmp.tar.gzNC65_$days.dmpNC65_$days.log#cd/home/data/db_backup/expdp_backup/#tar-zcvfNC65_$days.log.tar.gzNC65_$days.logfind/home/data/db_backup/expdp_backup/-typef-name*.dmp-execrm-rf{}\;find/home/data/db_backup/expdp_backup/-typef-name*.log-execrm-rf{}\;find/home/data/db_backup/expdp_backup/-mtime+7-name*.dmp.tar.gz-execrm-rf{}\;
#!/bin/bashexportbk_time=`date`exportPATHexportEDITOR=viexportORACLE_SID=PROD1exportORACLE_BASE=/u01/app/oracleexportORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1exportPATH=/usr/sbin:$PATHexportPATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/binexportORACLE_TERM=xtermexportLD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/libexportCLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib...
#!/bin/bashsource~/.bash_profiledays=`date+%Y%m%d`#ORACLE_SID����������setORACLE_SID=orclsettns_name=orclsetdumpbame=ncbaksetbakdbhome=/backup/dbbaksetusername=ZHNCsetpasswd=ZHJT86301695exp$username/$passwd@$tns_namefile=$bakdbhome/NC65_$days.dmplog=$bakdbhome/NC65_$days.logfull=ycd/backup/dbbaktar-zcvfNC65_$days.dmp.tar.gzNC65_$days.dmpNC65_$days.logfind/backup/dbbak/-typef-name*.dmp-execrm-rf{}\;find/backup/dbbak/-typef-name*.log-execrm-rf{}\;find/backup/dbbak/-mtime+7-name*.dmp.tar.gz-execrm-rf{}\;
#!/bin/bash#û���������source~/.bash_profileexec>>/home/backup/deletearch/log/del_arch`date+%F-%H`.log$ORACLE_HOME/bin/rmantarget/<
用友软件股份有限公司HBU事业部Linux(SuSE)虚拟机下配置DB2HA王辉wanghui001@ufida.com.cn2009-4-16用友软件股份有限公司HBU事业部说明:撰写本文的目录意在让大家了解Linux平台下搭建DB2HA环境的大致流程,与真实环境的搭建尚存在一些差别,实际操作时请读者自行区分。本例没有安装HA软件,采用手工切换VG的方式来验证数据库是否可用。用友软件股份有限公司HBU事业部一.软件版本虚拟机版本:VmwareDB2版本:express9.5Linux...