Database Recover Using RMAN

Dear All(s)
Recently i am managing oracle 10.2.0 database, and doing database coloning and data dumping. Also doing full backup trrough RMAN. Now i want to know what happend if i take only RMAN backup, full and incremental, and how recover it.
1. How i can recover database if i loose entire server machine (in case i have only RMAN backup)
2. How i can build full database using RMAN backup on another server.
Thanks
Waiting for response
Edited by: Naeem Sheeraz on Dec 5, 2008 11:47 AM

+1. How i can recover database if i loose entire server machine (in case i have only RMAN backup)+
If you loose entire server machine its just like the same you make disaster recovery or restore database to another machine.
+2. How i can build full database using RMAN backup on another server.+
10g rman
Khurram                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

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;

  • Differences between using Data Pump to back up database and using RMAN ?

    what are differences between using Data Pump to back up database and using RMAN ? what is CONS and PROS ?
    Thanks

    Search for Database backup in
    http://docs.oracle.com/cd/B28359_01/server.111/b28318/backrec.htm#i1007289
    In short
    RMAN -> Physical backup.(copies of physical database files)
    Datapump -> Logical backup.(logical data such as tables,procedures)
    Docs for RMAN--
    http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmcncpt.htm#
    Docs for Datapump
    http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_overview.htm
    Edited by: Sunny kichloo on Jul 5, 2012 6:55 AM

  • Problem in performing multiple Point-In-Time Database Recovery using RMAN

    Hello Experts,
    I am getting an error while performing database point in time recovery multiple times using RMAN. Details are as follows :-
    Environment:
    Oracle 11g, ASM,
    Database DiskGroups : DG_DATA (Data files), DG_ARCH(Archive logs), DG_REDO(Redo logs Control file).
    Snapshot DiskGroups :
    Snapshot1 (taken at 9 am): SNAP1_DATA, SNAP1_ARCH, +SNAP1_REDO
    Snapshot2 (taken at 10 am): SNAP2_DATA, SNAP2_ARCH, +SNAP2_REDO
    Steps performed for point in time recovery:
    1. Restore control file from snapshot 2.
         RMAN> RESTORE CONTROLFILE from '+SNAP2_REDO/orcl/CONTROLFILE/Current.256.777398261';
    2. For 2nd recovery, reset incarnation of database to snapshot 2 incarnation (Say 2).
    3. Catalog data files from snapshot 1.
    4. Catalog archive logs from snapshot 2.
    5. Perform point in time recovery till given time.
         STARTUP MOUNT;
         RUN {
              SQL "ALTER SESSION SET NLS_DATE_FORMAT = ''dd-mon-yyyy hh24:mi:ss''";
              SET UNTIL TIME "06-mar-2013 09:30:00";
              RESTORE DATABASE;
              RECOVER DATABASE;
              ALTER DATABASE OPEN RESETLOGS;
    Results:
    Recovery 1: At 10.30 am, I performed first point in time recovery till 9:30 am, it was successful. Database incarnation was raised from *2* to *3*.
    Recovery 2: At 11:10 am, I performed another point in time recovery till 9:45 am, while doing it I reset the incarnation of DB to *2*, it failed with following error :-
    Starting recover at 28-FEB-13
    using channel ORA_DISK_1
    starting media recovery
    media recovery failed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 03/06/2013 11:10:57
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed
    start until time 'MAR 06 2013 09:45:00'
    ORA-00283: recovery session canceled due to errors
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '+DG_REDO/orcl/onlinelog/group_1.257.807150859'
    ORA-17503: ksfdopn:2 Failed to open file +DG_REDO/orcl/onlinelog/group_1.257.807150859
    ORA-15012: ASM file '+DG_REDO/orcl/onlinelog/group_1.257.807150859' does not exist
    Doubts:
    1. Why did recovery failed 2nd time, but not 1st time and why is RMAN looking for online redo log group_1.257.807150859 in 2nd recovery ?
    3. I tried restoring control file from AutoBackup, in that case both 1st and 2nd recovery succeeded.
    However for this to work, I always need to keep the AutoBackup feature enabled.
    How reliable is control file AutoBackup ? Is there any alternative to using AutoBackup, can I restore control file from snapshot backup only ?
    4. If I restore control file from AutoBackup, then from what point of time/SCN does RMAN restores the control file ?
    Please help me out in this issue.
    Thanks.

    992748 wrote:
    Hello experts,
    I'm little newbie to RMAN recovery. Please help me in these doubts:
    1. If I have datafiles, archive logs & control files backup, but current online REDO logs are lost, then can I perform incomplete database recovery ?yes, if you have backups of everything else
    2. Till what maximum time/scn can incomplete database recovery be performed ??Assuming the only thing lost is the redo logs, you can recover to the last scn in the last archivelog.
    3. What is role of online REDO logs in incomplete database recovery ? They provide the final redo changes - the ones that have not been written to archivelogs
    Are they required for incomplete recovery ?It depends on how much incomplete recovery you need to do.
    Think of all of your changes as a constant stream of redo information. As a redolog fills, it is copied to archive, then (eventually) reused. over time, your redo stream is in archivelog_1, continuing into archvivelog_2, then to 3, and eventually, when you get to the last archivelog, into the online redo. A recovery will start with the oldest necessary point in the redo stream and continue forward. Whether or not you need the online redo for a PIT recovery depends on how far forward you need to recover.
    But you should take every precaution to prevent loss of online redo logs .. starting with having multiple members in each redo group ... and keeping those multiple members on physically separate disks.

  • Error in Database backup using RMAN.

    Hi
    While taking full online backup using RMAN i got the following error.
    ORA-19566: exceeded limit of 0 corrupt blocks for file /oracle/DEV/sapdata2/dev640_6/dev640.data6
    Please help me how to resolve this issue.

    Hi,
    Please perform DBverify Job and Also analyze the alert<SID>.log file for your Database to get more information about such logical or physical corruption.  You may require Block level recovery for the complained DB Files. Please refer this useful document " [Early Detection and Correction of Data Block Corruptions Using RMAN |http://www.ioug.org/client_files/members/select_pdf/04q4/RMAN.pdf]" and share the same with your Oracle DBA.
    You can execute the following commands to get information about corrupted block(s), if its there.
    select * from v$backup_corruption;
    select * from v$database_block_corruption;
    Regads,
    Bhavik G. Shroff

  • Database Restore using RMAN

    Can I restore a oracle database with a different name using RMAN.
    Say, I backup a database named orcl. Now I wanted to restore this database with a different name. Is this possible? If yes, can some one guide me through the appropriate document?
    Thank you,
    Santhosh

    < Can I restore this Backup on to a database with a different name ...
    You even have to do this, if duplicated database belongs to the same ORACLE_HOME, otherwise it could be the same name (although the databases still have different DBIDs).
    DUPLICATE TARGET DATABASE TO <name>
    Werner

  • Database backup using RMAN

    Hello All,
    I am new to RMAN.
    I am trying to make some backups of my database using enterprise manager, so i choose to backup my database based on the Oracle-Suggested Backup schedule.
    I got the below command from EM:
    Daily Script:
    run {
    allocate channel oem_disk_backup device type disk;
    recover copy of database with tag 'ORA_OEM_LEVEL_0';
    backup incremental level 1 cumulative  copies=1 for recover of copy with tag 'ORA_OEM_LEVEL_0' database;
    }i have the below question:
    what does the above script do ? EM will create a job that will run it daily ? how can i check this job ? where is it logged?
    where and how can i check the already configured channels ? for ex: channel oem_disk_backup
    what does this script do ? recover copy of database with tag 'ORA_OEM_LEVEL_0' does it recover the database?
    What are the RMAN scripts (run block), to backup my database once per week (for ex on Sunday)as level 0 backup and every day as incremental level 1 cumulative backup ? Since I think that the above script will run a level 0 backup once on the first execution and then the remaining backups are level 1 Incremental backups
    Thanks and regards,

    NB wrote:
    Hello All,
    I am new to RMAN.
    I am trying to make some backups of my database using enterprise manager, so i choose to backup my database based on the Oracle-Suggested Backup schedule.
    I got the below command from EM:
    Daily Script:
    run {
    allocate channel oem_disk_backup device type disk;
    recover copy of database with tag 'ORA_OEM_LEVEL_0';
    backup incremental level 1 cumulative  copies=1 for recover of copy with tag 'ORA_OEM_LEVEL_0' database;
    }i have the below question:
    what does the above script do ? EM will create a job that will run it daily ? how can i check this job ? where is it logged?You can check the the view V$RMAN_BACKUP_JOB_DETAILS.
    where and how can i check the already configured channels ? for ex: channel oem_disk_backupConnect to RMAN and execute the command show all;
    what does this script do ? recover copy of database with tag 'ORA_OEM_LEVEL_0' does it recover the database?
    What are the RMAN scripts (run block), to backup my database once per week (for ex on Sunday)as level 0 backup and every day as incremental level 1 cumulative backup ? Since I think that the above script will run a level 0 backup once on the first execution and then the remaining backups are level 1 Incremental backupsYour script is doing a daily incremental updated backup. Every day, You are asking Oracle to update your image copy with latest changes of all redo as of yesterday. You are recovering your backup copies; see the following link;
    See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup004.htm#sthref408

  • Database cloning using RMAN using Oracle 11i

    Hi all,
    I am getting error while connecting to clone database after making necessary changes in initDUP.ora file. Any buddy help me out to resolve this problem. I am doing clonning first time.
    C:\Documents and Settings\sanjeevk>tnsping dup
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 25-JUN-2010 11:57:40
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = abc-117.abc
    .com)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = dup)))
    OK (50 msec)
    C:\Documents and Settings\sanjeevk>set ORACLE_SID=dup
    C:\Documents and Settings\sanjeevk>sqlplus "sys/****** as sysdba"
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jun 25 11:59:55 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name: / as sysdba
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Edited by: user13174327 on Jun 25, 2010 12:16 AM

    try to conenct to clone database from target database as sys by sqlplus 'sys/sys@CLONE as sysdba'
    make sure u have remote_login_password_file=exclusive in clone database pfile,,,,
    reload the listener,,, with replacing hostname with the ip address of the machine.....
    also take care of global_db_name ..
    i will post a sample of listener file it may work 4 u..
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/orasoft/10.2.0.4)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = rman_cat)
    (ORACLE_HOME = /oracle/orasoft/10.2.0.4)
    (SID_NAME = rman_cat)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.$$$.###.***)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    if u want proper SOP for duplicating database through RMAN .. post me ur mail id.I did that at last two days back.....
    Regards,
    Sisya....

  • Unable to delete  primary database archivelogs using RMAN

    Hi,
    rman unable to delete the archivelogs of primary database even it is in sync ( with standby database).
    giving an error :-
    archive log filename=+FLASH/simsval/archivelog/2012_05_24/thread_2_seq_1693.11359.784134169 thread=2 sequence=1693
    RMAN-08137: WARNING: archive log not deleted as it is still needed
    archive log filename=+FLASH/simsval/archivelog/2012_05_24/thread_2_seq_1694.5554.784135415 thread=2 sequence=1694
    RMAN-08137: WARNING: archive log not deleted as it is still needed
    archive log filename=+FLASH/simsval/archivelog/2012_05_24/thread_2_seq_1695.11643.784164901 thread=2 sequence=1695
    RMAN-08137: WARNING: archive log not deleted as it is still needed
    archive log filename=+FLASH/simsval/archivelog/2012_05_24/thread_2_seq_1696.12654.784164913 thread=2 sequence=1696
    archive gap showing at primary.
    SQL> select to_char (sysdate,'DD-MON-YYYY HH24:MI') as "Now", a.thread#, max(a.sequence#) as "Latest" ,max(b.sequence#) as "Last", max(a.sequence#)-max(b.sequence#) as "To Apply",to_char ( max (b.next_time), 'YYYY-MON-DD HH24:MI') as "LastDate",round ((sysdate - max (b.next_time) ) * 24 * 60, 0) as "Mins Behind" FROM V$ARCHIVED_LOG a , V$ARCHIVED_LOG b where a.applied = 'NO'and b.applied = 'YES' and a.thread# = b.thread# group by a.thread#, a.applied, b.thread#, b.applied order by a.thread#;
    Now THREAD# Latest Last To Apply LastDate Mins Behind
    01-JUN-2012 00:57 1 2321 2195 126 2012-APR-25 22:34 51983
    01-JUN-2012 00:57 2 1729 1576 153 2012-APR-26 15:11 50985
    no archive gap showing at standby .
    SQL> select to_char (sysdate,'DD-MON-YYYY HH24:MI') as "Now", a.thread#, max(a.sequence#) as "Latest" ,max(b.sequence#) as "Last", max(a.sequence#)-max(b.sequence#) as "To Apply",to_char ( max (b.next_time), 'YYYY-MON-DD HH24:MI') as "LastDate",round ((sysdate - max (b.next_time) ) * 24 * 60, 0) as "Mins Behind" FROM V$ARCHIVED_LOG a , V$ARCHIVED_LOG b where a.applied = 'NO'and b.applied = 'YES' and a.thread# = b.thread# group by a.thread#, a.applied, b.thread#, b.applied order by a.thread#;
    Now THREAD# Latest Last To Apply LastDate Mins Behind
    01-JUN-2012 04:59 1 2321 2321 0 2012-MAY-31 22:32 386
    01-JUN-2012 04:59 2 1729 1729 0 2012-MAY-31 22:32 386
    any one please help me to resolve this.
    thanks ,
    Badam.
    Edited by: 937988 on May 31, 2012 9:56 PM

    Can you past here log_archive_ parameter on primary database?
    Did you create data guard configuration with dgmgrl ?
    Mahir M. Quluzade
    www.mahir-quluzade.com

  • Using RMAN restore the database on a new host in ASM

    Hello All,
    I am trying to restore a database without using RMAN database duplicate.  I want to do set new name for datafile and rename log file for online logs and change database name at last using NID.
    here are details
    source database - APSPROD / server - X
    target database -  EMERALD / Server -Y
    Compressed backup is copied to destination server and I am trying to restore database using RMAN. Here is my init.ora file
    cat initAPSPROD1.ora
    DB_NAME=APSPROD
    compatible=11.2.0.3
    sga_target=8G
    CONTROL_FILES='+DATA_DM01/EMERALD/controlfile/cntrl01.dbf','+RECO_DM01/EMERALD/controlfile/cntrl02.dbf','+DATA_DM01/EMERALD/controlfile/cntrl03.dbf'
    DB_BLOCK_SIZE=8192
    db_file_name_convert=(+DATA_DM01/APSPROD,+DATA_DM01/EMERALD)
    log_file_name_convert=(+DATA_DM01/APSPROD,+DATA_DM01/EMERALD,+RECO_DM01/APSPROD,+RECO_DM01/EMERALD)
    DB_RECOVERY_FILE_DEST='+RECO_DM01'
    DB_RECOVERY_FILE_DEST_SIZE=5500G
    So from above you can see that control file should be restored to +DATA_DM01/EMERALD and +RECO_DM01/EMERALD path.
    Question -
    when I am trying to restore control file. It creates an ASM alias name in +DATA_DM01/EMERALD/controlfile/cntrl01.dbf',+RECO_DM01/EMERALD/controlfile/cntrl02.dbf',' and +DATA_DM01/EMERALD/controlfile/cntrl03.dbf' but It creates fully Qualified ASM Filename  under +DATA_DM01/APSPROD and +RECO_DM01/
    Here is output
    RMAN> restore controlfile from '/dbfs_direct/FS1/RMAN_APSPROD/cf_APSPROD_i4p4b62m_1_1
    2> ;
    Starting restore at 02-APR-14
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:07
    output file name=+DATA_DM01/emerald/controlfile/cntrl01.dbf
    output file name=+RECO_DM01/emerald/controlfile/cntrl02.dbf
    output file name=+DATA_DM01/emerald/controlfile/cntrl03.dbf
    Finished restore at 02-APR-14
    output at ASM level
    SMCMD [+RECO_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl02.dbf => +RECO_DM01/APSPROD/CONTROLFILE/current.17006.843826701
    ASMCMD [+RECO_DM01/EMERALD/CONTROLFILE] > cd +RECO_DM01/APSPROD/CONTROLFILE/
    ASMCMD [+RECO_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.17006.843826701
    ASMCMD [+RECO_DM01/APSPROD/CONTROLFILE] > cd +DATA_DM01
    ASMCMD [+DATA_DM01] > cd EMERALD/CONTROLFILE
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl01.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3678.843826699
                                                   N    cntrl03.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3679.843826701
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > cd +DATA_DM01/APSPROD/CONTROLFILE
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3678.843826699
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3679.843826701
    How can I ensure that every thing gets created in +DATA_DM01/EMERALD/ or [+RECO_DM01/EMERALD??  similary for datafile restore even I have used set new file name ASM fully quilified OMF  datafile gets created under +DATA_DM01/APSPROD/
    ASMCMD [+DATA_DM01/EMERALD/DATAFILE]
    N    undots5_01.dbf => +DATA_DM01/APSPROD/DATAFILE/APPS_UNDOTS5.3669.843818269
    Thanks
    PV

    Even If I explicitly say
    rman target / nocatalog
    RMAN> restore controlfile  to '+DATA_DM01/emerald/controlfile/cntrl01.dbf' from '/dbfs_direct/FS1/RMAN_APSPROD/cf_APSPROD_i4p4b62m_1_1';
    Starting restore at 02-APR-14
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=64 device type=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    Finished restore at 02-APR-14
    It create as alias name  +DATA_DM01/emerald/controlfile/cntrl01.dbf' pointing to +DATA_DM01/APSPROD/CONTROLFILE/
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl01.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3679.843828927
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > cd +DATA_DM01/APSPROD
    ASMCMD [+DATA_DM01/APSPROD] > cd CONTROLFILE
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3679.843828927
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] >

  • To restore backup on different host using RMAN

    Hi All,
    Friend I need your help once again. I want to restore my database from the past backup to new HOST by keeping the original database intact using RMAN. Let me explain the scenario:-
    Databas Version - 8.1.7
    OS - Solaris 5.8
    We are using RMAN with Tivoli as third party media management. I just need to restore the database from this tape library using RMAN with recovery catalog on new server. The only doubt I have is how I will make the backups of the production database whose backup has to be restored available on the new host where I have to create new database.
    I will be using different file structure for the newly restored database. Do I have to create TDPO files seperately on the server on which I have to restore the database.
    Please reply asap.
    Regards
    Harpreet Singh

    You need to create a tdpo.opt file of source on the destination database. Then, allocate channel using this TDPO_OPTFILE and recover database.

  • Current archive log got deleted, how to recover using previous archive log?

    Hi
    My current log sequence #819 and it is got deleted and no choice to get it back and I have previous archived logs with sequences #814 to 818.
    When I starting my database it is showing that use 'MUST USE RESETLOGS OR NORESETLOGS option for database open then I used the command
    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: 'E:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01.DBF'
    SQL> alter database recover;
    alter database recover
    ERROR at line 1:
    ORA-00283: recovery session canceled due to errors
    ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
    SQL> alter database recover using backup controlfile;
    alter database recover using backup controlfile
    ERROR at line 1:
    ORA-00279: change 8433746 generated at 01/15/2013 19:51:59 needed for thread 1
    ORA-00289: suggestion :
    E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2013_01_16\O1_MF_1_819_
    %U_.ARC
    ORA-00280: change 8433746 for thread 1 is in sequence #819
    now I don't have the archive log with sequence 819, I have recover from 818. please tell me how to do it?

    You probably should post to the correct forum too: Recovery Manager (RMAN)
    cheers

  • AUXILIARY database update using full backup from target database

    Hi,
    I am now facing the problem with how to implement AUXILIARY database update to be consistent with the target database during a certain period (a week). I did a fully backup on our target database everyday using rman. I know it is possible to use expdp to realize it but i want to use the current fully backup to do it. Does anybody has idea or experience with that? Thanks in advance!
    Regards,
    lik

    That's OK. If you don't use RMAN to clone your database. You can create a database just using the cold backup of the primary database simply.
    Important things are
    1) you must catalog all datafiles as image copy level 0 in the cloned database
    RMAN> connect catalog rman/rman@rcvcat (in host 1)
    RMAN> connect target sys/manager@clonedb (in host 2)
    RMAN> catalog datafilecopy
    '/oracle/oradata/CLONE/datafile/abc.dbf',
    '/oracle/oradata/CLONE/datafile/def.dbf',
    '/oracle/oradata/CLONE/datafile/ghi.dbf'
    level 0 tag 'CLONE';
    2) You need to make incrementals of the primary database to refresh the clone database.Make sure that you need to specify a tag for the incremental and the name of tag is the exactly same as the one used step (1).
    RMAN> connect catalog rman/rman@rcvcat (in host 1)
    RMAN> connect target sys/manager@prod (in host 3)
    RMAN> backup incremental level 1 tag 'CLONE' for recover of copy with tag 'CLONE' database format '/backup/%u';
    3) Copy the newly created incrementals (in host 3) to the clone database site (host 2). Make sure the directory must be exactly same.
    $ rcp /backup/<incr_backup> /backup/
    -- rcp <the loc of a incremental in host 3> <the loc of a incremental in host 2>
    4) Apply incrementals to update the clone database. Make sure you provide the tag you specified.
    RMAN> connect catalog rman/rman@rcvcat
    RMAN> connect target sys/manager@clone
    RMAN> recover copy of database with tag 'CLONE';
    5) After update the clone database, then delete the incremental backups and uncatalog the image copies
    RMAN> delete backup tag 'CLONE';
    RMAN> change copy like '/oracle/oradata/CLONE/datafile/%' uncatalog;
    *** As you can see, you can clone a database using any methods. The key is you have to catalog the clone database when you refresh it. After finishing it, then uncatalog..

  • Clonning Using RMAN

    I am trying to clone 10g database from one windows machine to another windows machine. I am using RMAN for this purpose.
    I have carried out following steps in order to do so ..
    On machine - 1
    1. Done alter system switch logfile thrice;
    2. Shutdown Immediate
    3. Startup mount
    4. Then took full database backup using RMAN with controlfile autobackup on
    5. On machine two I coped backup pieces to same location as that of machine 1
    On machibe-2
    1. Started database in nomount stage.
    2. rman target /
    3. restored controlfile from autobackup
    4. alter database mount;
    5. run{ restore database
         Recover database;}
    At the end of step 5 on machine-2 I am getting following error
    Starting recover at 12-OCT-07
    using channel ORA_DISK_1
    starting media recovery
    unable to find archive log
    archive log thread=1 sequence=7
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 10/12/2007 11:03:27
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 7 lowscn 550503
    RMAN>
    I don't understand why RMAN is asking for online redo log when I have taken RMAN backup with database mounted.
    Cant we take true cold backup using RMAN.. (true in the sense it should not ask for any recovery at the time of restoration)

    Answers To FAQ For Restoring Or Duplicating Between Different Versions And Platforms Doc ID: Note:369644.1
    How to make a copy of a database on the same Windows NT machine
    Using a hot backup) Doc ID: Note:73301.1
    How To Copy An Oracle Database To Another Machine
    Using a cold backup) Note 174226.1
    OERR: RMAN-6054 { Message text depends on version }
    Doc ID: Note:48210.1
    Have you used reset logs?
    Adith

  • Tnsname resolve failed after performing an restore using rman

    I create an full database backup using rman and I want to perform an restore on another server. Steps are as follows.
    1. Install the same release of oracle database and apply the same release of patches in the testing server.
    2. Create an instance with the same name of original database.
    3.Perform the restore using rman.
    4.Create an spfile from pfile.
    5.Add an new tempfile then delete the old one.
    6. Shutdown the instance and restart it.
    7. reconfigure the listner.
    8. reconfigure the tns.
    In this step it fails,saying that "TNS:listener does not currently know of service requested in connect descriptor",but if I change the servername to the original server name,it succeed.

    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MOSS-001)(PORT=1521)))
    Services Summary...
    Service "JDEDB.PharmaTechs.com" has 1 instance(s).
    Instance "jdedb", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0 state:ready
    LOCAL SERVER
    Service "JDEDBXDB.PharmaTechs.com" has 1 instance(s).
    Instance "jdedb", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: MOSS-001, pid: 7912>
    (ADDRESS=(PROTOCOL=tcp)(HOST=MOSS-001.pharmatechs.com)(PORT=2406))
    Service "JDEDB_XPT.PharmaTechs.com" has 1 instance(s).
    Instance "jdedb", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:3 refused:0 state:ready
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully

