如何在恢复目录中删除归档日志文件备份的记录?

[复制链接]
查看11 | 回复2 | 2005-4-27 08:46:18 | 显示全部楼层 |阅读模式
RMAN>run{

allocate channel c1 type disk;

backupfilesperset 5archivelog all;

}
备份归档日志文件成功以后,我想在恢复目录中删除这些归档日志备份。先
RMAN>list backup of archivelog all;
找到key值(比如124)以后,
RMAN>allocate channel for delete type disk;
RMAN>change archivelog 124 delete;
RMAN-03022: compiling command: change
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: change
RMAN-06004: ORACLE error from recovery catalog database: RMAN-20240: archived lo
g not found in the recovery catalog
RMAN-06125: error while looking up archivelog key: 129
但事实上,key值为129的归档日志文件备份确实存在呀。
这会是什么原因呢?
回复

使用道具 举报

千问 | 2005-4-27 08:46:18 | 显示全部楼层
change archivelog all delete?
回复

使用道具 举报

千问 | 2005-4-27 08:46:18 | 显示全部楼层
楼主的做法我已经做过了,但那命令把archive目录下生成的所有归档日志文件给删除了。
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行