2014. 11. 4. 11:21

백업 복구시 에러 생김 ㅠ


Database dismounted.

ORACLE instance shut down.


SQL> startup mount;

ORACLE instance started.


Total System Global Area  422670336 bytes

Fixed Size                  1344616 bytes

Variable Size             293604248 bytes

Database Buffers          121634816 bytes

Redo Buffers                6086656 bytes

Database mounted.

SQL> alter database open;

alter database open

*

ERROR at line 1:

ORA-01190: control file or data file 1 is from before the last RESETLOGS

ORA-01110: data file 1: '/data/temp6/system01.dbf'



SQL> recover tablespace system;

ORA-00283: recovery session canceled due to errors

ORA-19909: datafile 1 belongs to an orphan incarnation

ORA-01110: data file 1: '/data/temp6/system01.dbf'



SQL> recover database;

ORA-00283: recovery session canceled due to errors

ORA-19909: datafile 1 belongs to an orphan incarnation

ORA-01110: data file 1: '/data/temp6/system01.dbf'



컨트롤 파일과 데이터 파일이 

리셋로그즈의 시점이 다른 파일을 가지고 와서 

복구 명령어로 실행하고

오픈 하려고 하면 이런 에러가 생긴다. 


리셋로그즈의 여부에 따라 하나는 아마 리셋로그즈전, 하나는 후 


리셋로그즈의 시점이 맞지 않는 컨트롤, 데이터 파일을 가지고 오면 복구 명령어도 먹지 않는다.


결국 close 백업으로 받아놓았던 파일로 모두 덮어쓰고 다시 DB 생성해서 복원해주었다.


'DB > oralce' 카테고리의 다른 글

컨트롤 파일 복구1  (0) 2014.11.04
시점복구시 주의할 사항  (0) 2014.11.04
archive log mode 아카이브 로그 모드 장애 복구  (0) 2014.11.03
recovery 이론 및 dump파일 내용  (0) 2014.11.01
오라클이 시작되는 원리  (0) 2014.10.31
Posted by 성장하는yw