ORA-19811: cannot have files in DB_RECOVERY_FILE_DEST with keep attributes ORACLE 报错 故障修复 远程处理

文档解释

ORA-19811: cannot have files in DB_RECOVERY_FILE_DEST with keep attributes

Cause: An attempt was made to 1) Create a backup piece or image copy in the recovery area with KEEP option. 2) Update the KEEP attributes of an existing backup piece or image copy in the recovery area.

Action: Reissue RMAN command without KEEP options.

ORA-19811: 不能在DB_RECOVERY_FILE_DEST存储文件具有保留属性,官方解释是在DB_RECOVERY_FILE_DEST中存储的文件不能包含或者有“保留属性”,该报错主要是因为DB_RECOVERY_FILE_DEST中存在具有保留属性的文件,这个属性会拦截恢复功能,以致无法恢复数据库。

常见案例

一般处理方法及步骤

1)打开cmd窗口,进入DB_RECOVERY_FILE_DEST,查看文件属性

2)将存在不合法文件删除,并检查文件夹属性,将日志文件夹属性设置正确;

3)再次执行恢复操作,查看是否成功恢复;

4)若一切正常可登录数据库;

若恢复中仍然存在此报错,检查当前用户权限,是否具备管理权限;

5)若仍无法恢复,可参考Metalink上关于此报错的Note文档进行处理。


数据运维技术 » ORA-19811: cannot have files in DB_RECOVERY_FILE_DEST with keep attributes ORACLE 报错 故障修复 远程处理