Não sei se olhei direito, mas pelo output do seu comando LIST BACKUP OF ARCHIVELOG ALL, não consta nenhum backupset com o archive de sequence 5... pode ser isso o motivo do problema.
2017-03-04 16:36 GMT-03:00 [email protected] [oracle_br] < [email protected]>: > > > Obrigado pelo rápido retorno Mulafani. > > > => Localizacao do autobackup > > CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO > '/u01/backup/controlfile/control_file_%F.ctl'; > > => Verificando os backups no diretorio descrito pelo RMAN > > [oracle@oel65 ~]$ cd /u01/backup/controlfile/ > [oracle@oel65 controlfile]$ ls -la > total 73000 > > -rw-r-----. 1 oracle oinstall 10715136 Feb 28 22:36 > control_file_c-2182710439-20170228-0a.ctl > -rw-r-----. 1 oracle oinstall 10715136 Feb 28 22:38 > control_file_c-2182710439-20170228-0b.ctl > -rw-r-----. 1 oracle oinstall 10715136 Feb 28 22:44 > control_file_c-2182710439-20170228-0c.ctl > -rw-r-----. 1 oracle oinstall 10715136 Feb 28 22:48 > control_file_c-2182710439-20170228-0d.ctl > -rw-r-----. 1 oracle oinstall 10715136 Feb 28 23:04 > control_file_c-2182710439-20170228-0e.ctl > -rw-r-----. 1 oracle oinstall 10715136 Feb 28 23:23 > control_file_c-2182710439-20170228-0f.ctl > -rw-r-----. 1 oracle oinstall 10452992 Mar 3 00:08 > control_file_c-2182710439-20170303-00.ctl > > > RMAN> restore controlfile from '/u01/backup/controlfile/ > control_file_c-2182710439-20170303-00.ctl'; > > Eu restaurei o último controlfile > > > Em Sábado, 4 de Março de 2017 16:23, "Rodrigo Mufalani > [email protected] [oracle_br]" <[email protected]> > escreveu: > > > > Verifique qual foi o controlfile que ele restaurou... Na sua pasta de > backup deve ter mais de uma versão do controlfile, ou então faça um catalog > da sua pasta de backup, assim o rman mesmo tendo restaurado um backup do > controlfile mais antigo, pode ter sido anterior a sequence 5 vai conseguir > se resolver. > > Também é legal incluir um antes do backup na sua rotina: > > sql 'alter system archive log current' > > > Atenciosamente, > > <http://www.mufalani.com.br/>Rodrigo Mufalani - Diretor Técnico | > [email protected]<mailto:[email protected]> | +55 21 988 994 > 817 > Mufalani - +55 21 3193 0326 <+55%2021%203193-0326> | Rua Alm Grenfall, > 405, Bl 3, Sl 310, Centro Empresarial > Washington Luiz, Duque de Caxias, RJ | CEP 25085-009 | www.mufalani.com.br > <mailto:[email protected]> > <http://www.mufalani.com.br/>[cid:[email protected]]< > http://www.mufalani.com.br/>[cid:[email protected]] > > > > De: <[email protected]> em nome de "[email protected] > [oracle_br]" <[email protected]> > Responder para: "[email protected]" < > [email protected]> > Data: sábado, 4 de março de 2017 15:56 > Para: Yahoo! Brazil <[email protected]> > Assunto: [oracle_br] Problema ao realizar Recovery > > > Cenario: Oracle EE 12.1 File system > Linux: 6.5 > > > Estava realizando alguns procedimentos de restore/recovery. De diversos > tipos, porém fui realizar um cenário de desastre recovery, deletando todos > os arquivos do servidor, SPFILE, PFILE, TEMPFILE, CONTROLFILE, UNDO, > SYSTEM, TODOS OS DATAFILES e REDO LOGS. > > Até aqui tudo bem, claro que antes do DELETE via SO eu realizei um "backup > database plus archivelog delete input;" > > Procedimentos: > > 1 - set dbid=xxxx > startup nomount; > > 2 - restore spfile from 'diretorio do arquivo de autobackup' > > 3 - shutdown immediate; > > 4 - startup nomount; > > 5 - set dbid=xxx > restore controlfile from 'diretorio do arquivo do autobackup'; > alter database mount; > > 6 - restore database; > > 7 - recover database; > > > RMAN-00571: =========================================================== > RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== > RMAN-00571: =========================================================== > RMAN-03002: failure of recover command at 03/03/2017 00:42:00 > RMAN-06054: media recovery requesting unknown archived log for thread 1 > with sequence 5 and starting SCN of 2919760 > > RMAN> list backup of archivelog all; > > > List of Backup Sets > =================== > > > BS Key Size Device Type Elapsed Time Completion Time > ------- ---------- ----------- ------------ --------------- > 1 8.03M DISK 00:00:03 03-MAR-17 > BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20170303T000613 > Piece Name: > /u01/app/oracle/fast_recovery_area/TERRA1/backupset/2017_03_ > 03/o1_mf_annnn_TAG20170303T000613_dckqfc0t_.bkp > > List of Archived Logs in backup set 1 > Thrd Seq Low SCN Low Time Next SCN Next Time > ---- ------- ---------- --------- ---------- --------- > 1 1 2714039 28-FEB-17 2716249 28-FEB-17 > 1 2 2716249 28-FEB-17 2916252 28-FEB-17 > 1 3 2916252 28-FEB-17 2919637 03-MAR-17 > > BS Key Size Device Type Elapsed Time Completion Time > ------- ---------- ----------- ------------ --------------- > 2 1.81M DISK 00:00:00 03-MAR-17 > BP Key: 2 Status: AVAILABLE Compressed: NO Tag: TAG20170303T000613 > Piece Name: > /u01/app/oracle/fast_recovery_area/TERRA1/backupset/2017_03_ > 03/o1_mf_annnn_TAG20170303T000613_dckqfnoh_.bkp > > List of Archived Logs in backup set 2 > Thrd Seq Low SCN Low Time Next SCN Next Time > ---- ------- ---------- --------- ---------- --------- > 1 1 2711544 28-FEB-17 2714039 28-FEB-17 > > BS Key Size Device Type Elapsed Time Completion Time > ------- ---------- ----------- ------------ --------------- > 3 512.00K DISK 00:00:00 03-MAR-17 > BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20170303T000613 > Piece Name: > /u01/app/oracle/fast_recovery_area/TERRA1/backupset/2017_03_ > 03/o1_mf_annnn_TAG20170303T000613_dckqfp27_.bkp > > List of Archived Logs in backup set 3 > Thrd Seq Low SCN Low Time Next SCN Next Time > ---- ------- ---------- --------- ---------- --------- > 1 71 2711758 28-FEB-17 2712232 28-FEB-17 > > BS Key Size Device Type Elapsed Time Completion Time > ------- ---------- ----------- ------------ --------------- > 4 243.50K DISK 00:00:00 03-MAR-17 > BP Key: 4 Status: AVAILABLE Compressed: NO Tag: TAG20170303T000613 > Piece Name: > /u01/app/oracle/fast_recovery_area/TERRA1/backupset/2017_03_ > 03/o1_mf_annnn_TAG20170303T000613_dckqfqgt_.bkp > > List of Archived Logs in backup set 4 > Thrd Seq Low SCN Low Time Next SCN Next Time > ---- ------- ---------- --------- ---------- --------- > 1 70 2711346 28-FEB-17 2711758 28-FEB-17 > > BS Key Size Device Type Elapsed Time Completion Time > ------- ---------- ----------- ------------ --------------- > 6 39.00K DISK 00:00:00 03-MAR-17 > BP Key: 6 Status: AVAILABLE Compressed: NO Tag: TAG20170303T000817 > Piece Name: > /u01/app/oracle/fast_recovery_area/TERRA1/backupset/2017_03_ > 03/o1_mf_annnn_TAG20170303T000817_dckqk1pk_.bkp > > List of Archived Logs in backup set 6 > Thrd Seq Low SCN Low Time Next SCN Next Time > ---- ------- ---------- --------- ---------- --------- > 1 4 2919637 03-MAR-17 2919760 03-MAR-17 > > BS Key Size Device Type Elapsed Time Completion Time > ------- ---------- ----------- ------------ --------------- > 8 89.85M DISK 00:00:02 28-FEB-17 > BP Key: 8 Status: AVAILABLE Compressed: NO Tag: TAG20170228T223758 > Piece Name: > /u01/app/oracle/fast_recovery_area/TERRA1/backupset/2017_02_ > 28/o1_mf_annnn_TAG20170228T223758_dcd9hqrz_.bkp > > List of Archived Logs in backup set 8 > Thrd Seq Low SCN Low Time Next SCN Next Time > ---- ------- ---------- --------- ---------- --------- > 1 26 2466076 28-FEB-17 2479421 28-FEB-17 > 1 27 2479421 28-FEB-17 2479425 28-FEB-17 > 1 28 2479425 28-FEB-17 2479428 28-FEB-17 > 1 29 2479428 28-FEB-17 2479431 28-FEB-17 > 1 30 2479431 28-FEB-17 2479434 28-FEB-17 > 1 31 2479434 28-FEB-17 2479437 28-FEB-17 > 1 32 2479437 28-FEB-17 2479440 28-FEB-17 > 1 33 2479440 28-FEB-17 2479443 28-FEB-17 > 1 34 2479443 28-FEB-17 2479446 28-FEB-17 > 1 35 2479446 28-FEB-17 2479449 28-FEB-17 > 1 36 2479449 28-FEB-17 2479452 28-FEB-17 > 1 37 2479452 28-FEB-17 2479455 28-FEB-17 > 1 38 2479455 28-FEB-17 2479458 28-FEB-17 > 1 39 2479458 28-FEB-17 2479461 28-FEB-17 > 1 40 2479461 28-FEB-17 2479464 28-FEB-17 > 1 41 2479464 28-FEB-17 2479472 28-FEB-17 > 1 42 2479472 28-FEB-17 2481272 28-FEB-17 > 1 43 2481272 28-FEB-17 2482580 28-FEB-17 > 1 44 2482580 28-FEB-17 2482924 28-FEB-17 > 1 45 2482924 28-FEB-17 2486752 28-FEB-17 > 1 46 2486752 28-FEB-17 2486755 28-FEB-17 > 1 47 2486755 28-FEB-17 2486759 28-FEB-17 > 1 48 2486759 28-FEB-17 2486762 28-FEB-17 > 1 49 2486762 28-FEB-17 2486765 28-FEB-17 > 1 50 2486765 28-FEB-17 2487185 28-FEB-17 > 1 51 2487185 28-FEB-17 2494079 28-FEB-17 > 1 52 2494079 28-FEB-17 2694082 28-FEB-17 > 1 53 2694082 28-FEB-17 2695889 28-FEB-17 > 1 54 2695889 28-FEB-17 2695896 28-FEB-17 > 1 55 2695896 28-FEB-17 2695901 28-FEB-17 > 1 56 2695901 28-FEB-17 2695904 28-FEB-17 > 1 57 2695904 28-FEB-17 2696428 28-FEB-17 > 1 58 2696428 28-FEB-17 2696431 28-FEB-17 > 1 59 2696431 28-FEB-17 2696434 28-FEB-17 > 1 60 2696434 28-FEB-17 2696437 28-FEB-17 > 1 61 2696437 28-FEB-17 2696440 28-FEB-17 > 1 62 2696440 28-FEB-17 2696447 28-FEB-17 > 1 63 2696447 28-FEB-17 2696471 28-FEB-17 > 1 64 2696471 28-FEB-17 2696489 28-FEB-17 > 1 65 2696489 28-FEB-17 2696492 28-FEB-17 > 1 66 2696492 28-FEB-17 2696495 28-FEB-17 > 1 67 2696495 28-FEB-17 2696498 28-FEB-17 > 1 68 2696498 28-FEB-17 2696501 28-FEB-17 > 1 69 2696501 28-FEB-17 2711346 28-FEB-17 > > RMAN> exit > > Gostaria de saber pq ele reclama do archive log de sequence 5 se antes dos > deletes eu realizei backup full do database inclusive dos archives, alguem > pode ajudar a terminar essa recuperação? Como devo proceder e o pq disso > está acontecendo?? > > > [As partes desta mensagem que não continham texto foram removidas] > > > > > -- *Fabrício Pedroso Jorge.* Administrador de Banco de Dados certificacaobd.com.br <http://certificacaodb.com.br> *Resumo Profissional:* http://br.linkedin.com/in/fabriciojorge *Contatos:* + 55 91 988991116 skype: fabricio.pedroso.jorge [email protected]
