본문 바로가기

개발하자/ORACLE

덤프파일 임포트

덤프파일 임포트

imp goo1/goo1 ignore=y fromuser=scott touser=goo4 file=D:\NEW_SCOTT_10.dmp

 

또는

imp userid=ERP43/ERP43 file='D:\ERP43.DMP' full=y

 

 

 

 

==== 오라클 덤프 파일 뜨기 ====

-기본
명령어프롬프트 > exp
아이디/비번@서비스명(SID)

-옵션(파일명 지정 또는 테이블 지정)
명령어프롬프트 > exp
아이디/비번@서비스명(SID)  tables=테이블명1,테이블명2...  file=파일명.dmp

C:\Documents and Settings\siksco>exp scott/scott@orcl tables=student,lecture,seolkang file=semester.dmp

 

--> SID는 설치할 때 변경하지 않았다면 orcl 이 된다.

 

==== 오라클 덤프 복구 ====

예)

-기본
명령어프롬프트 > imp 아이디/비번 file=파일명.dmp

-옵션 테이블지정
명령어프롬프트 > imp 아이디/비번 file=파일명.dmp tables=테이블명1,테이블명2...