DBDBDEEP

RMAN Recovery Catalog 의 Retention 정책 설정


Recovery Catalog 의 Retention 정책을 구성하고 Recovery Catalog 데이터베이스를 백업하는 예제입니다.


1. ORCL 데이터베이스에 대한 환경을 설정합니다.

 $ . oraenv

ORACLE_SID = [orcl] ? orcl


2. 카탈로그를 지정하지 않고 Recovery Catalog 데이터베이스를 Target Database 로 사용하여 RMAN 을 시작합니다.

 $ rman target sys@rcat

target database Password: oracle_4U <<< not displayed

connected to target database: RCAT (DBID= 509448049)

RMAN>


3. Recovery Catalog 에 대한 Retention 정책이 1 보다 큰 Redundancy 로

설정되었는지 확인하고 그렇지 않은 경우 2 이상으로 설정합니다.

RMAN 을 종료합니다.

 RMAN> show retention policy;

using target database control file instead of recovery

catalog

RMAN configuration parameters for database with

db_unique_name RCAT are:

CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default


RMAN> configure retention policy to redundancy 2;


new RMAN configuration parameters:

CONFIGURE RETENTION POLICY TO REDUNDANCY 2;

new RMAN configuration parameters are successfully

stored

RMAN> exit;



이 글을 공유합시다

facebook twitter googleplus kakaoTalk kakaostory naver band