본문 바로가기

DeveloP/Oracle

리눅스 콘솔에서 데이터베이스 백업

oracle 계정으로 접속해서 오라클이 설치된 bin 디렉토리로 이동후~ exp 명령을 사용합니다.
- 전체 데이터베이트 export 방법
[oracle@localhost ~]$ ./exp userid=system/manager file='/home/oracle/full.dmp' full=y

- user별 export 방법
[oracle@localhost ~]$ ./exp userid=scott/tiger file='/home/oracle/scott.dmp