|
// ½Ã°£º° oracle db¹é¾÷ ¹Þ±â
crontab
40 7-23/2,0,2 * * * /opt/oracle/data/oraback.sh
#!/bin/sh
exp userid=user/passwd@listener name file=/opt/oracle/product/backup/nanu`date +%m%d%H.dmp` owner=user
// 3ÀÏÀü ¹é¾÷ ÆÄÀÏ »èÁ¦Çϱâ
b=`date +%m%d`
rm -f /opt/oracle/product/backup/nanu*`expr $b - 03`*
|