Oracle 10G Export Günlük Yedek Dosyası Komutları (Linux İçin)

export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1;

export ORACLE_SID=orcl2;

/bin/rm -f /home/oracle/yedek/yedek.dmp;

/bin/rm -f /home/oracle/yedek/yedek.log;

#/bin/rm -f /home/oracle/yedek/*.rar;

/u01/app/oracle/product/10.2.0/db_1/bin/expdp system/ora1986 full=yes directory=yedek dumpfile=yedek.dmp logfile=yedek.log;

rar a -ag-DD-MM-YYYY-HH-MM /home/oracle/yedek/ydkdmp /home/oracle/yedek/yedek.dmp;

rar a -ag-DD-MM-YYYY-HH-MM /home/oracle/yedek/ydklog /home/oracle/yedek/yedek.log;

Bir cevap yazın