RMAN-06004: error recovery catalog database ORACLE

Hi all

I'm new to the RMAN module, please help me solve the error below.
Recovery Manager: Release 9.2.0.6.0 - Production

Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.

connected to target database: DB96 (DBID=2450380394)
connected to recovery catalog database

RMAN> CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '\\10.101.22.80\Backup\Rman\Prologs\DB96/DB96_FULL_%T_%U.rman' MAXPIECESIZE 4 G; 
2> CONFIGURE CONTROLFILE AUTOBACKUP ON; 
3> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '\\10.101.22.80\Backup\Rman\Prologs\DB96/DB96_ctlfile_%F'; 
4> CONFIGURE RETENTION POLICY TO REDUNDANCY 1; 
5> shutdown immediate; 
6> startup mount; 
7> backup database; 
8> CROSSCHECK BACKUP; 
9> DELETE NOPROMPT OBSOLETE; 
10> alter database open; 
11> list backup summary; 
12> exit;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of configure command at 06/20/2011 11:31:55
RMAN-06004: ORACLE error from recovery catalog database:
 
RMAN-20001: target database not found in recovery catalog
Recovery Manager complete.
Please do the neeful.

Kind regards
Jame

Jame,

connect to retrieve catalog owner user (RMAN) using SQLPLUS on the catalog database and run the following query.

SQL> select * from rc_database;

Another thing is, check, if your catalog is accidentally created in the target database or you sure sound in a separate database (possibly on a separate server).

Thank you
RANA

Published by: RANA June 20, 2011 17:08

Published by: RANA June 20, 2011 17:41

Tags: Database

