사용자 도구

사이트 도구


study:oracle:10gadminii:usingrecoverymanager

문서의 이전 판입니다!


Using Recovery Manager

Objectives

  1. RMAN 백업명령으로 backup sets 과 image copies 를 만든다.
  2. RMAN을 통해 backups과 image copies를 관리한다.

Issuing Recovery Manager Commands

interactive client RMAN 명령어 직접 이용
analysis, reports, stored scripts 사용
Bactch mode 자동화된 작업이용
RMAN 시작시 명령파일 실행
정보를 로그파일로 설정
Pipe interface PIPE 명령어 이용하기
RMAN 세션과 외부 어플리케이션을 이용하여 데이타 통신하기

RMAN Command Overview

RMAN Commands

RMAN 명령 타입

Stand-alone RMAN 프롬프트에서 한줄씩 실행한다
RUN 을 통한 서브 명령을 이용할 수 없다
Job RUN 의 괄호를 이용해야 한다
그룹 실행이 가능하다
Stand-alone 또는 job RMAN 프롬프트와 RUN 을 이용하여 실행할 수 있다
RUN의 괄호와 그룹 실행을 할 수 있다

Job Command: Example

RMAN> RUN {
2> BACKUP AS BACKUPSET
3> FORMAT '/u01/db01/backup/%d_%s_%p'
4> DURATION 10:00 MINIMIZE LOAD
5> (DATABASE);
6> SQL 'alter system archive log current';
7> }

The BACKUP Command

RMAN> BACKUP AS BACKUPSET
2> FORMAT '/BACKUP/df_%d_%s_%p.bus'
3> TABLESPACE hr_data;

Backup Constraints

백업 제한사항

  1. 데이타베이스는 mounted 이거나 open 상태이어야 한다.
  2. Online redo log 백업은 지원하지 않는다.
  3. clean 백업만 NOARCHIVELOG 모드에서 지원된다.
  4. current 데이타파일 백업만 ARCHIVELOG 모드에서 지원된다.

Parallelization of Backup Sets

멀티채널 할당과 각 채널에 포함된 데이타

Compressed Backups

RMAN> CONFIGURE DEVICE TYPE
2> DISK PARALLELISM 2
3> BACKUP TYPE TO
4> COMPRESSED BACKUPSET;

Image Copy

RMAN> BACKUP AS COPY
2> DATAFILE '/ORADATA/users_01_db01.dbf'
3> FORMAT '/BACKUP/users01.dbf' tag=DF3;

RMAN> BACKUP AS COPY
4> ARCHIVELOG LIKE 'arch_1060.arc'
5> FORMAT 'arch_1060.bak';
  1. Image Copy는 single data file, archived redo log, control file 들의 복사하는 것이다.
  2. Image Copy는 OS의 복사(copy) 명령어로 백업되어 진다.

Tags for Backups and Image Copies

tag 는 백업셋(backup set)이나 image copy에 할당된 논리적 이름이다.

BACKUP Options

Backing Up Archived Redo Logs

Copying the Whole Database

Making Incremental Backups

Incremental Backup: Example

Block Change Tracking

Enabling Block Change Tracking

Incrementally Updating Backups

LIST Command Operations

The REPORT Command

The REPORT NEED BACKUP Command

REPORT NEED BACKUP: Examples

REPORT OBSOLETE and DELETE OBSOLETE

Managing Backups with EM

RMAN Dynamic Views

Monitoring RMAN Backups

Summary

Practice Overview: Using RMAN

study/oracle/10gadminii/usingrecoverymanager.1206815055.txt.gz · 마지막으로 수정됨: 2008/03/30 03:24 저자 starlits