ORA-19873: cannot apply this backup section to file string

文档解释

ORA-19873: cannot apply this backup section to file string

Cause: RMAN cannot restore a multi-section backup to the indicated file, because this section is not a backup of this file, or the file was not prepared correctly for this restore.

Action: If this error occurs while running RMAN, then it is an internal error and you should contact Oracle support.

ORA-19873: 不能将备份部分应用于指定文件

官方解释

ORA-19873 is a generic Oracle error which indicates that an RMAN operation failed due to problem during the attempt to restore a file specified in the error message. The actual problem causing this error may be indicated in the accompanying error message.

常见案例

常见的原因会导致ORA-19873错误:

1.缺少要恢复的文件或对象。

2.对象需要的一些组件如回退段等等在备份集中不存在。

3.备份集已经损坏。

一般处理方法及步骤

警告/错误解决:

第一步:

1.使用RMAN确定RMAN备份是否存在:

RMAN> list backup;

2.用RMAN确定特定文件是否备份:

RMAN> list backup of archivelog all;

3.单独恢复文件:

RMAN > restore datafile ;

第二步:

1.重新创建控制文件: RMAN> restore controlfile from autobackup;

2.重新创建数据库: RMAN> startup nomount;

3.重新分配Datafiles:RMAN> alter database mount;

4.恢复文件: RMAN> restore database;

5.从恢复的日志恢复: RMAN> recover database;

第三步: 使用dbv工具检查文件: dbv file=;

你可能感兴趣的