From no recovery catalog to recovery catalog

sorry for the message to be posted 2nd time due to error in internet connection.
Message was edited by:
Nitesh Jain

Hi Nitesh Jain!
First thing to do ist to register all your database in the RC (RC = Recovery Catalog)
test@localhost> rman target system/oracle@PRODDB1 catalog catowner/password@CATDB
REGISTER DATABASE;
exit;
In this example PRODDB1 is your first production Database and CATDB ist your Catalog database. The REGISTER DATABASE Command registers your DB in the RC. Do this step for all your productiv DBs.
Next thing to do is to resync your controlfile with your RC for all your productiv DBs.
i]test@localhost> rman target system/oracle@PRODDB1 catalog catowner/password@CATDB
RESYNC CATALOG;
exit;
RESYNC CATALOG takes all Information from your controlfiles and puts it into your RC.
This should be all. You can use LIST BACKUP to check whether your Backups are registered in your RC or not. If you have to register Backups manually try the CATALOG START WITH '/path_to_your_backups/' Command. You can read about it in the Onlinedocumentation in the RMAN Reference.
Hope this helps!

Similar Messages

  • PERFORMING FULL RECOVERY WHEN THE RECOVERY CATALOG AND CONTROLFILE ARE LOST

    제품 : RMAN
    작성날짜 : 2002-05-30
    PERFORMING FULL RECOVERY WHEN THE RECOVERY CATALOG AND CONTROLFILE ARE LOST
    ===========================================================================
    PURPOSE
    Recovery Catalog와 Controlfile이 손상되었을 때 Oracle9i의 new feature인
    Controlfile Autobackup을 이용하여 full recovery를 수행하는 방법을 알아본다
    EXPLANATION
    Catalog와 Controlfile이 모두 손상되었을 경우 full recovery를 수행할 수 있도록
    하기 위해 oracle9i부터 Controlfile Autobackup이라는 New feature를 제공한다.
    이 Feature가 활성화되면 RMAN은 자동으로 특정 형식(specific format)으로
    controlfile을 backup한다 나중에 RMAN은 Recovery catalog를 access하지 않고도
    이 backup을 인식할 수 있다. 이 형식은 "%F"라는 variable을 포함하는데
    이 variable은 중요한 정보인 DATABASE ID를 포함하고 있다.
    이것은 다음과 같은 CONFIGURE 명령을 사용하여 Turn-on 될 수 있다.
    RMAN> configure controlfile autobackup on;
    활성화시킨 후에 controlfile autobackup의 format을 변경할 수 있다. 그러나
    이것은 반드시 variable "%F"를 포함해야만 한다. 그렇지 않으면 다음과 같은 Error
    를 만나게 된다.
    RMAN> configure controlfile autobackup format for
    2> device type disk to 'c:\backups\%U';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00579: the following error occurred at 01/31/2002 11:57:21
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: configure
    RMAN-06492: controlfile autobackup format "c:\backups\%U" must specify a "%F"
    format specifier
    %F 는 RMAN이 recovery catalog 없이 backup piece를 인식하도록 Key이다.
    이 Feature가 활성화 된 후에 RMAN은 BACKUP 명령을 수행할 때마다 controlfile에
    대해서 별도의 backup을 수행한다. 이전에는, controlfile 은 오직 system
    tablespace가 backup되는 경우에만 자동으로 backup되었다.
    Database Backup은 아래와 같은 log를 출력한다.
    RMAN> backup database;
    Starting backup at 31-JAN-02
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=12 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE\ORADATA\PROD\SYSTEM01.DBF
    input datafile fno=00002 name=C:\ORACLE\ORADATA\PROD\UNDOTBS01.DBF
    input datafile fno=00005 name=C:\ORACLE\ORADATA\PROD\EXAMPLE01.DBF
    input datafile fno=00006 name=C:\ORACLE\ORADATA\PROD\INDX01.DBF
    input datafile fno=00008 name=C:\ORACLE\ORADATA\PROD\USERS01.DBF
    input datafile fno=00003 name=C:\ORACLE\ORADATA\PROD\CWMLITE01.DBF
    input datafile fno=00004 name=C:\ORACLE\ORADATA\PROD\DRSYS01.DBF
    input datafile fno=00007 name=C:\ORACLE\ORADATA\PROD\TOOLS01.DBF
    channel ORA_DISK_1: starting piece 1 at 31-JAN-02
    channel ORA_DISK_1: finished piece 1 at 31-JAN-02
    piece handle=C:\BACKUPS\01DFKAIH_1_1 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:56
    Finished backup at 31-JAN-02
    Starting Control File Autobackup at 31-JAN-02
    piece handle=C:\BACKUPS\C-4159396170-20020131-00 comment=NONE
    Finished Control File Autobackup at 31-JAN-02
    Note:
    Controlfile backup은 backup의 끝에서 수행된다.
    그리고 이 backup piece name의 두번째 string은 dbid이다(4159396170)
    Current controlfile이 database와 함께 손실되고 Recovery catalog도 손상되어
    사용할 수 없게 되었을 때 controlfile autobackup이 controlfile을 restore하기
    위해 사용될 수 있다. restore된 controlfile은 db를 mount하고 datafile들을
    restore하기 위해 사용될 수 있다.
    Controlfile autobackup을 이용하여 full recovery를 수행하기 위해서는 아래와
    같은 과정을 수행하면 된다.
    1. Target instance를 위한 new init.ora를 생성한다. backup이 있다면 이것을
    사용할 수 있다.
    2. Startup nomount your new instance.
    3. RMAN은 시작하나 어떤 connect statement도 수행하지 않는다.
    4. RMAN prompt상에서 DBID를 설정한다. 만약 DBID를 모르면 controlfile autobackup
    의 이름으로부터 이것을 알 수 있다.
    RMAN> set dbid=4159396170;
    5. Dbid를 설정한 후에 nomount로 startup한 target instance에 connect한다.
    RMAN> connect target /
    6. 만약에 backup이 disk상에 있고 controlfile autobackup을 non-default location
    으로 지정하였다면 파일을 다음과 같은 위치로 옮겨 놓는다
    ON UNIX : ORACLE_HOME/dbs
    ON WINDOWS: ORACLE_HOME/database
    RMAN은 controlfile autobackup을 찾기 위해 위 directory를 검색한다.
    만약 controlfile autobackup location을 바꾸지 않으면 위 directory안에
    backup이 생성되게 된다.
    만약에 backup이 tape에 있다면 restore시 channel과 device를 기술하기 위해서
    run block을 사용해야 한다. database가 mount되어 있지 않기 때문에
    default device와 channel을 설정할 수 없다.
    RMAN> run { allocate channel c_1 type 'sbt_tape'
    parms "ENV=(NB_ORA_SERV=rm-wgt)";
    restore controlfile from autobackup;}
    7. Restore the controlfile:
    RMAN> restore controlfile from autobackup;
    8. Mount the database from the restored controlfile:
    RMAN> alter database mount;
    9. Restore datafiles:
    RMAN> restore database;
    10. file들을 restore한 후에 recovery를 수행할 수 있다.
    이때 current online redo log가 없고 또한 backup controlfile을 사용하기
    때문에 incomplete recovery를 수행해야 한다. 이를 수행하기 위해서는
    "UNTIL TIME"을 설정해야 하고 open시에는 resetlogs를 사용해야 한다.
    RMAN> set until time=<time stamp>;
    RMAN> recover database;
    RMAN> alter database open resetlogs;
    REFERENCE DOCUMENT
    NOTE:174623.1

    BACKUP Command Behavior
    ON
    If the backup includes datafile 1, then RMAN does not automatically include the current control file in the datafile backup set. Instead, RMAN writes the control file and server parameter file to a separate autobackup piece.
    Note: The autobackup occurs regardless of whether the BACKUP or COPY command explicitly includes the current control file, for example, BACKUP DATABASE INCLUDE CURRENT CONTROLFILE.
    OFF
    If the backup includes datafile 1, then RMAN automatically includes the current control file and server parameter file in the datafile backup set. RMAN does not create a separate autobackup piece containing the control file and server parameter file.
    BUT Dear Mohammed,
    It is not working accordingly. what I did is :-
    1. I switched off the AUTOBACKUP
    2. Then I took whole database backup, that means it included File # 1
    3. But according to above it is going to include autobackup of controlfile and spfile in the same backupset .
    4. But when I asked it to restore controlfile from autobackup it said NO AUTOBACKUP FOUND.
    COULD YOU PLEASE HELP ME ONCE AGAIN DEAR.
    If it works accroding to above then it should have my Autobackup.
    Regards
    Harpreet Singh

  • Recovery of PSE 5 catalogs following disk replacement

    I have had to have our hard disk replaced.
    Unfortunately we had a number of catalogs that had not been backed up. (No comments please)
    I have recreated the file structure and therefore put all the pictures back in the correct place.
    I appear to have 2 relevant catalog directories being
    .............Adobe\Catalog Folders\My Catalog
    .............Adobe\Catalogs
    Having reloaded PSE 5, do I copy the old psa files to the relevant location (i.e. where the default My Catalog file is)?
    (This is in Adobe\Catalogs)
    Or do I have to recover the contents of both these directories?
    Thanks for any help

    dj_paige
    Thanks.
    All is now working.

  • HT203167 my mac had been formated from HD. ...? HOW TO CATCH BACK MUSICS, MOVIES FROM ( PING'S PAGE ) " THERE ARE CATALOGED ALL MY PURCHASED " ???

    my mac had been formated from HD. ...? HOW TO CATCH BACK MUSICS, MOVIES FROM ( PING'S PAGE ) " THERE ARE CATALOGED ALL MY PURCHASED " ???

    Unless you backup your data, follow these instructions.
    http://support.apple.com/kb/HT2519
    Formatting means erasing, and you normally can't recover from an erase short of redownloading, or copying back from a backup.  For more on backing up and data recovery, read this link:
    https://discussions.apple.com/docs/DOC-1992

  • TS1538 ipad does not come on once its unpluged from power source,it enters recovery mode when both power and home botton are pressed with usb on powersource but does not come up at all when connected to computer or out of power source

    ipad does not come on once its unpluged from power source,it enters recovery mode when both power and home botton are pressed with usb on powersource but does not come up at all when connected to computer or out of power source

    What model iPad do you have? If it's an iPad 1, the battery may have expired and needs replacement.
     Cheers, Tom

  • How can I download lion from Mac app store in recovery mode on an imac?

    I bought a mid-2007 imac from a friend, who the computer was working perfectly for. When I went to start up it wouldn't start up (past the gray screen) from the regular HD no matter how many tricks I tried (resetting SMC, PRAM, etc), so I went in to recovery mode. I verified and repaired the disc more than once (even though it said it was fine), and tried to reinstall lion from the online recovery function but it said "item temporarily unavailable." I basically tried every combo of things possible before erasing the HD but nothing worked, so then I decided to erase the HD.
    SO that happened, and now I can still boot up in recovery mode and it -seems- like if I can find a way to reinstall lion (which was the last os running), I may be back in business.
    however, see the problem with "item temporarily unavailable."
    I decided to purchase it from the Mac store online on a different device and it says it will email me a link in 1-3 business days (really??! That long to save me with an EMAIL LINK???), and my thought is that maybe I can log in to my email from the safari window and download it that way. I'm just afraid that I won't be able to access the Mac app store if that is where it downloads from.
    Ultimately, I'm trying to avoid a trip to the Apple Store because this thing will be a nightmare to lug on public transportation. My questions for you are as follows:
    - how likely do you think it is that I'll be able to successfully download lion from the email link in recovery mode?
    - Do actual discs with lion exist anywhere in the wide world? If so, how can I get one?
    - would it be worth it to grab an old lion usb stick from amazon?
    - is there ANY other way to reinstall lion or install a new os on this thing without physically taking the computer anywhere?

    What a silly company , i have the same exact problem with my macbook pro and i've checked every topic that mention this problem and they didn't solve it .

  • Iphone 4 went into recovery mode when trying to restore, only option available now is to "restore and update" however this will not work, how can you restore from a backup once in recovery mode and only option is "restore and upgrade"? Please help!

    iPhone 4 went into recovery mode when trying to restore it. Now the only option iTunes allows is for "restore & upgrade", it is not offer an option to restore from a backup, says that must first do the upgrade, when attempting to do the upgrade the iPhone won't accept it.
    How can I restore from a back up in recovery mode when the only option is "restore and upgrade"?
    Please help.

    You don't you must restore your phone first and then you will have the option to restore from your backup.
    If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support

  • How to get the report description from obiee's web services (web catalog)?

    I am trying to get the Description from the properties of a report (using web services + web catalog). I am not able to retrieve the description through the itemProperties[] array, and have not been successful finding it anywhere else. Has anyone been able to get the this Description property? Thanks.

    hi,
    are you looking for table name,column name,subject area,created time for a specific report/request ?
    IF yes we can do this using Catalog manager
    Open Catalog Manager-->tools-->Create Report
    thanks,
    saichand.v

  • Loading photos from a flash drive into my Catalog

    I am a "neophyte" Photoshop Elements 10 user.  I installed over 14,000 original digital photos from CDs and DVDs into my Catalog without any problems.  My wife copied some very old (scanned) family photos (black & white, pre-1930) onto a flash drive and I then downloaded them into the Catalog - seemingly without any problems.  However... The photos are shown in the Catalog and accessible in the Organizer, but all of them are identified by a ! icon (upper left-hand corner of each photo)  as being "offline" and still resident on the flash (E:) drive.  Therefore, they can not be edited.  I've tried 2x to reformat and reload the photos onto several other flash drives and then download them into the Catalog without any success.  They still are identified as being resident on the flash drive, only.  Does anyone know what's going on and/or how to fix it?  Thanks for any help can give.
    Elements "newby"

    Ken,
    Thanks for educating me on how the Catalog actually works.  However, I still don't understand how I could seamlessly load all of the other 14,000 photos into my computer from CDs and DVDs, but none from a flash drive.  All of the photos I loaded came from Kodak Easyshare and Windows files located on another computer.  I look at all of these removable media types as a viable means for transferring files from one computer to another.  Why were the photos on the flash drive treated differently that that located on the CDs or DVDs when imported into the computer containing the Photoshop Elements program?
    Anyway, thanks for the quick response.
    Elements newby

  • I used pic lock and i make save as pic from itunes  ? i cant recovery, i used pic lock and i make save as pic from itunes  ? i cant recovery

    i used pic lock and i make save as the picture from itunes ? i cant recovery my pic

    A loosely related thread
    * ''How to retrieve old "Downloads" window?'' <s>[/questions/98037]</s> [/questions/980371] <sub> fixed link. aw</sub>
    That thread also relates to download issues. That and related threads may benefit from HelpDesk attention.

  • I'm using LR5.7 on a Mac Mini running Mavericks and when I attempt to import a folder of new RAW photos from my external drive into my catalog instead of seeing a preview of each thumbnail photo I see the following message displayed: "Preview Unavailable

    I'm using LR5.7 on a Mac Mini running Mavericks and when I attempt to import a folder of new RAW photos from my external drive into my catalog instead of seeing a preview of each thumbnail photo I see the following message displayed: "Preview Unavailable for this file." If I highlight any other folder of photos the previews are all there. What is the likely reason for these previews being unavailable? JohnnyCam

    What camera took these RAW photos?
    Did you use any Nikon software to transfer the photos to your computer's hard disk?

  • How do you move one (1) Photo Folder from one Catalog to another Catalog in Lightroom 5?

    I want to move one (1) Photo Folder from one Catalog to another Catalog in Lightroom 5 and my laptop (no external hard drive involved).  I have already started the editing process in Catalog #1, but due to the size of the Catalog #1, I want to move the current job and future work to a new Catalog.   
    Currently the backup feature takes an hour to complete. There are also significant delays during large image edits.    So I am thinking, that by moving over to a smaller Catalog, Lightroom will work faster. 

    Hello ... and thanks for  your response.   But I have discovered a couple problems.  And I am sure it is "operator error"
    I used your method #1.  The first window that popped up stated that it was making a temporary copy of the catalog.  This took about 20 minutes.
    Next, the window showed thumbnail photos on the right and a list of folders in my catalog on the left. The catalog contains folders stored on my LapTop, as well as my external hard drive. 
    There appeared to be a distinctive difference between those photo folders stored on the external hard drive and those on my LapTop.   The folders on the external drive were named as I have all my folders named: Date_CustomName.  The folders stored on my LapTop were named as: Lightroom_5 Backup_Date_CustomName or some such combination and my memory is foggy on the actual use of underscore, slash marks, dashes, etc. 
    I searched the list closely, and the Folders without a reference to "Lightroom Backup" were not showing.  
    So as a test, I "added" to the new Catalog one folder from the external hard drive and two from the LapTop.   After the transfer, the new Catalog had accurately named my external hard drive and the folder within in and the photos and their edits transferred accurately.   The other two folders were not named but listed shown in the library module as grey boxes as images with indications of editing.  But when I clicked on it, there was a notation that popped up that the file could not be found. 
    Any ideas? 
    I am going to create a second new catalog and try your option #2 now.  
    Thanks

  • Upgrading from Lightroom 1 to 4.1 - catalog not recognized

    I am trying to upgrade gtom LR 1.0 version to 4.1 version and my catlog is not being recognized for upgrade. I launch LR, select my NAME.IRCAT catlog and get this message: " The Ligghtroom catalog named "Lightroom Catalog" cannot be opneded because it is not valid. Would you like to select a different catalog?"
    I wonder if need to upgrade to some lower version befor moving to 4.1. I have not upgraded in many years, actually I never upgraded since I first purchased LR. I finally purchased a new PC and upgraded my OS, and consequently decided to upgrade all my most important SW.
    Thanks to anyone who has insight to help me with my issue.

    It might be worth trying to upgrade from 1.0 to 1.4.1 first, and THEN try the upgrade to LR4. You can download it from here:
    http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=3892&fileID=3652

  • If I import files from my hard drive to a catalog, does it index the original copy or make new one

    If I import files from my hard drive to a catalog, does it index the original copy or make new one

    The one exception to MichelB's answer is if you use the "from iPhoto" command in the mac organizer. In this case the organizer does copy the contents of your iphoto library, since if it wrote any information into that library it could easily corrupt it and cause the loss of the photos it contains.

  • How to connect from SRM system to Punch out Catalog

    Hi all,
    I would like to know connecting from SRM system to Punch out Catalog , do we require XI inbetween??
    Regards
    Vamsi

    Hi Vamsi,
    There is an XML variant of the OCI interface as described in the OCI documentation attached. Using this you can use XML documents instead of plain HTTP for the OCI transfer. No specific configuration is required as a transformation agent is contained within the FUNCTION bbp_ws_mapoci_to_sc
      map xml to oci structure
        CALL FUNCTION 'BBP_WS_DISPATCH_XML_MAPPING'
          EXPORTING
            iv_xml_type       = iv_xml_type
            iv_xml_document   = iv_xml_document
          TABLES
            et_oci_items      = et_oci_item_data
            et_longtext       = et_oci_longtext
          EXCEPTIONS
            xml_mapping_error = 1
            OTHERS            = 2.
    In this xml mapping function we use a CALL TRANSFORMATION to perform the XML -> OCI mapping:
      Transfrom OCI XML data via XSLT to RFC structures
        TRY.
            CALL TRANSFORMATION bbp_oci_xml_to_rfc
              SOURCE XML IV_XML_DOCUMENT
              RESULT sc_items = lt_sc_items.
          CATCH CX_ROOT INTO lr_exception.
         CATCH cx_xslt_runtime_error.
            RAISE xslt_failure.
        ENDTRY.
      ENDIF.
    Put mapped data into export strutures
      LOOP AT lt_sc_items INTO wa_sc_item.
        IF NOT wa_sc_item IS INITIAL.
    Hopefully this clarifies the possibility of using the XML variant of the OCI.
    Regards,
    Jason
    Edited by: Jason Boggans  on May 13, 2009 6:54 PM
    Forgot to attach the document

Maybe you are looking for

  • Using Link to import Calendar & Contacts to Z10

    How to import Outlook contacts and calendar appointments using BlackBerry Link 1.0.1 for Windows (Taken from, and further details at: http://helpblog.blackberry.com/2013/03/blackberry-link-import-outlook/#more-6968)  User Guide - BlackBerry Link 1.0.

  • 9.0.3 DB Navigator Issues on 3rd Party JDBC

    A new problem in 9.0.3: under System Navigator, Connections, Database Connections, we are no longer able to drill-down to schema objects (such as tables and views) for the 3rd party JDBC connection that we have been using successfully in 9.0.2. I hav

  • TypeError: Error #1009 (loaded SWF)

    I'm pulling out my hair on this one! I'm just starting a site (full-Flash site) using CS3 and AS3. I'm pretty much accustom to the new AS3 changes. I built a rough structure to make sure the way I wanted to set the site up would work (loading in exte

  • Recovery process hangs up when Drivers disc is submitted after disc 1 installed.

    1) Laptop: Hp Pavillion ze 2401xt, s/n {Removed for privacy}, original 60GB hard drive 2) OS: XP Home Edition 3) No error message, stuck on Windows XP page where there is no installation of Windows 4) Laptop crashed, would not restart. CMOS error 5)

  • Facing problems with network due which the phone goes into hangs status

    Facing problems with network due which the phone goes into hangs status.  some one help me with switching between 2g and 3G network