oracle

推荐列表 站点导航

当前位置:首页 > 数据库 > oracle >

Oracle数据库逻辑备份的SH文件

来源:网络整理  作者:网络  发布时间:2020-12-10 02:02
Oracle数据库逻辑备份的SH文件...

rq=` date +"%m%d" `

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

0 2 1 * * /oracle/exp_comp.sh

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

/var/spool/cron/crontabs/root增加以下内容

正在看的ORACLE教程是:Oracle数据库逻辑备份的SH文件。

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

rq=` date +"%m%d" `

45 2 * * 6 /oracle/exp_cumu.sh

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

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

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

rq=` date +"%m%d" `

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


root用户crontab文件

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

相关热词: oracle oracle数据库

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://www.juheyunku.com/sql/oracle/2010.shtml

Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

Oracle数据库逻辑备份的SH文件

2020-12-10 编辑:网络

rq=` date +"%m%d" `

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

0 2 1 * * /oracle/exp_comp.sh

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

/var/spool/cron/crontabs/root增加以下内容

正在看的ORACLE教程是:Oracle数据库逻辑备份的SH文件。

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

rq=` date +"%m%d" `

45 2 * * 6 /oracle/exp_cumu.sh

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

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

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

rq=` date +"%m%d" `

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


root用户crontab文件

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

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://www.juheyunku.com/sql/oracle/2010.shtml

相关文章

风云图片

推荐阅读

返回oracle频道首页