본문 바로가기

웹개발

오라클 DB 덤프파일(*.dmp) import

*윈도우11 환경으로 sqlplus 접속하지 않고 진행

 

CMD 콘솔에서 아래 명령어 입력

imp 계정명/계정비밀번호 file='*.dmp 파일의 경로' full=y

 

예1)

C:\>imp 계정명/계정비밀번호 file='*.dmp 파일의 경로' full=y

예2)
C:\>imp scott/scott file='C:\DataBase\oracle\scott.dmp' full=y

 

로그 파일을 남기고 싶다면 명령어에 옵션 추가

예3)

C:\>imp scott/scott file='C:\DataBase\oracle\scott.dmp' full=y log='C:\DataBase\oracle\scott_import.log'

 

 

'웹개발' 카테고리의 다른 글

[PostgreSQL] 날짜 범위 검색 조건  (0) 2023.08.10
DBeaver 컬럼 코멘트 표시  (0) 2023.07.24
[Tibero] tbboot failed  (3) 2022.12.22
SQL Map 아닌 XML editor가 먼저 보이게 설정  (3) 2022.05.24
[이클립스] 공백문자 표시  (2) 2022.05.17