How to duplicate by rman database?

dear sir, i read one article and follow step and 2nd auxiliary database i delete all dbf, ctl, log(redo) files ...then tryying to create dubplicate giving me error
can some one send steps of it
rgds
shahzad

Database Duplication with RMAN
Use the RMAN DUPLICATE command to create a copy of the target database that you can use for testing. The command restores backups and copies of the primary database's files and creates a new database.
As part of the duplicating operation, RMAN manages the following:
Restores the target datafiles into the duplicate database and performs incomplete recovery using all available archived log and incremental backups.
Opens the duplicate database with the RESETLOGS option after incomplete recovery to create the online redo logs.
Generates a new, unique database identifier for the duplicate database.
Note also the following features of RMAN duplication. You can:
Skip read-only tablespaces with the SKIP READONLY clause (read-only tablespaces are included by default). You can also exclude any tablespace with the SKIP TABLESPACE clause so long as it is not the SYSTEM tablespace and does not contain rollback or undo data. If you omit tablespaces, then you can add them later.
Create your duplicate database in a new host. If the same directory structure is available, then you can use the NOFILENAMECHECK option and reuse the target datafile filenames for the duplicate datafiles.
Create your duplicate database by using the SET UNTIL command or UNTIL clause of the DUPLICATE command to recover it to a noncurrent time. By default, the DUPLICATE command creates the database using the most recent backups of the target database and then performs recovery to the most recent consistent point contained in the incremental and archived redo log backups.
Use the duplicate database without a recovery catalog.
Register the duplicate database in the same recovery catalog as the target database. This option is possible because the duplicate database receives a new database identifier during duplication. If you copy the target database using operating system utilities, then the database identifier of the copied database remains the same so you cannot register it in the same recovery catalog.
Figure 6-3 illustrates a case of database duplication. In this example, RMAN creates two duplicate database by using one set of datafile backups: one database on the local host and one database a remote host.
Figure 6-3 Creating a Duplicate Database from Backups
Text description of the illustration sbr81078.gif
The method you use to duplicate your database depends on whether you are creating your duplicate database on the same or a different host and whether the duplicate directory structure is the same as your target database directory structure. For example, in some cases you can keep the same directory structure and filenames in your duplicate database, while other times you must rename the files.
See Also:
Chapter 12, "Duplicating a Database with Recovery Manager" to learn how to make a duplicate database, and Oracle9i Recovery Manager Reference for DUPLICATE command syntax.
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmconc2.htm#462471
Joel Pérez
http://www.oracle.com/technology/experts

