Tibero

게시글 보기
작성자 유건데이타 등록일 2015-08-07
제목 전체백업
아무리봐도 오라클하고 비슷하다...-_-;;;

전체 데이터베이스 모드

전체 데이터베이스 모드는 Tibero데이터베이스 전체를 Export하기 위한 모드로 DBA 만 사용할 수 있는 모드이다. SYS 사용자를 제외한 모든 사용자의 객체를 Export하기 위해 사용한다.

전체 데이터베이스 모드를 사용하려면 다음과 같이 FULL 파라미터를 Y로 설정한다.
FULL=Y




사용자 모드

사용자 모드는 대상 사용자를 지정하고 지정한 사용자가 소유한 모든 스키마 객체를 Export하는 모드이다. 지정한 사용자가 소유한 객체를 Export하기 위해 사용하며 DBA는 하나 이상의 사용자에게 이 모드를 사용할 수 있다.

사용자 모드를 사용하려면 다음과 같이 USER 파라미터를 USER=userlist 형태로 설정한다.
USER=SCOTT, USER1, …




테이블 모드

테이블 모드는 하나 이상의 테이블을 지정하여 그 테이블과 연관된 인덱스 등의 스키마 객체를 함께 Export하는 모드이다.

테이블 모드를 사용하려면 다음과 같이 TABLE 파라미터를 TABLE=tablelist 형태로 설정한다. 주의할 점은 SCOTT.EMP와 같이 테이블을 소유한 사용자를 반드시 명시해야 한다는 것이다.
TABLE=SCOTT.EMP, USER1.TABLE1, …


tbExport 유틸리티를 실행하려면 $HOME/client/bin 디렉터리에서 tbexport 명령어를 입력한다.

tbExport 유틸리티의 실행
$ tbexport username=tibero password=test file=export.dat full=y
$ tbexport cfgfile=export.cfg

tbExport 5.0 - Copyright (c) 2001-2011 Tibero Corporation. All rights reserved.
the entire database: Wed May 04 16:16:08 KST 2011
Export character set: MS949
exporting tablespaces
exporting roles
exporting schema: "TIBERO"
exporting tables
[0] exporting table BONUS no rows exported.
[1] exporting table DEPT 4 rows exported.
[2] exporting table EMP 10 rows exported.
[3] exporting table SALGRADE 5 rows exported.
exporting object privileges
exporting indexes
exporting sequences
exporting views
exporting synonyms
Packing the file...
Export completed successfully: Wed May 04 16:16:20 KST 2011
Comment
등록된 코멘트가 없습니다.