ORACLE8I怎么做增量备份?

[复制链接]
查看11 | 回复5 | 2015-11-11 09:58:34 | 显示全部楼层 |阅读模式
如题,我们备份时就用EXP倒出的,倒出的文件3G多,得1个来小时才完事,另外还有没有别的好方法啊?
回复

使用道具 举报

千问 | 2015-11-11 09:58:34 | 显示全部楼层
那是你SERVER性能不好
我的3G文件大概用15分鐘的
說說你的硬件狀況
回复

使用道具 举报

千问 | 2015-11-11 09:58:34 | 显示全部楼层
那是你SERVER性能不好
我的3G文件大概用15分鐘的
說說你的硬件狀況和INITSID.ORA配置狀況
回复

使用道具 举报

千问 | 2015-11-11 09:58:34 | 显示全部楼层
不能吧,就是拷文件3G多的文件还得拷一个来小时呢,你用15分钟?
我们的服务器是IBM的,型号忘了,CPU是PIII,1G内存,SCSI硬盘,但我们数据库是装在阵列上的!
回复

使用道具 举报

千问 | 2015-11-11 09:58:34 | 显示全部楼层
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"
回复

使用道具 举报

千问 | 2015-11-11 09:58:34 | 显示全部楼层
## Incremental backup level 1
connect target internal/oracle@oracle8i;
connect rcvcat rman/rman@orcl;
run {
allocate channel t1 type disk format 'e:\incr_backup\incr_%d_%p_%u';
backup incremental level 1
(database);
}
exit
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行