RMAN recovery catalog number

Hi all;

Lem I have a probwhen you configure the recovery catalog.

SERVER 01: 192.168.1.105 DB - NAME (db1)

SERVER 02: 192.168.1.106 DB - NAME (db2)

DB1 the TNS alias name is : DBONE -> 192.168.1.105 

db2  the TNS alias name is : DBTWO -> 192.168.1.106

I tried to cash catalog of recovery in db2 to db1. but I encountered some problems.

Already, I have configured listener, tns entered into two servers.

The OS level - in db2 database) (192.168.1.106 server) here's the problem ...

rman catalog username $ / password@tns_aliasname.

I want to know, TNS ALIAS name should be what server what show above the command?

Thanks in advance...

Run rman in your data base (d1) target server (105).  The tns for the catalog alias is dbtwo.

Connect to 192.168.1.105 'oracle' (or the owner of oracle)

value your ORACLE_SID db1

RMAN target / catalog rmn_rc/rmn_rc@dbtwo

Hemant K Collette

Tags: Database

Similar Questions

  • RMAN recovery catalog

    Hi all

    I was wondering in the world of DB oracle 10g or 11g if there is a way to save two catalogs at the same time or multiplex 1 catalog?

    I donot want to use rac, dataguard, or classes of water. I have rcat1 and Roman 2. I would like to backup to the two catalogs recoverey incase it goes down.
    What is the best way to do it?

    Hello

    Oracle 11g has a new feature called virtual private catalog which is a subset of the metadata in a basic recovery catalog to which a database user is granted access. A basic recovery catalog owner can grant or revoke access to the catalog of recovery to other users of the database. Each restricted user has a full read/write access to its own virtual catalog private.

    so you can have more then a catalog

    See this link
    http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28270/rcmcatdb.htm#CHDHIFHB :)

  • How to monitor all RMAN operations using single script in the recovery catalog?

    I use the rman recovery catalog, all databases are stored on the catalog database, is there any script to monitor all the databases that are registered in the recovery catalog.

    I have the script that displays only the last time success of the work of recovery catalog

    SELECT name, Inc., Journal, ctl
    Of
    RMAN.rc_database d,
    (select db_id, to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS') full)
    of s rman.rc_backup_set
    where s.backup_type in (')
    and controlfile_included = 'NONE '.
    Db_id group) f.
    (select db_id, to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS') Inc.)
    of s rman.rc_backup_set
    where s.backup_type ('i')
    Db_id group) i.
    (select db_id, Journal of to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS'))
    of s rman.rc_backup_set
    where s.backup_type ('l')
    l band db_id),
    (select db_key, ctl to_char (max (completion_TIME),' MM/DD / YYYY:HH24:MI:SS'))
    of s rman.rc_backup_controlfile
    Db_key group) c
    where f.db_id (+) = d.dbid
    and i.db_id (+) = d.dbid
    and l.db_id (+) = d.dbid
    and c.db_key (+) = d.db_key
    order by 1;

    Published by: 987633 on February 12, 2013 09:03

    Real!

    Difficult to shoot everything I want in a single query.

    select
            db_name,
            start_time,
            end_time,
            status,
            time_taken_display,
            output_bytes_display,
            output_device_type,
            session_key,
            session_recid,
            session_stamp
    from rc_rman_backup_job_details where end_time > sysdate -1
    

    Best regards

    mseberg

  • 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

  • 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

  • Using the Scheduler to run the rman script directly stored in the recovery catalog

    Hi everyone, I usually automate my backups rman, using either cron or dbms_scheduler to call my stored in a sh file NIX rman scripts.  Everything works fine but anyone know how / if it is possible to call a stored in the recovery catalog rman script. Let's say I have create a script in the catalog:

    RMAN > create script showall

    Comment "just one example of demonstration."

    {

    VIEW ALL;

    }

    Can I use dbms_scheduler to call this script directly? If Yes, how and if not then how can we plan for this or a stored script stored in the rman catalog catalog.  Been looking all over the place, but everything seems to indicate leaving Oracle to call .sh or .bat file.

    Kind regards

    Dave

    Well, let us know the result.

    The link you supplied refers to 12 c Scheduler improvements it seems, it may not be applicable to lower versions of Oracle.

  • 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-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

  • 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 cloning using the recovery catalog

    Hi all

    I do RMAN cloning using the recovery catalog.

    I use oracle 10R2 on solaris, I have a PRIMARY primary database name. I create another database for the catalog name of recovery REC_DB. and the master database with REC_DB record and took the full backup. now I have a full backup of the PRIMARY database in the recovery catalog.

    Now I want to clone the MAIN database using this backup (backup of the catalog).

    I've done this before, without using the catalogue,

    I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.

    RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.

    here target means what? primary or catalog database. kindly help me on this.

    Kind regards
    Kumar

    >

    >

    I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.

    RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.

    here target means what? primary or catalog database. kindly help me on this.

    Looks like it is exactly what you were asking.

    You need to connect to the TARGET, CATALOG & AUXILIARY of the rman prompt instance.
    You then run your script/command clone, which you claim you already know how to do.

  • 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 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-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

  • Location of RMAN recovery

    Hi all;


    Try to learn the concepts of rman recovery.


    RMAN > backup the database archivelog;


    From backup 30 July 14

    Current archived log

    using channel ORA_DISK_1

    channel ORA_DISK_1: from archive newspaper backupset

    channel ORA_DISK_1: specification of archive log backup set

    archive log entry thread = 1 sequence 2 recid = 74 = 854312620 stamp =

    channel ORA_DISK_1: starting total, 1 to July 30, 14

    channel ORA_DISK_1: finished piece 1 to July 30, 14

    piece handle=/u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_30/o1_mf_annnn_TAG20140730T210340_9xl42oq6_.bkp tag = TAG20140730T210340 comment = NONE

    channel ORA_DISK_1: complete set of backups, time: 00:00:02

    Backup finished at 30 July 14

    From backup 30 July 14

    using channel ORA_DISK_1

    channel ORA_DISK_1: from full datafile backupset

    channel ORA_DISK_1: specifying datafile (s) in backupset

    input datafile fno = 00001 name=/u01/app/oracle/oradata/test/system01.dbf

    input datafile fno = name=/u01/app/oracle/oradata/test/undotbs01.dbf 00002

    input datafile fno = name=/u01/app/oracle/oradata/test/sysaux01.dbf 00003

    input datafile fno = name=/u01/app/oracle/oradata/test/users01.dbf 00004

    input datafile fno = 00005 name=/u01/app/oracle/oradata/test/example01.dbf

    input datafile fno = name=/u01/app/oracle/oradata/test/users02.dbf 00006

    input datafile fno = name=/u01/app/oracle/oradata/test/test01.dbf 00007

    channel ORA_DISK_1: starting total, 1 to July 30, 14

    channel ORA_DISK_1: finished piece 1 to July 30, 14

    piece handle=/u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_30/o1_mf_nnndf_TAG20140730T210342_9xl42s7o_.bkp tag = TAG20140730T210342 comment = NONE

    channel ORA_DISK_1: complete set of backups, time: 00:02:16

    channel ORA_DISK_1: from full datafile backupset

    channel ORA_DISK_1: specifying datafile (s) in backupset

    including the current control in backupset file

    including current SPFILE in backupset

    channel ORA_DISK_1: starting total, 1 to July 30, 14

    channel ORA_DISK_1: finished piece 1 to July 30, 14

    piece handle=/u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_30/o1_mf_ncsnf_TAG20140730T210342_9xl4702t_.bkp tag = TAG20140730T210342 comment = NONE

    channel ORA_DISK_1: complete set of backups, time: 00:00:02

    Backup finished at 30 July 14

    SQL > conn / as sysdba

    Connected.

    SQL > archive logs list;

    Database log mode Archive Mode

    Active AutoArchive

    Destination of archive USE_DB_RECOVERY_FILE_DEST

    More old sequence of journal online 2

    Log sequence archive 4

    Current log sequence 4


    SQL > conn gts/gts

    Connected.


    SQL > create table tab1 (identification number, name varchar2 (15));

    Table created.

    SQL > insert into tab1 values (1, "sona");

    1 line of creation.

    SQL > commit;

    Validation complete.

    SQL > update tab1 set name = "S/n";

    1 line update.

    SQL > select * v log$;

    GROUP # THREAD # SEQUENCE # MEMBERS OF ARC STATUS FIRS BYTES

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

    1 1 4 52428800 1 NO CURRENT 30 - J

    2 1 2 52428800 1 INACTIVE YES 30-J

    3 1 3 52428800 1 ACTIVE YES 30-J

    $ rm - rf redo0 *.


    $ ls-l again *.

    LS: do it again *: no such file or directory

    SQL > insert into tab1 values (2, 'sona');

    1 line of creation.

    SQL > insert into tab1 values (3, 'sona');

    1 line of creation.

    SQL > commit;

    Validation complete.

    SQL > startup strength;

    ORACLE instance started.

    Total System Global Area 465567744 bytes

    Bytes of size 1220024 fixed

    96469576 variable size bytes

    364904448 of database buffers bytes

    Redo buffers 2973696 bytes

    Mounted database.

    ORA-00313: open failed for the members of the group log 1 of thread 1

    ORA-00312: thread 1 1 online journal: ' / u01/app/oracle/oradata/test/redo01.log'

    ORA-27037: unable to get file status

    Linux error: 2: no such file or directory

    Additional information: 3

    rman target $ /.

    Recovery Manager: Release 10.2.0.1.0 - Production Wed Jul 30 21:13:47 2014

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

    connected to target database: TEST (DBID = 2152371022, is not open)

    RMAN > run

    2 > {}

    3 > set until sequence 4.

    4 > restore database;

    5 > restore database;

    6 > sql ' alter database open resetlogs;

    {7 >}

    executing command: SET until clause

    using the control file of the target instead of recovery catalog database

    From pick up to 30 July 14

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: sid = 156 devtype = DISK

    starting media recovery

    Oracle error:

    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error

    ORA-01194: file 1 needs a recovery more match

    ORA-01110: data file 1: ' / u01/app/oracle/oradata/test/system01.dbf'

    media recovery complete, duration: 00:00:02

    Finish to recover 30 July 14

    From restoration to July 30, 14

    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 /u01/app/oracle/oradata/test/system01.dbf

    restoring datafile 00002 to /u01/app/oracle/oradata/test/undotbs01.dbf

    restoring datafile 00003 to /u01/app/oracle/oradata/test/sysaux01.dbf

    restoring datafile 00004 in /u01/app/oracle/oradata/test/users01.dbf

    restoring datafile 00005 to /u01/app/oracle/oradata/test/example01.dbf

    restoring datafile to /u01/app/oracle/oradata/test/users02.dbf 00006

    restoring datafile 00007 to /u01/app/oracle/oradata/test/test01.dbf

    channel ORA_DISK_1: backup /u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_30/o1_mf_nnndf_TAG20140730T210342_9xl42s7o_.bkp piece reading

    channel ORA_DISK_1: restored the backup part 1

    piece handle=/u01/app/oracle/flash_recovery_area/TEST/backupset/2014_07_30/o1_mf_nnndf_TAG20140730T210342_9xl42s7o_.bkp tag = TAG20140730T210342

    channel ORA_DISK_1: restore complete, duration: 00:01:37

    Restoration finished in 30 July 14

    SQL statement: alter database open resetlogs

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-03009: failure of the sql command to the default channel on 30/07/2014-21:16:16

    RMAN-11003: failure in parsing / execution of the SQL statement: alter database open resetlogs

    ORA-01152: 1 no file has been restored from a sufficiently old backup

    ORA-01110: data file 1: ' / u01/app/oracle/oradata/test/system01.dbf'

    RMAN > exit

    SQL > startup strength;

    ORACLE instance started.

    Total System Global Area 465567744 bytes

    Bytes of size 1220024 fixed

    96469576 variable size bytes

    364904448 of database buffers bytes

    Redo buffers 2973696 bytes

    Mounted database.

    ORA-01589: must use RESETLOGS or NORESETLOGS option of database open

    SQL > alter database open resetlogs;

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-01152: 1 no file has been restored from a sufficiently old backup

    ORA-01110: data file 1: ' / u01/app/oracle/oradata/test/system01.dbf'

    Why do you get BACK them before the RESTORATION?

    RMAN > run

    2 > {}

    3 > up to sequence 4.

    4 > restore database;

    5 > restore database;

    6 > sql ' alter database open resetlogs;

    {7 >}



    To try:

    RMAN > run

    2 > {}

    3 > up to sequence 4.

    4 > restore database ;

    5 > restore database ;

    6 > sql ' alter database open resetlogs;

    {7 >}


  • A 2 DB instance recovery catalog

    Hello

    I have a up and race catalog rman (catdb) recovery with a recorded case (orcl) in it. How to add another instance (devdb) in my recovery catalog (catdb)?

    Thank you

    You can register a number n of database in the recovery catalog database.

    connect to the database of the registry database and recovery catalog;

    for example:

    Catalog RMAN rman/rman@catalog_database_name target = sys/password@target_db_name =

    RMAN > register database;

    To connect to the catalogue of recovery and the query database;

    SQL > select * from db;
    for example:
    Connect on the demo1 recovery catalog database and as a catalog of recovery user sai;

    SQL> conn sai/sai;
    Connected.
    
    SQL> select * from db;
    
        DB_KEY      DB_ID CURR_DBINC_KEY
    
    ---------- ---------- --------------
    
             1 3710360247              2
    
           141 2484479252            14
    

    check out the link:
    http://oracleinstance.blogspot.com/2009/12/how-to-create-register-add-unregister.html

    Published by: rajeysh on August 16, 2010 10:16

Maybe you are looking for

  • Satellite A300D - 21 d - artifacts in games

    Hello I have a problem whit my Satellite A300D - 21(d), every time when I start a game after the appearance of some objects in minutes. I don't know why. I installed the most recent driver and installed HWMonitor to see the temp of my card, and it is

  • How can I search for hexadecimal number of 32-bit in .csv file

    Hello How can I search for 32-bit in .csv file usinf labview 8.6.1 hexadecimal number

  • Hang & restart problems after Vista updated August 11, 2010

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem

  • Cleaning of hidden files

    I have the total capacity of C drive 128 GB and showed 38.4 GB used space. Total records I checked on PC are only 5 files. When I checked the ability of records is 19.5 GB. Every day after the use of the internet, I cleaned all temporary files, but d

  • Unlocking phones smart blackBerry Bold 9930

    Salvation of the Viet Nam Dear all, I've unlocked my Bold 9930 device by code, but unfortunately I have no input correct code (more than 10 times) and now my camera is impossible unlock more. Please help, do you have a sollution for my device Thank y