Maybe you are looking for

  • New Skype will not open , old will not sign in .

    I am using a Vodafone Smart II w/ stock Android 2.3.7 & WiFi (home/office network) I downloaded today the latest version of skype from Google play , and it won, t open after installation. Cleared data and rebooted , nothing happens. THen i downloaded

  • Welcome to the Network Management Discussion

    Welcome to the Cisco Networking Professionals Connection Wireless Forum. This conversation will provide you the opportunity to discuss issues surrounding Network Management. We encourage everyone to share their knowledge and start conversations on is

  • Does anyone know how to uninstall MacKeeper? Im pretty sure it is Maleware!

    I have installed this program on my computer. I clicked on a pop which suggested they were selling a MAC cleaning software. It did not suggest I had a virus but that it would help keep my desktop clean. When I checked the website it clearly had a bun

  • LSO: Instructor Portal for external instructors

    Hi, I would love to know, what your experience with this scenario is; Instructors are 3rd party and need to access the instructor portal from outside the organisation's firewall. The HCM system, of course, is on the other side of the firewall, so not

  • OS/X unresponsive - waiting for response on ports 2222 and 137 ?

    About once a month it seems I have to power cycle the iMac as it becomes completely unresponsive on the console. I can ping it from other computers, but if I try to SSH into it to see what's wrong, all I see is it sending UDP packets to port 2222 and