How to recover the rman catalog

all,
I have created a recovery catalog and back it up using the control file and the nocatalog option - see below
rman nocatclog target=rman
run{
backup database;
backup (archivelog all delete input);
How do I recover the catalog if it dies?
rgds
alan

hi,
thanks for the response. I will give it a try, but at a cistomer site doing this and they have no test server to try it on. Production only so need to be sure of what is going to happen.
rgds
alan

Similar Messages

  • Backup set in the tape. copied into disk. how to recover using RMAN

    I have backup set in the tape. copied into disk. how to recover using RMAN
    any link and steps please

    It should be something like the following, but really you should read and understand the rman documentation first ...
    1. restore the controlfile
    sqlplus / as sysdba
    startup nomount
    exit
    rman
    connect target /
    restore controlfile from '/path to the controlfile backup piece';
    exit
    sqlplus / as sysdba
    alter database mount
    exit
    2. catalog the backup pieces
    rman
    connect target /
    catalog start with '/path to backup pieces';
    3. restore the database
    rman
    connect target /
    restore database
    4. recover the database
    rman
    connect target /
    recover database
    5. open the database
    sqlplus / as sysdba
    alter database open resetlogs;

  • When one of contolfile is corrupt then how to recover the controlfile?

    when one of contolfile is corrupt then how to recover the controlfile?

    Let us say we have 3 control files and they are named as "cont01.ctl,cont02.ctl & cont02.ctl" and they are stored in three different mount points (/u01,/u02 & /u03)
    first controlfile -> /u01/oradata/prod/cont01.ctl
    second controlfile -> /u02/oradata/prod/cont02.ctl
    third controlfile -> /u03/oradata/prod/cont03.ctl
    1. According to the ALERT log file or any other source let us say the third controlfile got corrupted...
    Now , what you can do is you have to shutdown the database and remove cont03.ctl and copy it form cont01.ctl or cont02.ctl :
    $ cd /u03/oradata/prod
    $ rm -rf cont03.ctl
    $ cd /u01/oradata/prod
    $ cp -r cont01.ctl /u03/oradata/prod/cont03.ctl
    Now, you can go ahead and start the database. The database will start without any issue and it wil be ready for any operations on it..
    2. Suppose all the files of the database got corrupted ... First of all you need to have backup of the database... the steps that are needed of this scenario are :
    --> shutdown the database with abort option
    --> Assuming its RMAN backup .. you have to first start the database in nomount state and you have to restore the contolfile from the last backup been taken and start the database in mount state and then perform the database recovery and open the database with resetlogs option(since you dont have current controlfile becoz you have restored it from a backup) :
    Assuming its catalog:
    $ rman target / catalog usr/pawd@tns
    RMAN> STARTUP NOMOUNT;
    RMAN> restore controfile (from autobackup) ; -- in case you have auto backup then use the autobackup option
    RMAN> alter database mount ;
    RMAN> recover database;
    RMAN> alter database open resetlogs ;
    After the database gets opened , immediately you have to take the backup..
    Hope its clear...Cheers!

  • How to recover the database when some of the archive log file get deleted.

    I am facing a problem with Oracle database, which is related to archivelogs.
    Our development database is running in archivelog mode, but we don't have backups scheduled and have no recovery catalog.
    When the database was in running condition, disk got full, so some archivelogs were deleted manually.
    After this they restarted the DB, and now DB is not coming up. Errors are as follows:
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1444383504 bytes
    Fixed Size 731920 bytes
    Variable Size 486539264 bytes
    Database Buffers 956301312 bytes
    Redo Buffers 811008 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
    SQL> recover datafile '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
    ORA-00283: recovery session canceled due to errors
    ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
    SQL> recover database using backup controlfile;
    ORA-00279: change 215548705 generated at 09/02/2008 17:06:10 needed for thread
    1
    ORA-00289: suggestion :
    /export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
    ORA-00280: change 215548705 for thread 1 is in sequence #1107
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
    ORA-00308: cannot open archived log
    '/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    Media recovery cancelled.
    SQL>
    1. How to recover the database and bring it online
    Any help will be highly appreciated.
    With Regards
    Hemant Joshi
    Edited by: hem_Kec on Sep 7, 2008 9:07 AM

    Hi,
    Archive log files are the copies of redolog files.As redo log files are circularly overwritten,oracle generates archive log file of the corresponding redo logfiles being overwritten.So if you have a backup that dates back to 10 am in the morning and if your database creashed at 3 pm,you cannot use the redo log files alone as they have incomplete information.To completely recover the database upto 3 pm,you need archive log files generated between 10 am to 3 pm. In your case since you are missing one archive log file,you cannot perform complete recovery and hence would suffer data loss.

  • How to install the Recovery Catalog

    Hi:
    How to install the recovery catalog? I used the following commands from the menu and it didn't work:
    connect rman/rman
    @?/rdbms/admin/catrman
    There is no catrman.sql exists.
    Thank you very much.

    If you are using Oracle8i, make sure your compatibility is set to at least 8.1.0 and you are connected to the catalog database. Then type create catalog; at the RMAN command line.

  • How to set the Rman backup parameter.

    Hi,
    Can U guide me how to set the Rman backup path,control file auto backup & others parameter.

    Hi,
    Go through this,
    Show all configurable settings:
    RMAN>SHOW ALL;
    Write disk backups to the /rmanback directory: (%U will be replaced with unique filenames)
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/%U';
    Backup using a flash recovery area rather than disk
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;
    Configure RMAN to back up the control file after each backup
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    By default, RMAN automatically names control file backups and stores them in the flashrecovery area.
    To configure RMAN to write control file backups to the /backup directory:( %F will generate a unique filename)
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/controlfile%F';
    Ensure that RMAN retains all backups needed to recover the database to any point in time in the last 7 days:
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    Retain three backups of each datafile:
    RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    Delete backups no longer required by the retention policy:
    RMAN> DELETE OBSOLETE;
    To override the configured retention policy for individual backups - use BACKUP.. KEEP (or CHANGE.. KEEP)
    Configure backups to run in parallel by assigning two sbt channels:
    RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 2;
    Reset any CONFIGURE setting to its default by running the command with the CLEAR option
    RMAN> CONFIGURE CHANNEL DEVICE TYPE sbt CLEAR;
    RMAN> CONFIGURE RETENTION POLICY CLEAR;
    Regards,
    oraclekt
    Edited by: oraclekt on Sep 1, 2010 9:58 PM

  • How to copy/move RMAN catalog

    how do I copy/move RMAN catalog from one DB to another ? Is it just copying the tablespace I created for the RMAN catalog ?

    Exort the catalog (schema) and import in new database.

  • How to recover the autocomplete data from a Time Machine backup?

    How to recover the Safari 5.1.7 autocomplete data from a Time Machine backup on Mac OS X 10.6.8 (Snow Leopard)?
    To solve other issues (Safari crashing sometimes when saving web pages), I selected:
    Safari - Empty Cache
    Safari - Reset Safari - Selected ALL - Reset
    I could later on recover some Safari autofill data restoring
    HD/Users/~/Library/Cookies/Cookies.plist
    HD/Users/~/Library/Safari/Form Values
    HD/Users/~/Library/Safari/History.plist
    but other autocomplete data is missing, including the one when filling web form search fields in web pages, for instance, and also some username and password login data on some web sites.
    How to restore all such data from the Time Machine Backup?
    Thanks!

    I also recovered:
    HD//Users/~/Library/Keychains/login.keychain
    What else should I recover?

  • How to recover the data from a  dropped table in production/archive mode

    How to recover the data/change on a table that was dropped by accident.
    The database is on archive mode.

    Oracle Version. ? If 10g.
    Try this Way
    SQL> create table taj as select * from all_objects where rownum <= 100;
    Table created.
    SQL> drop table taj ;
    Table dropped.
    SQL> show recyclebin
    ORIGINAL NAME    RECYCLEBIN NAME                OBJECT TYPE  DROP TIME
    TAJ              BIN$b3MmS7kYS9ClMvKm0bu8Vw==$0 TABLE        2006-09-10:16:02:58
    SQL> flashback table taj to before drop;
    Flashback complete.
    SQL> show recyclebin;
    SQL> desc taj;
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    OBJECT_NAME                                        VARCHAR2(30)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                          NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                            DATE
    LAST_DDL_TIME                                      DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    SQL>M.S.Taj

  • Hi Everyone, i lost my KN presentation that i spent a day with my boss to finish it. I lost it by mistakenly shutting down my Macbook pro. Can anyone please tell me how to recover the files back as i'm really2 in trouble and my job depends on it...

    Hi Everyone,
    I lost my KN presentation that i spent a day with my boss to finish it. I lost it by mistakenly shutting down my Macbook pro. Can anyone please tell me how to recover the files back as i'm really2 in trouble and my job depends on it...
    hmmm...how i hate myself for being such a careless person...
    PLEASE HELP ME...
    Thank you in advance.
    Keynotes '09
    Version 5.1.1 (1034)

    How exactly did you shut down your laptop? Not a hard restart (holding down the power button), I hope... if that's the case, then it is extremely unlikely the file is still intact on your computer. If it is, it would be an image on your RAM, and it is time-and-resource-intensive to recover it if it is even there. RAM memory is disposable and always being written over. Sorry dude...
    If it wasn't a hard restart, Keynote should have made a backup, unless you 'Force Close'd it.
    It really all depends on how your mac was shut down.

  • How to recover the mailboxes from the decommissioned exchange db .

    Hello All,
    I have 2 EDB files on my exchange server which is no longer active its been decommissioned and the EDB mailbox is dismounted, 
    I would like to recover few emails/mail boxes from the EDB file and am not able to find any free tool which can help me in recovering the emails, 
    1. How to recover the mailboxes from the decommissioned exchange db 
    2.Tried using from free 3rd party tools which helped me view the mail boxes however am  unable to convert or recover the emails using the demo/ trial version and cant think of buy/purchasing the application since its very expensive $299 and $399 
    I know there are lot of exchange gurus here who can help me with some workaround in recovering the mailboxes from the EBD or on how to convert the edb file to pst 
    Looking forward to get some help from exchange gurus 
    Thanks, 
    Jean
    Jean

    Hello All,
    I have 2 EDB files on my exchange server which is no longer active its been decommissioned and the EDB mailbox is dismounted, 
    I would like to recover few emails/mail boxes from the EDB file and am not able to find any free tool which can help me in recovering the emails, 
    1. How to recover the mailboxes from the decommissioned exchange db 
    2.Tried using from free 3rd party tools which helped me view the mail boxes however am  unable to convert or recover the emails using the demo/ trial version and cant think of buy/purchasing the application since its very expensive $299 and $399 
    I know there are lot of exchange gurus here who can help me with some workaround in recovering the mailboxes from the EBD or on how to convert the edb file to pst 
    Looking forward to get some help from exchange gurus 
    Thanks, 
    Jean
    Jean
    Hello,
    There are so many third party software available in Web that can easily fix your Exchange Database issues, you can check out such  a software from here http://www.exchangerecoverytools.org . By using this software (Kernel for Exchange Server Recovery),
    you can immediately repair and convert damaged EDB to PST files.

  • How to recover the deleted reports from crystal reports XIR2

    Hi,
    There have been few crystal reports have been deleted from crystal environment and i would like to know how to recover them. please advice the best possible ways to recover them. CMS repositoty in SQL server database
    thanks in advance
    Regards,
    Krishna

    Hope, your question is this "How to recover the deleted Crystal reports in XI R2".
    Answer for this question is...
    Yes, it is possible if you have backup of your CMS and FRS.
    Copy the CMS database from the backup to your database server and point the CMS ODBC system DSN to it.
    Copy the backed up file store to a Temp directory.
    Change the path of input and output file repository servers in the CMC, for each server, to the Temp file store directory.
    You will now be able to find the reports. Copy those reports to the BO server's local disk, or create a BIAR file using the Import Wizard.
    Point the ODBC system DSN back to the original database and also change the paths on input file repository and output file repository servers back to their original locations.
    Publish the reports to Enterprise from the BusinessObjects server's local hard disk.

  • How to recover the deleted FSV in ob58

    Please guide me how to recover the deleted FSV.

    The forum [FPM - General|Enterprise Performance Management (SAP EPM); in which you originally posted your question deals mainly with the financial performance applications otherwise known as Enterprise Performance Management (EPM) carrying the BusinessObjects brand.   Your question pertains to SAP [ERP Financials|SAP ERP Financials; which is covered by another forum.  Therefore your message has been moved.  Please adjust any bookmarks you might have and post to the appropriate area in the future, that way you are assured you will have the right audience reading your posts.
    Thanks and best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP Labs, LLC
    BusinessObjects Division
    Americas Applications Regional Implementation Group (RIG)

  • How to recover the Application ?

    I have deleted one application accidentally in c drive (not delete in iPhone). How to recover the Application ?
    Please reply.
    Thank you very much.
    Lawrence

    Thank you, Kim Vanleeuwen
    Sorry that it is iPad, not iPhone.
    I think that the treatment is as iPhone.
    But why there is still no reaction, as following your instruction?
    Thank you
    Lawrence

  • HT3986 i formated my macbook pro with windows 7 and i lost all the drivers, does anyone know how to recover the drivers?

    i formated my macbook pro with windows 7 and i lost all the drivers, does anyone know how to recover the drivers?

    How did you get them to install the first time and where did you get them?
    Read the Installation Guide, Boot Camp 4.0 FAQ and the Windows 7 FAQ.
    Here's the Boot Camp Manual.

Maybe you are looking for

  • How can I get itunes to recognize my 7th gen. ipod nano

    My wife bought me an ipod nano the other day and I am unable to get itunes to recognize it in the device menu. I have spent over 2 hrs attempting differnt suggestions with no results. I down loaded the newest version of itunes and when I plugged in m

  • Problem Syncing Outlook....says outlook sync client encountered problem

    I have been syncing outlook calendar and contacts from my PC to my iPhone with no problems. I have version 1.1.2 on my iPhone and 7.5 or whatever the latest is on iTunes software. The syncs were fine until recently and now I cant sync and get an erro

  • Windows 7 wont install in boot camp

    Hi, I just completely wiped my MacBook and reinstalled Leopard and it's working fine and I wanted to use Boot Camp with Windows 7 Professional and i had it all going well until I was installing Windows and it said that it can only install on a NTSF f

  • Parse XML file and extract data

    I'd like to parse an XML file and get some data extracted as columns. Input file country.xml: <?xml version="1.0" encoding="UTF-8"?> <MAS Action="Insert"> <Country ObjectId="100000000000000009" VersionId="8"><Id>1</Id><NlTexts><Name Language="de">Lan

  • Password doesn't work after iOS upgrade

    I upgraded my iPad to the latest iOS version, and now my password to unlock it no longer works. Has anyone else had this problem? How do I unlock it now?