You are on page 1of 2

Hi,

Standby database is not required to be registered in recovery catalog.


Following error occurs if we try to register standby database.

RMAN> register database;

RMAN-00571:
===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
===============
RMAN-00571:
===========================================================
RMAN-03002: failure of register command at 07/27/2007 01:02:55
RMAN-08040: full resync skipped, control file is not current or backup

The same recovery catalog can be used to manage the backup of primary and standby
database.

Primary Database

C:\> set ORACLE_SID=ora10gr2db1


C:\>rman target / catalog r_cat/r_cat@recat
Recovery Manager: Release 10.2.0.3.0 - Production on Fri Jul 27 00:53:55 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: ORA10GR2 (DBID=3930865674)
connected to recovery catalog database
RMAN> register database;
database registered in recovery catalog
starting full resync of recovery catalog
full resync complete
RMAN>

Standby database

C:\> set ORACLE_SID=stdby


C:\>rman target / catalog r_cat/r_cat@recat
Recovery Manager: Release 10.2.0.3.0 - Production on Fri Jul 27 00:52:34 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: ORA10GR2 (DBID=3930865674, not open)connected to
recovery catalog database
RMAN> backup incremental level 0 database ;
Starting backup at 27-JUL-07
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=159 devtype=DISK
channel ORA_DISK_1: starting incremental level 0 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=C:\ORADATA\ORASTDBY\SYSTEM01.DBF
input datafile fno=00002 name=C:\ORADATA\ORASTDBY\UNDOTBS01.DBF
input datafile fno=00005 name=C:\ORADATA\ORASTDBY\USERS02.DBF
input datafile fno=00003 name=C:\ORADATA\ORASTDBY\SYSAUX01.DBF
input datafile fno=00004 name=C:\ORADATA\ORASTDBY\USERS01.DBF
channel ORA_DISK_1: starting piece 1 at 27-JUL-07
channel ORA_DISK_1: finished piece 1 at 27-JUL-07
piece
handle=C:\FLASH_RECOVERY_AREA\ORASTDBY\BACKUPSET\2007_07_27\O1_
MF_NNND0_TAG20070727T005247_3BLYJZJQ_.BKP
tag=TAG20070727T005247 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting incremental level 0 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
channel ORA_DISK_1: starting piece 1 at 27-JUL-07
channel ORA_DISK_1: finished piece 1 at 27-JUL-07
piece
handle=C:\FLASH_RECOVERY_AREA\ORASTDBY\BACKUPSET\2007_07_27\O1_
MF_NCNN0_TAG20070727T005247_3BLYLG36_.BKP
tag=TAG20070727T005247 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 27-JUL-07

RMAN>

You might also like