Catalog Database crashed

Hi All Gurus,
I am taking rman backups of 10 database servers using 1 catalog server.Last night one of my datafile in server 7 has been corrupted and it needed recovery.While i try to do recovery i found the catalog server was also corrupted.So BIG problem.
I have rman backups of all servers on tapes and disks but i do not have backup of Catalog database.So Struck here?
Now i want to restore my database's datafile and also catalog database.I search on net but not found any document of how to restore the catalog database and the datafile.
Please help me in this how can i restore datafile of my database as well as how can i restore my catalog database so that it will be in its previous stage.
What will happen to my old rman backs which i taken through my damaged catalog database.How they will be sync. with current catalog database.
Regards
Sahil Soni

Hi Sahil,
Now i want to restore my database's datafileJust connect to the target database (and not the catalog) to restore and recover the corrupt datafile.
For syntax see.
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta051.htm#i85188
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta044.htm#i84135
and also catalog databaseYou could create a new catalog if you have no backup to restore/recover from.
Than register all databases in the new catalog.
Rman backup metadata will automicaly be synchronized from the controlfile to the catalog.
Be aware old rman backup information will age out of the controlfile due to the setting control_file_record_keep_time.
So the old catalog might have had more information in it.
Regards,
Tycho

Similar Messages

  • Catalog database

    Hi all,
    I configured rman setup in catalog mode.
    However if my catalog database crash what is the solution for this.
    Can I take a seprate backup for catalog database.
    waiting for replies?
    Thanks & Regards,

    user13543544 wrote:
    Hi all,
    I configured rman setup in catalog mode.
    However if my catalog database crash what is the solution for this.
    Can I take a seprate backup for catalog database.
    waiting for replies?
    Thanks & Regards,Yes,you always have to backup catalog database using RMAN and backing up catalog database must be include your backup/recovery catalog.Enable archivelog mode catalog database and take backup regular intervals.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmarchi.htm#i1006611
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmcatdb.htm#i1006934
    Edited by: Chinar on Jan 13, 2011 2:50 AM

  • How to fix Lightroom 5.6 crashing when backing up catalog database (external AND local backup) - Mac 10.9.5

    How to fix Lightroom 5.6 from crashing when backing up catalog database (external AND local backup) - Mac 10.9.5
    It starts to cue and within 3-4 seconds, the program just crashes hard. As stated, I tried it on local hard drive and external. Same result...
    In the destination backup folder, it will copy over one folder, no images.
    Thanks ahead of time.
    -Dan

    Anyone? - (Adobe?!?!?)

  • How to get the last SCN number from catalog database

    Hi All,
    I have a catalog database where my PROD database is registered. Evereyday at 12AM rman takes the hot backup of PROD.
    Now I want to create a auxillary database using the last RMAN backup, for this I want to restore using the SCN from the catalog views.
    Please help me to get the SCN number from the RC_ views.
    Regards,
    Bikram

    asifkabirdba wrote:
    Current SCN:
    Use the dbms_flashback package to get the current SCN. This value will be used during instantiation at the destination site, as well as by RMAN when duplicating the database.
    SET SERVEROUTPUT ON
    DECLARE
    until_scn NUMBER;
    BEGIN
    until_scn:=
    DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER;
    DBMS_OUTPUT.PUT_LINE('Until SCN: ' || until_scn);
    END;
    Regards
    Asif KabirHello,
    i am a bit confused,
    SELECT CURRENT_SCN FROM V$DATABASE;
    6272671324
    and from your package
    SET SERVEROUTPUT ON
    DECLARE
    until_scn NUMBER;
    BEGIN
    until_scn:=
    DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER;
    DBMS_OUTPUT.PUT_LINE('Until SCN: ' || until_scn);
    END;Until SCN: 6272671267
    why are they different, and why first result is lower than yours? can you explain please, thank you
    Ugur MIHCI

  • Error while registering RMAN from primary to catalog database

    Hi all,
    Here we have a 10g dataguard environment with db1(db_unique_name) as primary and db2(db_unique_name) as physical standby database. Also we configured one schema on a third machine as catalog database using following steps.
    The steps executed in catalog database(appsdb):
    SQL> create tablespace rmancatlog_tbs datafile '/u01/app/oracle/oradata/NEW/rman_catalog.dbf' size 500M autoextend off extent management local segment space management auto;
    SQL> create user rman identified by oracle
    2 default tablespace rmancatlog_tbs
    3 quota unlimited on rmancatlog_tbs
    4 ;
    SQL> GRANT connect, resource, recovery_catalog_owner TO rman;
    RMAN> create catalog;
    recovery catalog created
    Added tns entries of catalog database in primary and standby. Then from primary database we tried to register to catalog database. It is showing that it is registering. But every query afterwards in rman is throwing the error. Below are the steps and 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 recovery catalog database
    RMAN> register database;
    database registered in recovery catalog
    RMAN> report schema;
    Report of database schema
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace RB segs Datafile Name
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of report command at 10/08/2012 06:16:06
    RMAN-00600: internal error, arguments [8201] [] [] [] []
    Can anyone help regarding this error?
    Thanks in advance.

    on resync catalog it is throwing no output or error.
    but it shows same error afterwards.
    RMAN> resync catalog;
    RMAN> report schema;
    Report of database schema
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace RB segs Datafile Name
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of report command at 10/09/2012 03:55:53
    RMAN-00600: internal error, arguments [8201] [] [] [] []

  • ORACLE 9I DATABASE - CRASH & RECOVER

    I AM USING ORACLE 9I FOR LINUX IN A DUAL XEON PROCESSOR SERVER. NOW DATABASE DOES NOT OPEN PROPERLY AND SHOW FOLLOWING MESSAGES:-
    1) for SYSDBA user message for startup database
    SQL*Plus: Release 9.2.0.1.0 - Production on Thu Aug 21 18:49:14 2003
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Enter user-name: sys as sysdba
    Enter password:
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 621875780 bytes
    Fixed Size 451140 bytes
    Variable Size 335544320 bytes
    Database Buffers 285212672 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL>
    2) Then we reset the logs the message is:
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/C/app/oracle9ir2/oradata/tepiapp/system01.dbf'
    SQL>
    3) When connecting with different user the message is :
    Enter user-name: mis-dba
    Enter password:
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    0;oracle@tepiapp:~[oracle@tepiapp oracle]$
    Please guide me for detail solutions for this problem
    Regards,
    FSL

    hmmm ok, so it seems that you dont use RMAN to backup your database...
    It seems there that your have a controlfile problem after a disk crash. I hope your database is on ARCHIVELOG mode.
    Does your database crashed during activity or was idle ?
    1. Mount the database
    2. set autorecovery on ;
    recover database using backup controlfile ;
    media recovery complete <= this means that all is ok now
    3. alter database open resetlogs ;
    if #2 doesnt work cause of redo log problem such as corrupted redo log, or some transactions "blocked" in theses redo log cause of a big crash during the database activity, Oracle will tell you that a redo log is corrupted and will give you the hour of the redo log log entry that Oracle need to recover.
    So you will have to make an incomplete recovery (that means you will lose some datas, no much but some) until time.
    For example, your redo entry has been corrupted at 12:00:50
    1. recover database until time '2003-08-25:12:00:00' ;
    2. alter database open resetlogs ;
    3. Make a full backup of your database !
    Fred

  • Advantages of using higher version of catalog Database.

    Hi Gurus,
    Wanted to know what are the advantages of using higher version of catalog database.
    for ex: my target database is 10.2.0.4 and catalog database is 11.2.0.1

    The very reason is that you would be able to use all the new features offered by the current release. Like, 11gr2 offers Virtual Private Catalog which you can only use in 11.2. So its better that you move your catalog too to the higher version when you upgrade your database.
    HTH
    Aman....

  • Ssis 2012 parallel execution of ssis packages using catalog database hangs

    i have a simple ssis package in 2012 where I am executing several data flow tasks in parallel using sequence containers, however very often the sql job just runs forever although all the tables have been loaded or I cant see whats going on, the job neither
    fails nor succeeds, just goes on executing,is there an issue with executing several data flow tasks in parallel, why does the job continue to run forver, how to troubleshoot and fix the error, please guide, are there any issues using the catalog db execution,
    is that the reason this behavior is showing?

    multiple execute sql tasks within sequence containers running to execute the ssis packages deployed in ssisdb in sunchronous mode using the catalog database execution model
    all of the ssis packages that have the data flow taks retrieve data from source to 3 different tables.
    some of them push data into the same table.
    please let me know if you need more information.
    the job just runs forever, looks like all the data flow tasks ran and it is still running, because I don't see an increase in the row count of the tables, I may be wrong, if I check the execution status, 1 task does not show as succeeded, I don't know why
    thanks  a lot for ur help, ur help is much appreciated nik

  • How to setup catalog database for backup

    In order to use RMAN,
    catalog can be put in a controlfile, one of the database if we have many database, or in a special catalog database, is that right?
    So, I am wondering about the special catalog database, should we setup a totally new oracle database, and then setup catalog in it? Am I right?
    Edited by: user8117130 on Jun 19, 2009 10:21 PM

    Hi,
    http://mehrajdba.wordpress.com/2008/12/23/rman-catalog-database-creation/

  • View name in the catalog database which shows the target bkp status

    Hi
    Can any one tell me the view name in the catalog database
    which describes the target database status( succesfull or not)
    Thank you

    You need to have a little patience. Anyways, if you are taking backup by backup sets, than this view may help.
    [RC_BACKUP_SET_DETAILS|http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcviews019.htm]
    See if this helps you.
    Better option is to configure RMAN backup with the v$session_longops and check it to see whether backup is complete or not.
    HTH
    Aman....

  • Views to check the catalog database name from target database.

    Hi,
    Please help me to find view to check the catalog database name which is connected to my target database because I am new to the current environment where I am working now and the previous DBA have done the set up having 2 catalog database. I want view to check from target database, which can show the catalog database name to which it is connected to.
    We can check the catalog database name from the following ways but I want views to check it from target database.
    1.TNSnames.ora
    2.Any backup script connecting to catalog database.
    3.From catalog database we can use rc_database view to check the databases registered with the catalog database.

    Please help me to find view to check the catalog database name which is connected to my target databaseYou can check for any RMAN backup jobs that been scheduled on the server.
    In the scheduled script check rman command.
    You can then identify the database alias (of the catalog db) that is used in the rman backup script.
    Once you have found the database alias, check for the database alias entry in tnsnames.ora file present in your target database server.
    Once the entry is found, you can find the IP address and catalog db name from the tns entry.
    Edited by: st. osh on Nov 22, 2012 11:38 PM

  • Oracle RMAN recovery catalog database in a Primary and Standby mode

    Hello All,
    The customer wants the RMAN recovery catalog database to be highly available so that none of the RMAN database backup jobs are impacted at the time of taking the database backups. There are are 200+ databases running on OEL, RHEL and Windows. So we planned to host the recovery catalog database on Oracle Active DataGuard 11.2.0.1 Enterprise Edition on RedHat EL 5.8 version on two physical servers. The Primary Instance will be in one server in the Primary DC and the Standby Instance will be on another server in another DC. Also all the database datafiles are hosted in ASM Diskgroups on SAN (DATA, FRA, REDO, ARCH diskgroups).
    Are there any specific RPM/patch/OS user custom/specific settings or configurations needed..?
    Thanks in advance..
    Regards,
    Abhijit

    "The customer wants the RMAN recovery catalog database to be highly available so that none of the RMAN database backup jobs are impacted at the time of taking the database backups"
    Hi,
    i think you can achieve HA for the catalog DB. (Rac and Asm should work fine)
    There's no way (afaik) to use TAF with the rman backup. If you have a failure during a backup it simply fails.
    There is no TAF in this situation.
    Hope this helps.
    Regs,
    Drew

  • Control File to a catalog Database

    Hi guys,
    I'm kind of new here. So sorry if this has already been answered. (did some searching and nothing showed up)
    Environment - Oracle 9i
    Ok. Currently we are using RMAN with a control file. And there's a requirement to set up a catalog database. I would like to know if there's a way to migrate the current set up to a catalog database. Final goal is to make sure that the past backups will be available after moving to a catalog database.
    thanks!
    regds,
    Dam

    Controlfile backup taken during a backup means you will have past information relevant to current state as of the time of the backup. Going forward with a catalog means you will have a longer (as in closer to forever) record of backups whereas a CF only keeps what it can up to the record keep time. You can always catalog prior backups if you want.

  • Moving catalog and photos with external drive, Elements can't see catalog database

    Tried searching, but couldn't find my situation. 
    I have an old computer with a second hard drive (1.5 TB).  I pulled it from my old computer and put it in the new computer.
    I also copied my "My Catalog" folder which contains the catalog database file (catalog with a type "PSE8DB").
    Got the second drive installed fine in my new computer. 
    Reinstalled Elements 8.
    But the File / Catalog dialog box can't seen the existing catalog database.  I can browse to the folder, but it doesn't show up.
    Old computer was Windows XP.  New computer is Windows 7.
    Both are using Photoshop Elements 8.
    Any help would be greatly appreciated.
    John

    solodarwest wrote:
    Tried searching, but couldn't find my situation. 
    I have an old computer with a second hard drive (1.5 TB).  I pulled it from my old computer and put it in the new computer.
    I also copied my "My Catalog" folder which contains the catalog database file (catalog with a type "PSE8DB").
    Got the second drive installed fine in my new computer. 
    Reinstalled Elements 8.
    But the File / Catalog dialog box can't seen the existing catalog database.  I can browse to the folder, but it doesn't show up.
    Old computer was Windows XP.  New computer is Windows 7.
    Both are using Photoshop Elements 8.
    Any help would be greatly appreciated.
    John
    John,
    1 - Where are your photo files located ? What is the drive letter assignment of this second drive ?
    My suspicion is that the photos (and perhaps also video files) reside on that second hard drive which you physically moved and installed in the new computer.
    2 - Where is the PSE Catalog file (both on the old XP system and on the new W 7 system) ?  Is that folder containing the PSE Catalog on the C drive or on that second hard drive which is now installed on the new W 7 system ?
    3 - FYI -  I agree with the DJ Paige recommendation to "In Windows, double-click on the *.pse8db file" as a means of starting the Organizer with the Catalog that you previously had under XP . This generally works on most versions of PSE although I did have an experience with PSE 8 where it did not work initially.
    4 - FYI - If your photo files were stored under My Pictures under XP, then I think that the other suggestions about PSE not being able to find photosand needing to do a PSE Backup are relevant -
    "You catalog will be holding the absolute location of the files in the catalog. These will no longer be valid when porting to Win7 from XP"
    However, if your photo files are stored on that second hard drive, I am skeptical about that conclusion.
    5 - FYI - I have seen a report of successfully moving a physical second internal drive from old XP PC to new Windows 7 PC with PSE 10. I think that you should be able to do the same with PSE 8.

  • How can i get no of database registered to RMAN catalog database.

    I want to know that how can I know that no of database are registered to particular RMAN repository database.
    And also i want to upgrade my reposiotry catalog as we are upgrading our database to 11g
    Kindly help me .

    Hi,
    Just connect to the catalog database as "rman" user and query the rc_database view.
    sqlplus <rman_user>/<rman_user_passwrd>@<catalog_db>
    SQL>select * from rc_database;
    user11958935
    Handle: user11958935
    Status Level: Newbie
    Registered: Nov 20, 2009
    Total Posts: 72
    Total Questions: 29 (22 unresolved) Please consider closing the unanswered questions and keeping the forum clean.

Maybe you are looking for