完全备份:
exp_comp.sh:
$rq=date + "%m%d"
su - oracle -c "exp system/manager full=y inctype=complete file=/oracle/export/db_comp$rq.dmp";
exp_comp.sh:
$rq=date + "%m%d"
su - oracle -c "exp system/manager full=y inctype=complete file=/oracle/export/db_comp$rq.dmp";
变化部分为每次导出的日期。路径默认为C盘,你可以改变。