ITeye博客

linux 务计划 oracle 远程自动备份

zjutsoft · 2012-12-25 16:54 · linux 务计划 oracle 远程自动备份 · 操作系统 · Markdown

Linux 任务计划 crontab -e 编辑任务计划 crontab -r 删除任务计划 crontab -l 查看任务计划。

52 16 * * 0-6 ./backup.sh

52代表分钟 16 代表小时 * 天 * 月 0-6 代表周日-周六 就每天执行这个任务。

rq=date '+%Y%m%d%H%M' su - oracle -c "exp procity_xmjp/US_211xm owner=procity_xmjp file=/ylx/DB_XM/xmjp/xmjp_$rq.dmp"

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。