请问关于归档恢复脚步在VTL中恢复归档的问题~!
公司是用NETWORKER+EMC CX380的vtl·!通过RMAN脚本来恢复DBF就好正常,但是恢复归档的时候,如果不连接恢复目录,就提示我找不到合适的备份集,如果连接了恢复命令~!在下面的那个界面等你3个小时都没有反应,是不是我的脚步写错呢?请大家帮忙看看~!谢谢~
RMAN> connect catalog aaa/bbb@rman;
connected to recovery catalog database
RMAN> run{
2> allocate channel d1 type 'sbt_tape';
3> send 'nsr_env=(nsr_server=bakserver,nsr_data_volume_pool=t1220,nsr_client=baedserver)';
4> restore archivelog all;
5> release channel d1;}
allocated channel: d1
channel d1: sid=19 devtype=SBT_TAPE
channel d1: NMO v4.2.0.0
sent command to channel: d1
Starting restore at 26-MAY-11
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
RMAN> list backup of archivelog all;
run {
allocate channel t1 type 'sbt_tape' ;
send 'nsr_env=(nsr_server=bakserver,nsr_data_volume_pool=t1220,nsr_client=baedserver)';
set archivelog destination to '/arch';
restore archivelog sequence 1438 thread 1;
restore archivelog sequence 1439 thread 1;
restore archivelog sequence 1440 thread 1;
restore archivelog sequence 1441 thread 1;
release channel t1;}
不行啊·!提示没有找到对应的备份集·!但是我明明备份过得喔·!
RMAN> run{
2> allocate channel d1 type 'sbt_tape';
3> send 'nsr_env=(nsr_server=bakserver,nsr_data_volume_pool=t5220,nsr_client=crmserver)';
4> set archivelog destination to '/sandata/oradata/sehq/archive';
5> restore archivelog sequence 60480 thread 1;
6> release channel d1;}
allocated channel: d1
channel d1: sid=17 devtype=SBT_TAPE
channel d1: NMO v4.2.0.0
sent command to channel: d1
executing command: SET ARCHIVELOG DESTINATION
Starting restore at 27-MAY-11
released channel: d1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/27/2011 17:36:36
RMAN-06026: some targets not found - aborting restore
RMAN-06025: no backup of log thread 1 seq 60480 scn 8212106636549 found to restore
建立个测试环境,然后归档恢复本机,看能不能正常读。
NMO v4.2.0.0 4.2的模块???
脚本没问题,你再描述一下环境和现象吧。3个小时没反应,那3个小时以后有反应了没有?
连接target语句呢?回复数据文件是怎么做的?
4.2很正常,现有环境中很多用户还是用4.2 搭配9的。
问题已解决,lz不来分享经验,扣他分。{:3_189:}