- Este tópico contém 2 respostas, 2 vozes e foi atualizado pela última vez 14 anos, 11 meses atrás por
braza.
-
AutorPosts
-
13 de abril de 2011 às 5:29 pm #98843
braza
ParticipanteBom dia,
Fui fazer um teste de restore de um banco de dados localizado no host A para um host B. Fiz, com sucesso, o mesmo procedimento para outros bancos de dados, mas para este obtive a seguinte mensagem:
[color=darkred]
RMAN-06560: WARNING: backup set with key 12124 will be read 2 times
available space of 2912912 kb needed to avoid reading the backup set multiple ti
mes
Oracle Error:
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: ‘F:ORACLE_10G_DADOSBD_AJURIAPLICACAO_AJURIDADOSSYST
EM01.DBF’RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 04/13/2011 10:10:32
RMAN-06561: available space must be larger than 1998808 kbRMAN> **end-of-file**[/color]
[color=#444444]
o comando executado foi o seguinte:run {
set newname for datafile 1 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosSYSTEM01.DBF’;
set newname for datafile 2 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosUNDOTBS01.DBF’;
set newname for datafile 3 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosCWMLITE01.DBF’;
set newname for datafile 4 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosDRSYS01.DBF’;
set newname for datafile 5 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosINDX01.DBF’;
set newname for datafile 6 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosODM01.DBF’;
set newname for datafile 7 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosTOOLS01.DBF’;
set newname for datafile 8 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosUSERS01.DBF’;
set newname for datafile 9 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosXDB01.DBF’;
set newname for datafile 10 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosAJURI_DADOS.ORA’;
set newname for datafile 11 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosAJURI_INDICES.ORA’;
set newname for datafile 12 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosARRECADACAO_DADOS.ORA’;
set newname for datafile 13 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosARRECADACAO_INDICES.ORA’;
set newname for datafile 14 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosCLIENTE_DADOS.ORA’;
set newname for datafile 15 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosCLIENTE_INDICES.ORA’;
set newname for datafile 16 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosFATURAS_INDICES.ORA’;
set newname for datafile 17 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosFECHAMENTO_DADOS.ORA’;
set newname for datafile 18 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosFECHAMENTO_INDICES.ORA’;
set newname for datafile 19 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosLANCAMENTO_INDICES.ORA’;
set newname for datafile 20 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosOS_INDICES.ORA’;
set newname for datafile 21 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosFCADAS1.ORA’;
set newname for datafile 22 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosFCONSU1.ORA’;
set newname for datafile 23 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosFENTREG1.ORA’;
set newname for datafile 24 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosHMEDIC1.ORA’;
set newname for datafile 25 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosHMEDID1.ORA’;
set newname for datafile 26 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosLANC1.ORA’;
set newname for datafile 27 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosOCINT1.ORA’;
set newname for datafile 28 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosICMSDOC1.ORA’;
set newname for datafile 29 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosEVUC1.ORA’;
set newname for datafile 30 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosOSER1.ORA’;
set newname for datafile 31 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosHISTORICO_INDICES.ORA’;
set newname for datafile 32 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosTOAD.ORA’;
set newname for datafile 33 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosTESTEBAK.ORA’;
set newname for datafile 34 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosRAMO.ORA’;
set newname for datafile 35 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosW_DADOS.ORA’;
set newname for datafile 36 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosLANC_LIXO.ORA’;
set newname for datafile 37 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosW_DADOS2.ORA’;
set newname for datafile 38 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosFATURAS_COMPLEMENTO.ORA’;
set newname for datafile 39 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosFECHAMENTO_DADOS_2.ORA’;
set newname for datafile 40 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosFCADAS2.ORA’;
set newname for datafile 41 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosEMP_CEAL.ORA’;
set newname for datafile 42 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosAJURI_DADOS2.ORA’;
set newname for datafile 43 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosICMSDOC2.ORA’;
set newname for datafile 44 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosICMSDOC3.ORA’;
set newname for datafile 45 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosW_DADOS3.ORA’;
set newname for datafile 46 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosPERFSTAT_TBS.ORA’;
set newname for datafile 47 to ‘K:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosFCONSU2.ORA’;
set newname for datafile 48 to ‘K:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosW_DADOS3.ORA’;
set newname for datafile 49 to ‘K:oracle_10g_dadosBD_ajuriaplicacao_ajuridados.FCADAS3ORA’;
set newname for datafile 50 to ‘K:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosICMSDOC3_1.ORA’;
set newname for datafile 51 to ‘K:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosFCADAS4.ORA’;
set newname for datafile 52 to ‘K:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosICMSDOC4.ORA’;
set newname for datafile 53 to ‘K:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosFECHAMENTO_DADOS_3.ORA’;
set newname for datafile 54 to ‘K:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosUNDOTBS02.ORA’;
set newname for datafile 55 to ‘K:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosUNDOTBS03.ORA’;
set newname for datafile 56 to ‘F:oracle_10g_dadosBD_ajuriaplicacao_ajuridadosUNDOTBS04.ORA’;set until SCN 5283654007;
restore database;
switch datafile all;recover database;
}
Deu certo para os outros bancos de dados.
Para esse, deu esse erro.
Todos os arquivos de dados foram copiados para o host B, menos os redologs. O RMAN parece que não leu a última parte do backup. Não sei dizer, nunca presenciei esse erro. Preciso de ajuda.
Que espaço é esse que o RMAN reclama ???
Como solucionar esse probleminha ???
Obrigado.
[/color]13 de abril de 2011 às 7:26 pm #98846vieri
Participante// *Cause: An incomplete recovery session was started, but an insufficient
// number of logs were applied to make the file consistent. The
// reported file was not closed cleanly when it was last opened by
// the database. It must be recovered to a time when it was not being
// updated. The most likely cause of this error is forgetting to
// restore the file from a backup before doing incomplete recovery.
// *Action: Either apply more logs until the file is consistent or restore
// the file from an older backup and repeat recovery.A descrição do erro é clara..
vc não levou archives suficientes para equalizar o SCN de todos os datafiles,
na posição 5283654007.tente outra posição ou leve todos os archives da data do backup até a data correspondente a esse SCN.
14 de abril de 2011 às 3:36 pm #98867braza
Participante[quote=”vieri”:126t3xu0]// *Cause: An incomplete recovery session was started, but an insufficient
// number of logs were applied to make the file consistent. The
// reported file was not closed cleanly when it was last opened by
// the database. It must be recovered to a time when it was not being
// updated. The most likely cause of this error is forgetting to
// restore the file from a backup before doing incomplete recovery.
// *Action: Either apply more logs until the file is consistent or restore
// the file from an older backup and repeat recovery.A descrição do erro é clara..
vc não levou archives suficientes para equalizar o SCN de todos os datafiles,
na posição 5283654007.tente outra posição ou leve todos os archives da data do backup até a data correspondente a esse SCN.[/quote]
Valeu Vieri!!!!
Mudei o SCN e ficou tudo certinho.
-
AutorPosts
- Você deve fazer login para responder a este tópico.