database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
ㆍInformix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Informix Q&A 1091 게시물 읽기
No. 1091
Re: Re: Re: [질문]informix 백업 재설치
작성자
man
작성일
2001-10-23 23:20
조회수
7,378

참고하세여~

 

(1) dbexport 와 dbimport

 

- dbexport : ASCII 파일, dbschema 파일 생성

 

- dbimport : ASCII

 

- DBA 권한이나 informix 유저만 실행가능

 

- disk나 tape 으로 백업 가능

 

(2) dbexport 유틸리티

 

- db에 exclusive lock을 검!

 

- 병렬처리 안함

 

- -ss 옵션 => 서버의 특정 정보 보존 (테이블과 인덱스의 dbs위치, extent size, lock mode etc...)

 

- -b 옵션 => export blob descriptors only

 

(3) 예제

 

- 1-1. $ dbexport stores7 -ss (Enter!)

 

- 1-2. drop datebase stores7

 

- 1-3. $ dbimport stores7 (Enter!) => 복구 완료!

 

- 2. $ dbexport -t /dev/rmt0 -b 1024 -s 102400 -f /tmp/db.sql db_name (Enter!)

 

- 3. $ dbexport -t -c -o /work/exports superstores_demo -ss (Enter!) (-c: fatal error가 없다면 계속 진행시킴)

 

(-q 옵션: 스키마 받는 장면 보지 않기!)

 

(4) dbimport

 

- dbexport 된 것만 받을 수 있다.

 

- create and loads each table prior to building the indexes.

 

- 1. 첫 번째로 db생성, dbimport 시킨 유저가 DBA가 됨

 

2. 관련 schema 생성

 

3. data를 하나하나 시리얼하게 올림

 

(5) 예제

 

- 1. $ dbimport new_db -d <dbspace> -i /work/exports

 

- 2. $ dbimport stores7

 

(6) 성공 조언...

 

- 이기종, 작은 버전차이 조건에선 유효

 

- 서로 다른 machine에서 작업시 유효

 

- export 동안 logging을 off함 (빠른 select를 위해!)

 

- import 동안 PDQPRIORITY를 100으로 설정하는 것이 좋다

 

- 테입보다는 디스크가 좋다

 

도움 되셨기를...

[Top]
No.
제목
작성자
작성일
조회
1094[질문]인포믹스db와 오라클db연동할수 있나요?
이진호
2001-10-24
5235
1105┕>Re: [질문]인포믹스db와 오라클db연동할수 있나요?
purple
2001-10-29 11:45:17
5642
1093dbspace 삭제가 안되여.....부탁 좀..
kisshae5
2001-10-24
5342
1100┕>Re: dbspace 삭제가 안되여.....부탁 좀..
신호
2001-10-26 00:36:22
5687
1089log 활용법이 궁굼해요.
최적화
2001-10-23
5614
1104┕>Re: log 활용법이 궁굼해요. [1]
purple
2001-10-29 10:20:25
6146
1087[질문]informix 백업 재설치
안준언
2001-10-23
6214
1088┕>Re: [질문]informix 백업 재설치
man
2001-10-23 18:38:56
6581
1090 ┕>Re: Re: [질문]informix 백업 재설치
안준언
2001-10-23 22:36:13
6396
1091  ┕>Re: Re: Re: [질문]informix 백업 재설치
man
2001-10-23 23:20:29
7378
1151   ┕>Re: Re: Re: Re: [질문]informix 백업 재설치
황선희
2001-12-04 10:59:22
6708
1092  ┕>Re: Re: Re: [질문]informix 백업 재설치
신호
2001-10-23 23:23:57
6720
1085필요없는 dbspace를 삭제 하려고 하는데요!
김산희
2001-10-19
6487
1086┕>Re: 필요없는 dbspace를 삭제 하려고 하는데요!
신호
2001-10-20 02:29:00
7283
1080oracle이나 ms-sql에서 처럼 스크립트 화일로 table생성 방법 아시는 분~~~?
노현근
2001-10-17
6354
1081┕>Re: oracle이나 ms-sql에서 처럼 스크립트 화일로 table생성 방법 아시는 분~~~?
신호
2001-10-17 23:40:37
6868
1084 ┕>Re: Re: oracle이나 ms-sql에서 처럼 스크립트 화일로 table생성 방법 아시는 분~~~?
man
2001-10-18 13:21:15
7113
1078esql/c (blob type의 최대크기)를 알고싶어요
영미
2001-10-16
6641
1103┕>Re: esql/c (blob type의 최대크기)를 알고싶어요
purple
2001-10-29 10:13:37
7114
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.021초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다