ORA-19625: error identifying file

Problem Description: rman backup, there have error ORA-19625, invalid file

1. database backup, and then there was an error, not the number of archive log 24

RMAN> run{

2> allocate channel ch_1 type disk;

3> allocate channel ch_2 type disk;

4> backup database format '/u01/app/oracle/oradata/Backup/database_%t_%u_%c.bak';

5> backup archivelog all format '/u01/app/oracle/oradata/Backup/archive_%t_%u_%c.bak';

6> }

 

 

2. Before think it is time to do incremental backups of SCN, the number 24 is deleted archives do not know where the mv or, anyway, is lost, the other documents explain very clearly that this operating system is deleted archive log , but have not backed up, could not find an archive on the wrong. And then execute the following command, found failed for archived log

RMAN> change archivelog all crosscheck; (delete archived physically, but do not know the control file, you need to cross a synchronization message

 

 

 

 

 

 

 3. a beginning not know directly that the implementation of change archivelog all crosscheck; tell this archive control file has to die, can not find on it. And then back up on my local backup path everything is ok, but when rman backup or archive Discovery 24 is backed up into it, did not come here and screenshots below can be backed up to a full bak

RMAN> run{

2> allocate channel ch_1 type disk;

3> allocate channel ch_2 type disk;

4> backup database format '/u01/app/oracle/oradata/Backup/database_%t_%u_%c.bak';

5> backup archivelog all format '/u01/app/oracle/oradata/Backup/archive_%t_%u_%c.bak';

6> }

 

 

 

4.这里就牵扯到另外一条命令:delete expired archivelog all;   这条命令才是同步控制文件和实际物理文件的信息的,之前的change archivelog all crosscheck; 是比较一下控制文件和物理文件的差别的,所以我又把备份文件全都删除,重新备了一遍

删除备份

delete expired archivelog all;  同步信息

重新rman备份

 

 

 

 5.完成

Guess you like

Origin www.cnblogs.com/houzhiheng/p/12067984.html