Similar Messages

  • Another RMAN duplicate problem - RAC database to single instance

    Hi,
    I have a problem with the RMAN duplicate procedure and was hoping someone can help.
    I would like to create a duplicate of our production RAC database on a separate, stand-alone, database server on another site. This duplicate will be used for intensive querying by another business unit who I don't want to have access to our production database.
    My procedure goes like this:
    1. Create a disk (not ASM) based backup of the datafiles and any archived redo logs:
    "run {
    allocate channel d1 type disk;
    backup format '/u02/stage/df_t%t_s%s_p%p' database plus archivelog delete input;
    release channel d1;
    2. Tar and scp these files to the same location on the stand-alone database server.
    3. In the meantime, work has been happening on the production database and further archived redo logs have been generated. I don't really care about these logs for the purposes of the duplicate however, I just want to duplicate to the point of the recent backup. To do this, I run the following SQL to determine the sequence number that I should be duplicating up to:
    "select max(sequence#), thread# from v$archived_log where deleted='YES' group by thread#;"
    4. Duplicate the production database to the stand-alone database (all the SQL Net stuff is working).
    "run {
    set until sequence (value returned by above SQL statement);
    duplicate target database to XXX;
    However, my problem arises because I don't know how to handle the fact that there are two threads. I understand that each thread relates to one of the RAC instances, I just don't know which one to specify for the duplicate. We have a database service which the client application connects through, and that service runs on on or other of the instances. Should I just care about the logs from the instance where the service is currently running?
    Am I even approaching this is the correct way?
    I look forward to any help that people may be able to offer.
    Regards,
    Phil

    Hi Werner,
    Thanks again for your help, there is still something wrong though. "list backup of archivelog all;" shows:
    BS Key Size Device Type Elapsed Time Completion Time
    3784 202.34M DISK 00:00:08 28-OCT-09
    BP Key: 3784 Status: AVAILABLE Compressed: NO Tag: TAG20091028T111718
    Piece Name: /u02/stage/df_t701435838_s3820_p1
    List of Archived Logs in backup set 3784
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 9746 569095777 28-OCT-09 569150229 28-OCT-09
    1 9747 569150229 28-OCT-09 569187892 28-OCT-09
    1 9748 569187892 28-OCT-09 569231956 28-OCT-09
    1 9749 569231956 28-OCT-09 569259816 28-OCT-09
    2 7931 569095774 28-OCT-09 569187902 28-OCT-09
    2 7932 569187902 28-OCT-09 569259814 28-OCT-09
    BS Key Size Device Type Elapsed Time Completion Time
    3787 1.04M DISK 00:00:02 28-OCT-09
    BP Key: 3787 Status: AVAILABLE Compressed: NO Tag: TAG20091028T112222
    Piece Name: /u02/stage/df_t701436142_s3823_p1
    List of Archived Logs in backup set 3787
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 9750 569259816 28-OCT-09 569261110 28-OCT-09
    2 7933 569259814 28-OCT-09 569261108 28-OCT-09
    You can see that the highest sequence number is 9750 of thread 1, and that the Low and Next SCNs are 569259816 and 56926111. However, when I look at the output of the RMAN duplicate command:
    contents of Memory Script:
    set until scn 569505448;
    recover
    clone database
    delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 28-OCT-09
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=39 devtype=DISK
    starting media recovery
    Oracle Error:
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 4 needs more recovery to be consistent
    ORA-01110: data file 4: '/u02/sca-standby/data/users.260.623418479'
    RMAN-03002: failure of Duplicate Db command at 10/28/2009 16:12:55
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of log thread 2 seq 7936 lowscn 569411744 found to restore
    RMAN-06025: no backup of log thread 2 seq 7935 lowscn 569321987 found to restore
    RMAN-06025: no backup of log thread 2 seq 7934 lowscn 569261108 found to restore
    RMAN-06025: no backup of log thread 1 seq 9758 lowscn 569471890 found to restore
    RMAN-06025: no backup of log thread 1 seq 9757 lowscn 569440076 found to restore
    RMAN-06025: no backup of log thread 1 seq 9756 lowscn 569411439 found to restore
    RMAN-06025: no backup of log thread 1 seq 9755 lowscn 569378529 found to restore
    RMAN-06025: no backup of log thread 1 seq 9754 lowscn 569358970 found to restore
    RMAN-06025: no backup of log thread 1 seq 9753 lowscn 569321882 found to restore
    RMAN-06025: no backup of log thread 1 seq 9752 lowscn 569284238 found to restore
    RMAN-06025: no backup of log thread 1 seq 9751 lowscn 569261110 found to restore
    you can see that something is setting the recovery SCN to 569505448 which higher even then any of the archived logs mentioned above. If I select current_scn from the production database, this gives me 569528258 which is closer to the value which RMAN is expecting to recover to than any of the archived redo logs.
    Can you think what might be causing RMAN to try to recover to this value? and why does it appear to be ignoring the SET UNTIL SEQUENCE command?
    Cheers,
    Phil

  • ORA-01017 when RMAN duplicate from active database

    Hello, ORACLE guru's!
    I've got some trouble trying to duplicate DB via RMAN duplicate from active database.
    The script is simple:
    run
    allocate channel ch1 device type disk;
    allocate auxiliary channel aux1 device type disk;
    duplicate target database to mydb from active database;
    The problem is in this statement:
    Starting backup at 15-JAN-14
    channel ch1: starting datafile copy
    copying current control file
    Oracle instance started
    Total System Global Area   10689474560 bytes
    Fixed Size                     2237776 bytes
    Variable Size               4227861168 bytes
    Database Buffers            6442450944 bytes
    Redo Buffers                  16924672 bytes
    contents of Memory Script:
       sql clone "alter system set  db_name =
    ''mydb'' comment=
    ''Reset to original value by RMAN'' scope=spfile";
       sql clone "alter system reset  db_unique_name scope=spfile";
       shutdown clone immediate;
    executing Memory Script
    sql statement: alter system set  db_name =  ''mydb'' comment= ''Reset to original value by RMAN'' scope=spfile
    sql statement: alter system reset  db_unique_name scope=spfile
    Oracle instance shut down
    released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/15/2014 12:16:07
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ch1 channel at 01/15/2014 12:15:57
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    RMAN>
    RMAN>

    change:
    export  ORACLE_SID="mydb"
    export ORACLE_HOME="/u/app/oracle/product/11.2/db_1"
    FILE1 = "/u/app/oracle/product/11.2/db_1/bin/"
    cat > $FILE1/sqlplus sys/karen as sysdba << EOF
    startup nomount; 
    exit;
    EOF
    cat > $FILE1/rman target sys/karen@mytargetdb auxiliary sys/karen@mydb << EOF
    run
    allocate channel ch1 device type disk;
    allocate auxiliary channel aux1 device type disk;
    duplicate target database to mydb from active database;
    EOF
    tell us if it works and again, from what host are you running the script?

  • How to eliminate inserting  Duplicate rows into database using JDBC Adapter

    File->Xi->JDBC
    In above Scenario if the file has two rows their values are identical, then how can we eliminated inserting  Duplicate rows into database using JDBC Adapter

    Database is a consumer of a SERVICE (SOA!!!!!!).
    Database plays a business system role here!!!!
    Mapping is part of an ESB service
    Adaptor is a technology adapted to ESB framework to support specific protocol.
    ESB accomplish ESB duties such as transformation, translation, routing. Routing use a protocol accepted by the consumer. In a JDBC consumer it is JDBC protocol and hence it a JDBC adaptor.
    There is clear separation on responsibilities among business system and ESB. ESB do not participate in business decision or try to get into business system data layer.
    So who ever are asking people to check duplicate check as part of mapping (an ESB service) may not understand integration practice.
    Please use an adaptor module which will execute the duplicate check with business system in a plug and play approach and separate that from ESB service so that people can build integration using AGILE approach.
    Thanks

  • How to duplicate Database with annotation?

    Hello everyone, I use Final Cut Server as an archive (all devices link to an external HD), I have about 2000 clip with their associated annotations. Now I need to duplicate my entire database to view it from another machine installed with final cut server (not as a client, just like new "server "). I duplicated the entire contents of my external HD, I configured the new machine with final cut server (equal to other), but now I see all media there are no annotations. I wanted to know if there was a way to spend all my annotation database on another final cut server with the same materials!
    I hope I was clear, sorry for English.
    Thanks in advance
    Frenkie FACT

    In System Preferences (Apple menu), in the FCSvr System Preferences pane, do a Backup of the FCSvr database. This makes a file, and you can tell FCSvr to write it to the Desktop.
    Take that file to the new machine, and then do a Restore.

  • Duplicate Problems (RMAN is looking at the wrong backup)

    We are running into a problem when we try to duplicate our database. Here is the process we use to duplicate:
    delete old backup files (we only use RMAN for cloning so we don't need them)
    set prod db environment variables<run rman
    connect target sys/####;
    backup database;
    exit;
    set test db environment variables<shutdown test database, rename test db folder (in case we missed getting something important out) create a new folder for test db.
    start test db (nomount)
    rman
    connect target sys/####@PROD
    connect auxiliary sys/####@TEST
    run
    allocate auxiliary channel disk1 type disk;
    duplicate target database to TEST;
    we get this error:
    channel disk1: reading from backup piece E:\RMAN\PROD\BKUP_PROD_610891176_1
    ORA-19870: error reading backup piece E:\RMAN\PROD\BKUP_PROD_610891176_1
    ORA-19505: failed to identify file "E:\RMAN\PROD\BKUP_PROD_610891176_1"
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    failover to previous backup
    The backup file RMAN is trying to read is the backup from our previous clone. How can I tell RMAN to look at the backup we just made?
    I've run "list backup;" and the most recent backup is shown there. We've run into this problem a couple of times now, but not everytime. I can't find any rhyme or reason for why it works or fails but the process is the same sometimes we can just wait a half-hour or an hour and it works. Anyone have any ideas that could help?
    BTW - We aren't using a recovery catalog.

    http://dbataj.blogspot.com/2006/12/duplicating-database-with-recovery.html

  • Duplicate from Active database

    Hi,
    I have RAC primary database running in 11.2.0.3 with linux 5(dc). We also have configured RAC cluster on DR site recently.Now we need to create stanby database on DR site.
    For this is have following doubts
    My database size is 6TB(from dba_segmnets) and total is 14TB(from dba_data_files)
    1) How duplicate of active database works internally? Does it copy the exact file to standby site for example copy datafile(which is of 5GB in size) and send it over to standby over network?
    2) Both primary and standby sites are in different states, so i was thinking to backup the primary database first to tapes and then courier tapes to dr site and then finally restore and recover standby.
    I have doubts in above approaches which should i implement. I think active database duplication will skip a)backup time b) courier time. Is that correct?
    However if my database size is 14TB and using 1st method, does it send files to dr worth of 14TB size?

    I am working on active database duplication and has below issue. Can any one help me on this?
    RMAN> connect target sys@Pa305
    connected to target database: PA305 (DBID=2787277616)
    RMAN> connect auxiliary sys@Pb305
    connected to auxiliary database: PB305 (not mounted)
    RMAN> DUPLICATE TARGET DATABASE
    TO 'PB305'
    FROM ACTIVE DATABASE
    2> 3> 4> ;
    Starting Duplicate Db at 31-JUL-2012 17:20:07
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=2838 instance=PB3051 device type=DISK
    contents of Memory Script:
    sql clone "alter system set control_files =
    ''+DG_075_DATA01/PB305/controlfile/current.270.790104009'', ''+DG_075_FRA01/PB305/controlfile/current.286.790104009'' comment=
    ''Set by RMAN'' scope=spfile";
    sql clone "alter system set db_name =
    ''PA305'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    sql clone "alter system set db_unique_name =
    ''PB305'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone force nomount
    backup as copy current controlfile auxiliary format '+DG_075_DATA01/PB305/controlfile/current.269.790104009';
    restore clone controlfile to '+DG_075_FRA01/PB305/controlfile/current.288.790104009' from
    '+DG_075_DATA01/PB305/controlfile/current.269.790104009';
    sql clone "alter system set control_files =
    ''+DG_075_DATA01/PB305/controlfile/current.269.790104009'', ''+DG_075_FRA01/PB305/controlfile/current.288.790104009'' comment=
    ''Set by RMAN'' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    alter clone database mount;
    executing Memory Script
    sql statement: alter system set control_files = ''+DG_075_DATA01/PB305/controlfile/current.270.790104009'', ''+DG_075_FRA01/PB305/controlfile/current.286.790104009'' comment= ''Set by RMAN'' scope=spfile
    sql statement: alter system set db_name = ''PA305'' comment= ''Modified by RMAN duplicate'' scope=spfile
    sql statement: alter system set db_unique_name = ''PB305'' comment= ''Modified by RMAN duplicate'' scope=spfile
    Oracle instance shut down
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/31/2012 17:20:18
    RMAN-06174: not connected to auxiliary database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    RMAN>

  • Rman database 10gr2 upgrade to 11gr2 problem recover

    * Oracle 10gr2 database rman full backup.
    * copied the files to target database.
    * rman target /
    * rman> set DBID
    * rman> restore controlfile from 'path/controlfile.bkp
    * RMAN> sql 'alter database mount';
    * catalog start with 'path/directory';
    * rman> run { script to set newname for datafile {N} to 'path/<filename.dbf';
    * rman> restore database;
    * SQL> alter database rename file 'path/redo1' to 'newPatch/redo1';
    * SQL> select /*+ name from v$datafile */ name from v$datafile; // new path is shown
    Because this is a 11gr2 database. I understand that I am suppose to "alter database disable block change tracking;" in order to have a successful and predictable recovery. Please offer recommendations on the next steps to:
    1. RMAN> restore database
    2. RMAN> open database resetlogs ?
    What steps do I need to do to ensure that I am able to restore and then open the database. I'll the rest of the upgrade stuff but I need to at least understand what I am missing. I have been getting failure and on one occasion I got success after I changed the block change. Please advise. Thanks

    Hello;
    How To Restore 10g RMAN Backup to 11g
    http://taliphakanozturken.wordpress.com/2012/07/20/how-to-restore-10g-rman-backup-to-11g/
    Ton of information in this thread :
    Re: RMAN duplicate
    and here :
    RMAN backup, restore across different versions
    I believe its
    Recover database and open resetlogs option ( Recover database and open resetlogs then SQL> alter database open resetlogs upgrade; )
    Restoring a Database on a New Host :
    http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmadvre.htm#i1007814
    Upgrade a Database Manually
    http://docs.oracle.com/cd/B28359_01/server.111/b28300/upgrade.htm#i1011600
    Best Regards
    mseberg

  • Stuck in the listener entry step in DUPLICATE OF RAC databases

    I am trying to duplicate with RMAN a new RAC db from production RAC db.
    I am done with the following steps:
    1). backup prod database with rman
    2). copy init file over and modity entries not to reflect rac paramters...
    3). create a password file for new db
    now I got stuck on step 4) Create a static listener entry for your new database and reload the listener as appropriate.
    This step is necessary, because an RMAN duplicate uses an auxiliary database that is in no mount and therefore will not automatically register itself with the listener(s) as specified by local_listener, remote_listener and or the default, 1521.
    For example:
    (SID_DESC =
    (GLOBAL_DBNAME = rman.colestock.test)
    (ORACLE_HOME = /u03/app/oracle/product/db/10.2)
    (SID_NAME = rman2)
    The above is instruciton I got.
    However I got very confused here:
    First, on the RAC server, I added sid entry at the bottom of listener.ora. and the tnsnames entry looks like this:
    abc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxx76)(PORT = 1528))
    (ADDRESS = (PROTOCOL = TCP)(HOST =xxxxxx 77)(PORT = 1528))
    (CONNECT_DATA =
    (SERVICE_NAME = abc_service)
    How do I add a sid entry in the tnsnames.ora file? Since I supposed to create a single db first, not rac, do I have to put service_name or sid name there?
    ANother confusion is how to reload the listener? Since this is a RAC server, two nodes has two listenrs: abc_listener1, abc_listener2. Do I have to stop and start listner by svrctl stop the dynamic listener?
    Please if you can, provide detailed steps here how to create static listener in tnsnames entry and listener entry on a RAC environment and then reload the listener.
    I have to finish up the duplication this weekend. So any help will be greatly appreciated.
    Thank you in advance.

    user569151 wrote:
    I am trying to duplicate with RMAN a new RAC db from production RAC db.
    I am done with the following steps:
    1). backup prod database with rman
    2). copy init file over and modity entries not to reflect rac paramters...
    3). create a password file for new db
    now I got stuck on step 4) Create a static listener entry for your new database and reload the listener as appropriate.
    This step is necessary, because an RMAN duplicate uses an auxiliary database that is in no mount and therefore will not automatically register itself with the listener(s) as specified by local_listener, remote_listener and or the default, 1521.
    For example:
    (SID_DESC =
    (GLOBAL_DBNAME = rman.colestock.test)
    (ORACLE_HOME = /u03/app/oracle/product/db/10.2)
    (SID_NAME = rman2)
    The above is instruciton I got.
    However I got very confused here:
    First, on the RAC server, I added sid entry at the bottom of listener.ora. and the tnsnames entry looks like this:
    abc =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxx76)(PORT = 1528))
    (ADDRESS = (PROTOCOL = TCP)(HOST =xxxxxx 77)(PORT = 1528))
    (CONNECT_DATA =
    (SERVICE_NAME = abc_service)
    How do I add a sid entry in the tnsnames.ora file? Since I supposed to create a single db first, not rac, do I have to put service_name or sid name there?
    ANother confusion is how to reload the listener? Since this is a RAC server, two nodes has two listenrs: abc_listener1, abc_listener2. Do I have to stop and start listner by svrctl stop the dynamic listener?
    Please if you can, provide detailed steps here how to create static listener in tnsnames entry and tnsnames.ora does not contain any information about listener.
    listener entry on a RAC environment and then reload the listener.http://www.lmgtfy.com/?q=oracle+local_listener

  • How to stop a rman backup in progress?

    OS: AIX 5.3 L and Oracle 10g R2
    I got panic when my scheduled rman backup (incremental level 0 plus archivelog) run too long and I want to stop the process. I could not find the rman doc mentioning how to use any rman command to do that, instead of just shutdowning the database instance.with ps -ef, there were just too many PID of oracle. Is there a way by rman to STOP the process?
    Furthermore, I had no idea why it happened. Last week when I did a full copy backup, it only took 23 minutes for 32G database, Today, I changed the scheme to a level 0 incremental, and it is still running after 5 and half hours. But it already created the archivelog, datafile backupset (checked by the DB control). How to find out what went wrong?

    I did not use any third party application with rman or TSM in my AIX. what is the tdpo? Killing at OS level is probably only thing I can do now. kill -9 PID#
    Message was edited by:
    user508054
    Message was edited by:
    user508054

  • How to start with RMAN as I am beginner?

    Dear all,
    How to start with RMAN as I am beginner? Any simple document or guide line for me.
    Thanks,
    Amy

    How to start with RMAN as I am beginner? Any simple
    document or guide line for me.go to yours oracle home directory /orahome/bin there is RMAN exe tool run it it will show you prompt RMAN
    Recovery Manager: Release 10.1.0.2.0 - Production
    Copyright (c) 1995, 2004, Oracle.  All rights reserved.
    RMAN> connect target sys/sys
    connected to target database: ORCL (DBID=1171886541)
    RMAN> backup database
    2> ;
    Starting backup at 21-JAN-08
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSTEM01.DBF
    input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSAUX01.DBF
    input datafile fno=00005 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\EXAMPLE01.DBF
    input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS01.DBF
    input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 21-JAN-08
    channel ORA_DISK_1: finished piece 1 at 21-JAN-08
    piece handle=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2008_01_21\O1_MF_NNNDF_TAG20080121T135924_3S8QQF74_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 21-JAN-08
    channel ORA_DISK_1: finished piece 1 at 21-JAN-08
    piece handle=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2008_01_21\O1_MF_NCSNF_TAG20080121T135924_3S8QSSN4_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    Finished backup at 21-JAN-08
    http://www.orafaq.com/faq/rmanKhurram

  • The ABAP/4 Open SQL array insert results in duplicate Record in database

    Hi All,
    I am trying to transfer 4 plants from R/3 to APO. The IM contains only these 4 plants. However a queue gets generated in APO saying 'The ABAP/4 Open SQL array insert results in duplicate record in database'. I checked for table /SAPAPO/LOC, /SAPAPO/LOCMAP & /SAPAPO/LOCT for duplicate entry but the entry is not found.
    Can anybody guide me how to resolve this issue?
    Thanks in advance
    Sandeep Patil

    Hi Sandeep,
              Now try to delete ur location before activating the IM again.
    Use the program /SAPAPO/DELETE_LOCATIONS to delete locations.
    Note :
    1. Set the deletion flag (in /SAPAPO/LOC : Location -> Deletion Flag)
    2. Remove all the dependencies (like transportation lane, Model ........ )
    Check now and let me know.
    Regards,
    Siva.
    null

  • How can I combine two databases, from two computers, to have one combined database of messages?

    My old XP computer recently died and I had to build a new Windows 8.1 machine. While I was down I used a laptop as a temporary replacement. Now my new machine is running fine and receiving e-mail, but I now have two databases--one on the new machine and one on the laptop. Both are based on a recent backup, so they are lengthy--except that the new machine's database has a hole in it for the period I was on the laptop and the laptop's database also has gaps. How can I combine two databases into one that includes the messages from both machines?
    Thanks in advance,
    profsimonie

    Thanks for your reply. My profile folder did not contain any MBOX files. I found them in another folder on another drive. The Import-Export tools simply transferred each folder to the current one as a sub-folder. Then I had to use ctrl-a to select everything in the folder and move them manually to the current folder (such as inbox). Then I could use the other utility you mentioned to remove the duplicates. This had to be done, one folder at a time, to combine each folder. It worked, but I had about thirty-five folders to deal with. The whole process took most of two days to complete. I wish there was a simple way to blend everything together in one action, but I could not find an add-on that would do this.
    Frank Simonie

  • How to make hot RMAN backup as consistent in 10g?

    Hi,
    While cloning database using rman hot backup it asking archivelog files. how to recover easily? How to make hot RMAN backup as consistent in 10g?
    Thanks,

    user2017273 wrote:
    Hi,
    While cloning database using rman hot backup it asking archivelog files. how to recover easily? How to make hot RMAN backup as consistent in 10g?
    Thanks,Take backup with "plus archivelog" command. This will require archived redo log files and automatically apply them

  • How to remove a RAC database

    Hi Guys,
    We have some issues with ASM diskgroups and due to this the diskgroups holding a 2 node RAC DB are not mounted . We want to remove this database cleanly so that we can drop the troubled diskgroups and create new one.Unfortunately we dont have a backup of this database as it is not production.So how can we clean it from asm/crs - dbca needs the database to be up before it can be removed but becuase of asm issue and non-availability of backups,it can not be brought up!
    Any suggestions would be appreciated.
    Thanks.

    Hi,
    as database is mounted by RAC
    1. shutdown node2 (database and ASM instance)
    2. login to node1 , rman- drop database, which will drop all datafile, controlfile etc.
    3. srvclt remove datase -d <db_name> : to remove from CRS reposioty
    4. delete all parameter file or password file etc from $ORALCE_HOME/dbs
    5. remove detail from /etc/oratab
    5. drop ASM diskgroup
    For more detail following metalink notes.
    Note 239998.1: 10g RAC: How to Clean Up After a Failed CRS Install
    Note:311350.1 :How to cleanup ASM installation (RAC and Non-RAC)
    Note:251412.1 :How to Drop the Target Database Using RMAN
    Regards
    [email protected]

Maybe you are looking for