rman ORA-19693错误解决

10.2.0.5 on windows 64 bit

现象:从一个 server A拷贝backupset 至另一个server B。在server B上恢复。首先使用‘catalog start with ’编录backupset .

在恢复数据库的时候出现:

RMAN> restore database force;


Starting restore at 31-MAY-14
using channel ORA_DISK_1


channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to E:\ORADATA\TESTDGP\SYSTEM01.DBF
restoring datafile 00002 to E:\ORADATA\TESTDGP\UNDOTBS01.DBF
restoring datafile 00003 to E:\ORADATA\TESTDGP\SYSAUX01.DBF
restoring datafile 00004 to E:\ORADATA\TESTDGP\USERS01.DBF
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/31/2014 10:12:51
ORA-19693: backup piece E:\BAK_04P9JK4Q_1_11 already included

在mos上找到如下文章:ID 288129.1提到恢复的时候backupset只能有一个copy


使用list backup summary:
RMAN> list backup summary;


List of Backups
===============
Key     TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
------- -- -- - ----------- --------------- ------- ------- ---------- ---
4       B  F  A DISK        30-MAY-14       1       3       NO         TAG201405
30T170010
5       B  F  A DISK        30-MAY-14       1       3       NO         TAG201405
30T170010
使用RMAN> list backup of database tag=TAG20140530T170010;列出copies大于1的。

将磁盘的backupset重命名并删除多余的backup 再重新catalog即可。
两种情况:
1 实际backupset只有一份,由于多次catalog造成entries重复。
可以将backupset重命名,重新catalog再crosscheck
备注:这里应该可以用其他方式删除entry??
2 实际backupset就有多分,删除多余backupset再crosscheck

OERR: ORA-19693 backup piece %s already included (文档 ID 288129.1)

APPLIES TO:

Oracle Server - Enterprise Edition - Version 10.1.0.2 and later
Information in this document applies to any platform.
Checked for relevance on 12 Jul 2012

PURPOSE

Provide OERR information for ORA-19693 

DETAILS

{ This note contains error information about an "Oracle Server" error number. It may contain additional support notes as described in Note:22080.1 }

Error:      ORA-19693 
Text:      backup piece %s already included 
---------------------------------------------------------------------------
Cause: This backup piece was already specified for inclusion in the restore conversation. A restore conversation may process only a single instance of a backup piece. 
Action: Remove the specified duplicate backup piece in restore steps and restart the conversation.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值