LoveUnix » 备份软件 » TSM备份数据库正常,恢复不正常。高手进!
让LU留住您的每

一天 让LU博客留住您的每一天
2008-1-8 20:03 dream
TSM备份数据库正常,恢复不正常。高手进!

用TSM备份数据库的时候,一切正常!但恢复数据库的时候,却挂住了。文件的备份与恢复均是正常的。TSM服务端没任何报错信息。
恢复数据库(ORACLE9I)脚本如下:
rman catalog rman/rman@recvdb target sys/sys@vis msglog=/u01/rman_scripts/rmanbaktest.log <<EOF
run {
allocate channel b1 type 'sbt_tape' parms
'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
restore datafile 18;
recover datafile 18;
sql 'alter database open';
release channel b1;
}
exit;
EOF

日志中显示到restore datafile 18。。。这个地方就挂住了。q mount 卷始终处于IN USE状态。
数据库备份脚本如下:
rman catalog rman/chervonrman@recvdb target sys/sys@vis msglog=/u01/rman_scripts/rmanbaktest.log <<EOF
run {
allocate channel sb1 type 'sbt_tape' parms
'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
backup full format 'prodfull_%u_%p_%c' database DISKRATIO = 0
plus archivelog format 'VISarchive_%d_%T_%s';
release channel sb1;
}
exit;
EOF

2008-1-8 23:23 darkbug
挂住多长时间?

不会一直没有报错吧

2008-1-9 08:37 dream
恢复一个10M的数据文件,挂了1个多小时没有报错。

2008-1-9 12:17 darkbug
q act

2008-1-9 13:16 dream
actlog 没有出任何错误信息。TDPOERROR.LOG也没有错误信息。PATH,DRIVE删除了重建也不行。AUDIT也用了,看来还是不行。

[[i] 本帖最后由 dream 于 2008-1-9 13:17 编辑 [/i]]

2008-1-10 09:43 darkbug
最后一招:

补丁!

2008-1-11 21:25 yddll
表空间offline了吗

2008-1-20 22:50 darkbug
[quote]原帖由 [i]yddll[/i] 于 2008-1-11 21:25 发表 [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=754800&ptid=80593][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url]
表空间offline了吗 [/quote]

oracle恢复流程的问题?这倒是提醒我们了

页: [1]


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.