Oracle数据库逻辑备份的SH文件_小米路由器数据恢

日期:2014-06-07 / 人气: / 来源:网络

该Oracle教程将告诉诸位学习Oracle的朋友:Oracle数据库逻辑备份的SH文件。

完全备份的SH文件:exp_comp.sh

rq=` date "%m%d" `

su - oracle -c "exp system/manager full=y inctype=complete file=/oracle/export/db_comp$rq.dmp"

累计备份的SH文件:exp_cumu.sh

rq=` date "%m%d" `

su - oracle -c "exp system/ manager full=y inctype=cumulative file=/oracle/export/db_cumu$rq.dmp"

增量备份的SH文件: exp_incr.sh

rq=` date "%m%d" `

su - oracle -c "exp system/manager full=y inctype=incremental file=/oracle/export/db_incr$rq.dmp"

root用户crontab文件
/var/spool/cron/crontabs/root增加以下内容

0 2 1 * * /oracle/exp_comp.sh

30 2 * * 0-5 /oracle/exp_incr.sh

45 2 * * 6 /oracle/exp_cumu.sh

当然这个时间表可以根据不同的需求来改变的,这只是一个例子。

在Linux下安装Oracle

该Oracle教程将告诉诸位学习Oracle的朋友:在Linux下安装Oracle。 由于Oracle自身比较复杂,在Linux环境下安装要涉及很多方面的因素。本文分两个方面介绍在Linux RedHat 6.0环境下Oracle 8.0.5的安装。 一、调整Linux核心与环境 在安装Oracle之前,应该先对Re

oracle,oracle数据库

作者:管理员




现在致电4006-2991-90 OR 查看更多联系方式 →

Go To Top 回顶部