Similar Questions

  • RMAN-06004: ORACLE recovery catalog database error: ORA-03113: end - of -

    Hello

    I experience backup scripts. because once done, she will move to pod pre box.

    Database runs in mode archvelog
    I have lgged in the dbserver himself.

    the shell scripts is:
    #! / usr/bin/sh
    source. / game - env # this file will have ID password for catalogue and the target sources
    echo executing command: database Backup
    ECHO
    RMAN TARGET $dbuser / $dbpwd$ rmandb CATALOG $rmanuser/$rmanpwd@$rmandb < < eof
    Run {}
    stop immediately;
    start-up;
    }
    expressions of folklore
    output


    When I run, I get the following error

    connected to target database: HERMESQA (DBID = 3819666523)
    connected to the recovery catalog database

    RMAN > 2 > 3 > 4 > 5 >
    database closed
    dismounted database
    Instance Oracle to close

    connected to the database target (not started)
    Oracle instance started
    mounted database
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the boot command at 11/06/2009 11:27:54
    RMAN-06004: the recovery catalog database ORACLE error: ORA-03113: end of file on communication channel

    could you suggest where I have error.

    Thank you
    Benjamin Gopal

    Do not back up the database using the same catalog of recovery recovery catalog of accommodation. You could just try it back up without a recovery catalog and to ensure that this database has an automatic backup of controlfile, for example.

  • RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target

    Hello

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to 2009-03-31 21:59:24
    RMAN-03014: implicit recovery catalog Resync failed
    RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target not found in the recovery catalog database


    I get the above error while taking backup RMAN Level0. I am able to connect to the database of the catalogue without any problem.

    I already have this registry database command in RMAN prompt. Now I am able to see backup list but I don't know how that DB asking to sign up for today. Until yesterday, the backups were running fine btu today his application to enter the catalog DB.

    Here we manually to connect the catalogue in this way
    rman target $ /.
    RMAN > catalog connection rmanuser/password @ < globalcatalogDB >
    connected.

    After that if I give this command means...

    RMAN > backup from the list of database;
    I get the error I pasted at the earliest.

    Thanks in advance.

    If you do not have a catalog, you need not to save the database. Rely you only on the target database controlfile. If you use a catalog, you must save the target database, but only once. If you sometimes use a catalog - and sometimes not--the appropriate command is RESYNC (although in many cases RMAN automatically done).

    Werner

  • RMAN-04004: recovery catalog database error: ORA-12170: TNS: connect the ti

    Hello:

    Last night ' RMAN backup error: ' RMAN-04004: recovery catalog database error: ORA-12170: TNS: Connect timeout.

    I can sqlplus to the target database and the catalog database. The listener is in place. What is the problem? What should I check?

    Thanks in advance for your help.

    in the oratest/orapass@rmandb1 CATALOG,.

    rmandb1 is the name of the service. normally the name of the service and the name of db are kept same.

    check rmandb1 tnsping where you try to run ' RMAN TARGET / CATALOG oratest/orapass@rmandb1 "command.

    as optput will get the ip address of the server on which db is resident, no port, Protocol

    as

    ---------

    [Oracle@RAC3 ~] $ tnsping orcl

    AMT Ping utility for Linux: Version 10.2.0.5.0 - Production on December 23, 2011 21:12:20

    Copyright (c) 1997, 2010, Oracle. All rights reserved.

    Use settings files:
    /opt/app/Oracle/product/DB/10.2.1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac3.rajesh.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (10 ms)
    -------------------------------

    Here the HOST = rac3.rajesh.com is the present db Server

    Published by: Rajesh.Rathod on December 23, 2011 07:43

  • RMAN-20001: target not found in the recovery catalog database

    I'm practicing the loss of all control files. I have backups of catalog rman configured for controlfile autobackup. So far, I did this.


    RMAN > startup nomount;
    Oracle instance started

    Total System Global Area 209715200 bytes

    Bytes of size 1272864 fixed
    155190240 variable size bytes
    Buffers 50331648 database bytes
    Redo buffers 2920448 bytes


    RMAN > restore controlfile autobackup.

    From restoration to SEPT. 08.-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 156 devtype = DISK

    field of recovery destination: / u02/flash_recovery
    name of database (or unique name of database) used for research: TEST
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: /u02/flash_recovery/TEST/autobackup/2009_12_09/o1_mf_s_705171034_5l0kgv4o_.bkp
    channel ORA_DISK_1: restore full automatic backup of control file
    output filename=/u02/control_files/TEST/control02.ctl
    output filename=/u03/oradata/TEST/control03.ctl
    Restoration finished in 08-SEVEN.-10

    RMAN > change the editing of the database;

    mounted database
    output channel: ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure to modify the order db at 08/09/2010 14:54:50
    RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target not found in the recovery catalog database


    I guess it has something to do with the DBID but... I don't have and I do not know how to find.

    Hello
    Try this
    RMAN > Connect target /.
    RMAN > Connect catalog rman/rman@test
    RMAN > startup nomount;
    RMAN > list backup of controlfile;

  • RMAN without a recovery catalog

    Hello
    I am new to Rman.I'm with Rman without a cold backup recovery catalog in Oracle 10 g XE for Windows xp.

    I created a TEST user and a Table "track" then inserted five values in this table before the backup.

    SQL > select * from track;

    NAME
    ----------
    1
    2
    3
    4
    5

    Then, I have performed as a result of the things in the Rman prompt


    C:\ > rman target sys/Nicolas =

    Recovery Manager: Release 10.2.0.1.0 - Production on Mon Apr 13 15:59:12 2009

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    connected to target database: XE (DBID = 2565048153)

    RMAN > shutdown immediate;

    RMAN > bootable media.
    RMAN > backup database; It happened with success.
    RMAN > alter database open;


    then I logged in test

    SQL > conn test/test
    SQL > delete the path whose name in ('2 ', ' 4');
    2 deleted rows.
    SQL > commit;
    SQL > select * from track;

    NAME
    ----------
    1
    3
    5

    SQL > "exit";

    Now, I am connected to Rman


    c:\ > Rman target sys/Nicolas

    RMAN > shutdown immediate;
    RMAN > bootable media.
    RMAN > restore database;
    RMAN > restore database;
    RMAN > alter database open;


    then I logged in

    SQL > connect test/test

    SQL > select * from track;

    NAME
    ----------
    1
    3
    5


    I don't have the value 2, 4.is it correct.otherwise I need to give change switch logfile and change the system checkpoint prior to backup.

    everyone knows that help out me.

    Thank you

    with respect,

    Published by: user3266490 on April 13, 2009 03:45

    You delete a line, is not failure, follow. (do not delete the line)

    1. on the table, you have 3 rows,
    2 backup database
    3 insetr line table 2
    4 delete datafile
    5 restore and recover datafile

    you will see les5 table rows

  • RMAN restore error - recovery of media asking unknown journal: thread 1 seq 7

    IM using RMAN to copy a database to another server. The new server is IDENTICAL to the former. By identical I mean she has the same break the name, ip address, operating system, directory structure and the Oracle version.

    The new server has already created instance, (same name as the old server example, paths etc.)

    The backup files have been restored manually on the new server, the same places that they were on the old. (RMAN makes a backup controlfile automatic and also the archivelogs on the old server).

    Ive restored the control file to the new server from the elements of RMAN backup.

    Ive cataloged items of RMAN backup on the new server.

    I know that the last available in the backup of the archivelogs sequence running on the new server:

    backup from the list of the archivelog all;

    List of backup sets
    ===================

    Time of accomplishment time BS key size Device Type
    ------- ---------- ----------- ------------ ---------------
    14,43 5 M DISK 00:00:03 11 MAY 11
    BP key: 9 situation: AVAILABLE Tablet: NO Tag: TAG20110511T163502
    Part name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\
    011_05_11\O1_MF_ANNNN_TAG20110511T163502_6WOC5833_. BKP

    List of newspapers archived on backup the value 5
    The next time that THRD Seq YVERT low low time next YVERT
    ---- ------- ---------- --------- ---------- ---------
    1 2 550217 10 MAY 11 556559 11 MAY 11
    1 3 556559 11 MAY 11 559776 11 MAY 11
    1 4 559776 11 MAY 11 560093 11 MAY 11
    1 5 560093 11 MAY 11 560794 11 MAY 11

    Time of accomplishment time BS key size Device Type
    ------- ---------- ----------- ------------ ---------------
    RECORD OF 15.50 K 7 00:00:01 11 MAY 11
    BP key: 10 location: AVAILABLE Tablet: NO Tag: TAG20110511T163653
    Part name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\
    011_05_11\O1_MF_ANNNN_TAG20110511T163653_6WOC8PMP_. BKP

    List of newspapers archived in backup set 7
    The next time that THRD Seq YVERT low low time next YVERT
    ---- ------- ---------- --------- ---------- ---------
    1 6 560794 11 MAY 11 560851 11 MAY 11


    So far its all perfectly fine.

    Now I want to restore the data files and recover. So I ran:

    RMAN run {restore database; recover database; alter database open resetlogs ;}}

    This gave me the result below is going very well, but I get a final error, I think that the error is because its search for an archive log that is not in the backup set, but it should be. However, I think 560851 SNA is for a journal that had not yet been created on the old server when the backup was run?

    I address, how to fix the error? Its interesting to note the journal, "archive log filename=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\ARCHIVELOG".
    \2011_05_11\O1_MF_1_6_6WOK1X4W_. ARCH-recid = 10 = 750881741 "stamp is not on the old server or which explains why this isn't in the backup set.

    I can do an alter database open reset connects but Id prefer to know why its failure.


    Any help would be appreciated.

    ........................................................


    RMAN > run {restore database, recover databases; alter database open resetlogs ;}}

    From restoration to 11 May 11
    using channel ORA_DISK_1

    channel ORA_DISK_1: from datafile backupset restoration
    channel ORA_DISK_1: specifying datafile (s) to restore from backup set
    restoring datafile 00001 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\SYSTEM01. DBF
    restoring datafile 00002 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\UNDOTBS01. DBF
    restoring datafile 00003 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\SYSAUX01. DBF
    restoring datafile 00004 to C:\ORACLE\PRODUCT\10.2.0\ORADATA\SAT\USERS01. DBF
    channel ORA_DISK_1: backup C:\ORACLE\PRODUCT\10.2.0\FLASH_REC piece reading
    OVERY_AREA\SAT\BACKUPSET\2011_05_11\O1_MF_NNNDF_TAG20110511T163507_6WOC5CM7_. BKP

    channel ORA_DISK_1: restored the backup part 1
    room handle=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\2011_05_
    11\O1_MF_NNNDF_TAG20110511T163507_6WOC5CM7_. Tag BKP = TAG20110511T163507
    channel ORA_DISK_1: restore complete, duration: 00:00:55
    Restoration finished in 11 May 11


    From back to 11 May 11
    using channel ORA_DISK_1

    starting media recovery

    channel ORA_DISK_1: from the archives to default destination log restore
    channel ORA_DISK_1: restore the newspaper archive
    archive log thread = 1 sequence = 6
    channel ORA_DISK_1: backup C:\ORACLE\PRODUCT\10.2.0\FLASH_REC piece reading
    OVERY_AREA\SAT\BACKUPSET\2011_05_11\O1_MF_ANNNN_TAG20110511T163653_6WOC8PMP_. BKP

    channel ORA_DISK_1: restored the backup part 1
    room handle=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\BACKUPSET\2011_05_
    11\O1_MF_ANNNN_TAG20110511T163653_6WOC8PMP_. Tag BKP = TAG20110511T163653
    channel ORA_DISK_1: restore complete, duration: 00:00:01
    archive log filename=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\ARCHIVELOG
    \2011_05_11\O1_MF_1_6_6WOK1X4W_. Wire ARC = 1 sequence = 6
    default channel: delete records or newspapers
    archive log filename=C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\SAT\ARCHIVELOG
    \2011_05_11\O1_MF_1_6_6WOK1X4W_. ARCH-recid = stamp 10 = 750881741
    Cannot find the log archiving
    archive log thread = 1 sequence = 7
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command recover at 11/05/2011 18:15:42
    RMAN-06054: recovery of media asking unknown journal: thread 1 seq 7 lowscn 560851

    RMAN >

    Published by: user12173666 on May 11, 2011 10:28

    He asked all of the available archives, whenever you give the database recovery, he keeps searching for the next archives, actually these archives are not yet generated, then you can ignore.

    Now just connect to SQL and give

    SQL > alter database open resetlogs;

    It should work.

  • RMAN - 06004:ORACLE error in the recovery catalog. ORA-00904: invalid...

    Hello all,.

    One of our backups RMAN fails with the following error message. Any suggestions would be greatly appreciated.

    ==================================================================================================

    From backup 2008-12-30 22:03:47
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to 2008-12-30 22:03:47
    RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier

    RMAN >
    RMAN > #BACKUP # ARCHIVELOG delete all '% d_bkp_al_ % t_Set % s_Piece %p' entry FORMAT;
    2 >
    3 > # DELETE ARCHIVELOG until ' SYSDATE-7 ";
    4 >
    5 > # check if the database can be restored
    6 > RESTORE DATABASE # VALIDATE;
    7 >
    8 > # check if controlfile can be restored
    9 > #RESTORE # CONTROLFILE to ' / backups/admin/custpr/custpr_bkp_cntlfile.ctl' VALIDATE;
    10 >
    11 > # check if archivelogs for these past two weeks can be restored
    12 > # RESTORE ARCHIVELOG FROM TIME ' SYSDATE-7' VALIDATE ';
    13 >
    14 > #-check all backups on backup media are intact
    15 > # CROSSCHECK BACKUP OF DATABASE;
    16 >
    17 > #-display based on a list of files that need to be stored on the retention
    18 > policy #. For this case study, the files that do not have at least 1 backups
    19 > # will be reported.
    20 > REPORT NEED backup.
    RMAN retention policy apply to the order
    RMAN retention policy is set to 7 days recovery window
    Report of the files whose recovery needs more 7 days of archived newspapers
    Days of files name
    ---- ----- -----------------------------------------------------
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of command report at 2008-12-30 22:03:48
    RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier

    RMAN >
    RMAN > #-remove unnecessary backups. This command deletes the backups based on the
    2 > retention policy of #.
    3 > # commented DELETE OBSOLETE - TSM not configured to remove on 68
    4 > #DELETE # OBSOLETE;
    5 >
    6 > #-complete list of the existing backups
    7 > LIST BACKUP;
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the list command at 2008-12-30 22:03:49
    RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier

    RMAN >
    RMAN > # end of file.
    2 > * end-of-file *.

    RMAN >

    Published by: ORA_UMAIR on December 31, 2008 07:51

    No help is possible.
    You publish a file of newspaper only, and can not see the command that failed.
    Also you include, contrary to the recommendation in the post on Forums label, the complete version number of 4-digit.
    This is important because they either has an error in your script that does not find RMAN or you hit a bug.

    -----
    Sybrand Bakker
    Senior Oracle DBA

  • Error during the registration of RMAN from the primary to the catalog database

    Hi all

    Here we have an environment with db1 (db_unique_name) 10g dataguard as primary and db2 (db_unique_name) Physics of the standby database. Also, we have configured a schema on a third computer as a database of catalog using following steps.

    The measures taken in the catalog database (appsdb):

    SQL > create tablespace rmancatlog_tbs datafile ' / u01/app/oracle/oradata/NEW/rman_catalog.dbf' size 500M autoextend extent management local segment space management auto;

    SQL > create user rman identified by oracle
    2 default tablespace rmancatlog_tbs
    3 unlimited quota on rmancatlog_tbs
    4;

    SQL > GRANT connect, resource, recovery_catalog_owner to rman;

    RMAN > create catalog.
    Recovery catalog created

    AMT added entries of catalog in primary and standby database. Then the primary database, we have tried to register for the catalog database. It shows that it registers. But all queries later rman throws the error. Here are the steps and the error:

    [oracle@db1 ~] $ rman target sys/oracle catalog rman/oracle@appsdb
    Recovery Manager: release 10.2.0.3.0 - Production on Mon Aug 13 21:39:32 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: NIOS (DBID = 1589015669)
    connected to the recovery catalog database

    RMAN > register database;
    registered in the recovery catalog database

    RMAN > outline report;
    Report of the database schema
    List of permanent data files
    ===========================
    Size (MB) Tablespace RB segs Datafile file name
    ----
    -------------------- ------------------------
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of command report to the 08/10/2012 06:16:06
    [RMAN-00600: internal error, arguments [8201] [] [] []]

    Can anyone help on this error?
    Thanks in advance.

    Hello;

    Then, you have to re-create the controlfile to the target database. (Not funny)

    I like to use the method of trace file myself.

    How to recreate a Controlfile [ID 735106.1]

    Best regards

    mseberg

  • ORA-25408: can not read the appeal during a duplicate backup with rman catalog database safely

    Hello

    I did a database duplicate backup with rman catalog connection and got the ORA-25408: cannot read error call safely.

    The catalog database is running in a Data Guard environment.

    During the double process database failover occurred because of a server restart.

    The restore of the data files was successful:

    RMAN-08023: channel t1: restored the backup part 1

    RMAN-08180: channel t1: restoration complete, duration: 00:01:15

    RMAN-03091: finished the restoration at 27.08.2014 09:27:10

    During execution of script memory:

    RMAN-08161: content of the Script from memory:

    {

    switch from clone datafile;

    }

    RMAN-08162: execution of Script memory

    I got this error:

    RMAN-08162: execution of Script memory

    RMAN-08031: output channel: t1

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of Db in dual at 27/08/2014 09:27:10

    RMAN-05501: abandonment of duplicate target database

    RMAN-03015: an error has occurred in the script stored memory Script

    RMAN-06004: ORACLE recovery catalog database error: ORA-25408: cannot read safely call

    Dual boot time: 16:00

    Failover time: 18:00

    Error time: 09:00 the next day

    DB version: 11.2.0.4.0, not the RAC environment, single instances

    That's happened? My My db catalog rman session did not survive? Why the error happened at 09:00 (and not 17:00)? Why the session called the catalog rman during switching of the data files?

    Can someone explain it to me?

    Thank you!

    Hello

    The connection of the RMAN catalog remains inactive during the backup/restore process, once rman completes the task and try to activate the connection it gets error.

    What is expected as you said the rebooted server. If this happens because of the expiration time, we went with the parameter net expire_time to maintain the connection.

    Thank you

    Bigot

  • RMAN throwing errors during backup Tablespace - RMAN-06004 and RMAN-06019

    Hi all.


    Please, help me difficulty trail of the error message I get when trying to backup to a tablespace that is newly added in the database. I'm with RMAN as a method of recovery.

    Tablespace name: test
    Version of DB: Oracle 10g R1.
    OS: Red Hat Linux 5




    RMAN > outline report;

    Report of the database schema

    List of permanent data files
    ===========================
    Size (MB) Tablespace RB segs Datafile file name
    ---- -------- -------------------- ------- ------------------------
    1 490 SYSTEM YES /u01/app/oracle/oradata/qrcl/system01.dbf
    2 25 UNDOTBS1 /u01/app/oracle/oradata/qrcl/undotbs01.dbf YES
    SYSAUX 3 270 NO /u01/app/oracle/oradata/qrcl/sysaux01.dbf
    4 23 USERS NO /u01/app/oracle/oradata/qrcl/users01.dbf
    5 40 TEST NO /u01/app/test01.dbf

    List of temporary files
    =======================
    File Size (MB) (MB) Maxsize Tempfile Tablespace name
    ---- -------- -------------------- ----------- --------------------
    1 20 TEMP /u01/app/oracle/oradata/qrcl/temp01.dbf 32767

    RMAN >





    RMAN > backup tablespace 'test '.

    From 22 August 12 backup
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to 22/08/2012 11:57:13
    RMAN-06004: error ORACLE recovery catalog database: RMAN-20202: tablespace not found in the recovery catalog
    RMAN-06019: could not translate tablespace name 'test '.

    RMAN > restore tablespace test;

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'test': expected an a: 'double-quoted-string, identifier, single-quoted-string '.
    RMAN-01007: in the file column 20 line 1: entry standard



    I tried to update the catalog server but still no luck:

    RMAN > RESYNC CATALOG;

    from full resynchronization of the recovery catalog
    full complete Resync


    Please help.




    Thank you
    Prashant Dixit

    Prashant;

    I took the time to demonstrate using a tablespace that was NOT a reserved word in the hope that you would see how bad idea using a reserved word is.

    A tablespace is a logical structure and it can be almost any other name.

    Why create this problem yourself when there are simple alternatives?

    Time is the most precious thing in my life and I don't know that it's in yours also.

    Please consider using another name of the tablespace.

    ALTER TABLESPACE TEST RENAME OTEST;

    There is no sense, make things more complex, then they already are.

    If this is really not an option then:

    RMAN> backup tablespace "TEST";
    
    Starting backup at 22-AUG-12
    starting full resync of recovery catalog
    full resync complete
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=88 device type=DISK
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00008 name=/u01/oradata/RECOVER2/test05.dbf
    channel ORA_DISK_1: starting piece 1 at 22-AUG-12
    channel ORA_DISK_1: finished piece 1 at 22-AUG-12
    piece handle=/u01/app/oracle/flash_recovery_area/RECOVER2/backupset/2012_08_22/o1_mf_nnndf_TAG20120822T152734_83bj5pt3_.bkp tag=TAG20120822T152734 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 22-AUG-12
    
    Starting Control File and SPFILE Autobackup at 22-AUG-12
    piece handle=/u01/app/oracle/flash_recovery_area/RECOVER2/autobackup/2012_08_22/o1_mf_s_791998056_83bj5rpq_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 22-AUG-12
    

    Best regards

    mseberg

    Published by: mseberg on August 22, 2012 15:27

  • Record number of databases in a recovery catalog

    Hello

    How can register for multiple databases targets unrelated in a unique recovery catalog.

    Suppose I have DEV and TEST databases with different dbid and you wish to register in a single commune RC.

    Kindly advice.

    Thank you

    REDA

    We do this on a regular basis in our shop.

    We will have the DEV and TEST on SERVERA, databases while the catalog RMAN (RMANCAT) is located on server b.

    The entries in tnsnames.ora on ServerB:

    RMANCAT =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = SERVERB)(PORT = 1541))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = rmancat)

    )

    )

    LISTENER_RMANCAT =

    (ADDRESS = (PROTOCOL = TCP) (HOST = SERVERB)(PORT = 1541))

    ----------------------------------------------------------------------------------

    The entries in tnsnames.ora on SERVERA:

    LISTENER_DEV =

    (ADDRESS = (PROTOCOL = TCP) (HOST = SERVERA)(PORT = 1551))

    DEV =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = SERVERA)(PORT = 1551))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = dev.servera.something.com)

    )

    )

    LISTENER_TEST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = SERVERA)(PORT = 1551))

    TEST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = SERVERA)(PORT = 1551))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = test.servera.something.com)

    )

    )

    RMANCAT_SERVERB =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = SERVERB)(PORT = 1541))

    )

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = RMANCAT. SERVERB. SOMETHING.COM)

    )

    )

    -------------------------------------------------------------------

    Establish a connection between DEV & RMANCAT - RMAN catalog RMAN is controlled by a user called rmanusr, and each database also has a user called rmanusr.

    RMAN target rmanusr /> @dev catalogue rmanusr /> @RMANCAT_SERVERB

    After have connected you, you should be able to see the information of DBID, to check that you have the right of database:

    Recovery Manager: release 11.2.0.3.0 - Production on Thu Nov 6 11:44:01, 2014

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    connected to target database: DEV (DBID = 123456789)

    connected to the recovery catalog database

    You should then be able to issue the SAVE command the DATABASE

    ---------------------------------------------------------------------------------------------------------------------------

    Then, establish a separate connection between TEST & RMANCAT:

    RMAN target rmanusr /> rmanusr catalogue @test /> @RMANCAT_SERVERB

    Recovery Manager: release 11.2.0.3.0 - Production on Thu Nov 6 11:44:01, 2014

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    connected to target database: TEST (DBID = 987654321)

    connected to the recovery catalog database

    You can now enter a second order SAVE the DATABASE

    ---------------------------------------------

    When you are connected to one of the connections of RMAN you implemented and after you have recorded the two databases, run:

    RMAN > list incarnation;

    from full resynchronization of the recovery catalog

    full complete Resync

    List of Incarnations of the database

    DB key Inc key STATE ID DB name DB reset reset time SNA

    ------- ------- -------- ---------------- --- ---------- ----------

    123456 2345678 DEV CURRENT 123456789 1 2014-11-06

    654321 8765432 TEST CURRENT 987654321 1 2014 - 11 - 06

  • Information on RMAN catalog database using and any catalog (controlfile)

    Hi all.

    I´d like some clarification on the subjects of RMAN RMAN usage with or without a recovery catalog (database / schema):

    (1) will be the database controfile target always store ALL changes made on RMAN? For example, configure changes persistent RMAN as a retention strategy, controfile autobackup, backup optimization and so forth, these will always record on the target database controlfile, even if we're connecting to RMAN with a recovery catalog?

    (2) what happens if we stop using the recovery catalog? I mean, if you don't use stored scripts and shot through the OS jobs or same EM control database, may continue to use then and do not connect more on the recovery catalog? It will be a problem? My target database stops?

    I will be the legacy a few databases to administer and they connects to a catalog of recovery of database / schema, it's good, but I want to set up my own backup and restore policies / procedures in a two-step process: (1) have each configuration of RMAN database on controlfile, Later (2) in view of the use of the recovery catalog to centralized databases and keep more disk backup and restore.

    Thanks in advance!

    (1) Yes, everything about the structure of data is stored in the controlfile. The location of the backup controlfile is also stored in the controlfile.

    The backup controlfile location is also stored in the catalog if you synchronize to it.

    (2) you can stop immediately using the catalog if you choose, and as long as you have a backup RMAN script file, you can always backup using this file.

    The catalog is used to store the location of the backupsets, and copy image. If you have any scripts to store, it can store these too. Really, it's all done catalog.

    You can back up and restore/recover without a catalog, as long as you know where all backups are retained.

  • Firewall rules RMAN target database and RMAN catalog database

    Hi, we are on Oracle 11.2.0.4 and we just build a new environment, in which case the RMAN catalog is located on a seprate from the target database server. I'm trying to figure if the firewall between these two rules should be two-way, so that the target database and RMAN catalog database can ping each other. If bi-directional rules in place, so what's the reason for this? I understand that during RMAN backup entries are made in the RMAN catalog database, but do not know if the RMAN catalog database must always meet target db. Thank you!

    If you run the rman command on the target database server, it acts as a client to the catalog database server by connecting on sqlnet to the catalog database.

    If you run the rman command on the catalog database server, it's a sqlnet connection join the target database server.

    In both cases, rman is simply a client that connects to the two databases.

    Hemant K Collette

  • How to find databases registered in the recovery catalog.

    I want to know how many registered in the recovery catalog databases

    How can I find it?

    Thank you!

    Dan wrote:
    I want to know how many registered in the recovery catalog databases

    How can I find it?

    Thank you!

    Use the 'RC_DATABASE' in the catalog database

Maybe you are looking for