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

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

  • The backup of Duplication without a target and recovery catalog connection-oriented

    Hello
    We need restore a database - it's now my idea of using replication backup without a target and recovery catalog connection-oriented (I don't want to disturb the source database and we do not use a recovery catalog).
    Backups are stored on tapes (by Omniback from HP).

    The syntax should be like this:

    duplicated to dup_db database
    until ' to_date (May 2, 2012 02:00, ' ' the HH24: MI: SS DD/MM/YYYY).
    SPFile
    location of backup '?
    nofilenamecheck;

    We must use the backup from May 2, 2012 - so it's my understanding that we need to use the clause "until" to_date (May 2, 2012 02:00, ' ' JJ/MM/AAAA HH24:MI:SS) "."

    But because the backup is located on the Strip I do not know the value of "backup location. I thought that the name of Omniback backup could be used, but that has not worked.

    Now my questions are:
    -is it possible to restore a database as shown with the option-double?
    - and does the job "until" in this case?

    Any help will be appreciated.

    Rgds
    JH

    Hello

    Unfortunately, you forgot to say which version of the database, it has a double option without a recovery catalog and without connection to the main DB was introduced with 11.2 (if 11.2.0.2).

    And as you can see here:

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmdupdb.htm

    you need a backup of disk based to use it.

    "A location of disk backup that contains all backups or copies for reproduction must be available for the destination host".

    Concerning
    Sebastian

  • 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

  • What is the recommendation on the backup of a recovery catalog?

    While I understand "benefits of using recovery catalog as the RMAN Repository ' as described in

    http://download-UK.Oracle.com/docs/CD/B10501_01/server.920/a96566/rcmquick.htm#442214

    as well as things to note if you are using the unique control as the rman repository file,

    as described in "Monitoring the overwhelming control file Records" in http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmrepos.htm#446924

    I do not understand why in Backup and Recovery Advanced User Guide
    http://download.Oracle.com/docs/CD/B14117_01/server.101/B10734/rcmrepos.htm

    "Save often Recovery Catalog"

    Even if you need to restore the recovery catalog database by using a backup control file, you can use full backups folder in your catalog database restored recovery to restore the database target without using a backup of the target database control file.

    = > implies without doubt that we can use a different catalog of recovery we'll call it backupbackup to restore the recovery catalog

    "Choose the appropriate method for physical backups.

    Follow these steps when developing a strategy for RMAN backup to the recovery catalog database:

    * Run in ARCHIVELOG mode recovery catalog database so that you can do point-in-time recovery if necessary.
    * Set the retention policy to REDUNDANCY greater than 1.
    * Save the database on two separate media (for example, disks and tapes).
    * Run the base BACKUP of DATA PLUS ARCHIVELOG at regular intervals, to a Media Manager if available, or simply to drive.
    * Do not use a different catalog recovery as a repository for backups. = > This is in contradiction with the previous declaration
    * Set up automatic backup of control file on IT.

    so can I know what is the recommendation on the backup of a recovery catalog? should I use another recovery catalog to keep deposits from rman of the main primary catalog or simply use a feature of automatic backup of control file?

    Thank you

    To Catalog backup recovery, it is recommended to enable autobackup controlfile ON and save in nocatalog mode (IE without another recovery catalog).

    The doc States that: "even if you have to restore the database catalog of recovery using a backup control file, you can then use the full record of backups in your database to catalog recovery restored to restore the target database without using a backup of the target database control file.".

    What this means, is-
    The target database backup files are stored in the recovery catalog schema tables, not in the controlfile recovery catalog. When you are using a control file backup and restores them recover from the recovery catalog database, you won't lose target database backup files.

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

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

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

  • Controlfile using recovery catalog update

    Hello

    I use OEL 5.4 with 11.2.03 like db and tried to play with a scenario where I lose all the controlfile but I controlfile stuff in the trace file. Here are the steps at a high level that I made:

    one) took a backup when you are connected to the recovery catalog.

    (b) using the sql, run 'alter database backup controlfile to trace. "

    (c) shutdown abort;

    (d) controlfile re-created using NORESETLOG option mentioned in the trace file. (trace file has been generated through step (b))

    (e) connected back the PB with the recovery catalog and I see THAT RMAN shows any backup taken in step (a).

    (f) now connected target dB without recovery catalog rman and I do not see the backup. How can I sync the file to control recovery catalog content?


    I know

    RMAN > catalog resync;


    but that can be synchronized controlfile content for catalog instead of in front I... e resync controlfile;


    Just looking for a simple syntax, I hope that there is one rather than make "catalog begins with 'blah blah'... I tried looking in docs, could not find. I have to do something wrong...


    -Learner



    This information loss is a serious risk when you run CREATE CONTROLFILE.  It is better to RESTORE CONTROLFILE.

    You know already the command CATALOGUE START WITH (but that only works with backup to disk).

    By Note # 1082901.1 configuration information are copied from the catalog to the controlfile.  But there is no information on the copy of information about backups (backuppieces) and the archivelogs.

    Hemant K Collette

Maybe you are looking for