ORA-01146: cannot start online backup – file string is already in backup ORACLE 报错 故障修复 远程处理
文档解释
ORA-01146: cannot start online backup – file string is already in backup
Cause: When starting an online backup it was noticed that an online backup was already started for one of the data files.
Action: End the first backup before beginning another.
ORA-01146错误是一个由Oracle数据库管理员(DBAs)在尝试启动一个在线备份时会遇到的Oracle数据库错误代码。
官方解释
ORA-01146错误是由Oracle数据库引擎报告的,表明无法启动在线备份,因为文件已在备份中。
常见案例
最常见的ORA-01146错误是由一个活动的在线备份发生错误激发的。管理员可能会尝试重新启动该备份,从而导致此错误,因为备份会话早已激活。此外,在某些情况下,可能会发生文件系统错误,该错误可能使管理员无法及时收到文件系统错误消息。
正常处理方法及步骤
1.确定哪个文件夹处于备份模式,可以使用SQL> SELECT name FROM v$datafile_header;命令查看;
2.完成当前的备份然后停止备份任务:SQL> ALTER DATABASE ENDBACKUP;
3.尝试在线备份:SQL> ALTER DATABASE BEGIN BACKUP;