Duplicate target database - until the time?

Dear Experts,

RDBMS - 10.2.0.4

I am trying to update the backup "ORCL2" using a cold of 'ORCL1', the two databases are on different servers. under the safeguard of stamp ORCL1 time is over:
Finished Control File and SPFILE Autobackup at 12/27/2012 09:28:58
I was wondering if the clone will run without any problems with command below, please share your ideas...
run{
---channel allocation commands---
duplicate target database to ORCL2
 until time "to_date('12/27/2012 09:28:58','mm/dd/yyyy hh24:mi:ss')";
---channel release commands---
}
Published by: DBA112 on December 28, 2012 14:10

Hello;

In theory, it should work.

"DUPLICATE recovers by default until the last archived redo log generated at the time the command was executed, or until one hour set with a SET clause up to THAT."

Source - database backup and recovery reference 10g Release 2 (10.2) part number B14194-03

Example of doc

DUPLICATE TARGET DATABASE TO newdb
    DB_FILE_NAME_CONVERT=('/h1/oracle/dbs/trgt/','/h2/oracle/oradata/newdb/')
    UNTIL TIME 'SYSDATE-1'  # specifies incomplete recovery
...

Another example

http://blog.dbauniversity.com/2012/06/RMAN-duplicate-until-time.html

Best regards

mseberg

Tags: Database

Similar Questions

  • Restore database HRCS90 question: until THE TIME which was before the RESETLOGS

    People,


    Hello. On December 2, 2013, I backed up my instance of database with RMAN with Oracle Linux 5 HRCS90. the backup of the database to run correctly. 2 files 'full_0doqhbqc_13_1' and 'full_0eoqhce9_14_1' are saved in the /backup_database_instance_HRCS90 directory.


    Because my HRCS90 database has been damaged, I need to restore the database to HRCS90 until the time 02-Dec_13 when it is saved. I have run the commands below:

    RMAN > RUN {SET until TIME ' to_date (February 12, 2013: 00:04:56 ',' DD-MM-YYYY: HH24:MI:SS') ";} RESTORE THE DATABASE ;}

    Its release: complete the restore to February 11, 14.

    SQL > alter drop database datafile offline 121;

    Its release: alter database.

    SQL > alter database open resetlogs;

    Its release: alter database.

    SQL > shutdown immediate;

    SQL > startup;

    Its release: mounted database. Open database.


    So I can execute select * TableName off HRCS90 the database successfully.

    Because the HRCS90 database is corrupted again, I need to restore it again on December 2, 2013. I have run the commands below:

    In the directory/u01/oradata/HRSC90 /:

    [user@linux HRCS90] $ rm *.dbf

    RMAN > Connect target;
    RMAN > RUN {SET until TIME ' to_date (February 12, 2013: 00:04:56 ',' DD-MM-YYYY: HH24:MI:SS') ";} RESTORE THE DATABASE ;}

    Its output:

    RMAN-03002: failure of the set command
    RMAN-20207: until the RECOVERY WINDOW, which was before the RESETLOGS.

    My questions are:

    Is that mean 'UNTIL TIME' before the RESETLOGS? How to solve the problem to restore the HRCS90 database?


    Thanks in advance.

    you have run this on your system.correct source?

    Try

    (5) name of the element: / home/user/OracleDB_Home/dbs/c-612194578-20131202-00

    Check the included file: cash SNA: cash 1947113 time: 01-DEC-13

    This backup must be available on the local system.

    HTH
    Anuj

  • RMAN-05501: abandonment of duplicate target database

    Hello

    I have a little problem with my duplication of the previous day.
    The stupif thing is that I created the day before with this script, first time and after that I decided to recreate it in a different folder
    and since then, I get this error at the end of the process.


    starting media recovery

    Journal archived for thread 1 with sequence 13143 is already on the disc in the file /archives/CMOVP/archivelogs/1_13143_810397891.arc
    Journal archived for thread 1 with sequence 13144 is already on the disc in the file /archives/CMOVP/archivelogs/1_13144_810397891.arc
    Journal archived for thread 1 with sequence 13145 is already on the disc in the file /archives/CMOVP/archivelogs/1_13145_810397891.arc
    Journal archived for thread 1 with sequence 13146 is already on the disc in the file /archives/CMOVP/archivelogs/1_13146_810397891.arc
    Archive log file name=/archives/CMOVP/archivelogs/1_13143_810397891.arc thread = 1 sequence = 13143
    output channel: prm1
    output channel: stby1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command duplicate Db at 01/05/2013 23:39:32
    RMAN-05501: abandonment of duplicate target database
    RMAN-03015: an error has occurred in the script stored memory Script
    ORA-00283: cool cancelled due to errors
    RMAN-11003: failure in parsing / execution of the SQL statement: alter database recover logfile ' / archives/CMOVP/archivelogs/1_13143_810397891.arc'
    ORA-00283: cool cancelled due to errors
    ORA-00354: corrupted redo log block header
    ORA-00353: journal corruption near block 2048 change 1524092704 time 01/05/2013 22:18:20
    ORA-00334: archived log: ' / archives/CMOVP/archivelogs/1_13143_810397891.arc'


    I followed all the steps to create the instance of relief, as I said, I've created a first time

    What has changed the second time is that I have insert the following parameters in my init.ora

    db_file_name_convert = "/ oradata/oradata/cmovelprodco/cmovelprodco ', ' / oradata/oradata/cmovelproddr/cmovelproddr.
    LOG_FILE_NAME_CONVERT = "/ oradata/oradata/cmovelprodco/cmovelprodco ', ' / oradata/oradata/cmovelproddr/redolog".


    I run the script to duplicate the db:

    run
    {
    allocate channel prm1 type disk;
    allocate auxiliary channel stby1 type disk;
    DUPLICATE TARGET DATABASE
    FOR STANDBY
    ACTIVE DATABASE
    DORECOVER
    NOFILENAMECHECK;
    }

    But every time I had this type of corruption archivelog
    But when I validate the archives (archivelog Validate all) they are [OK]

    Clues?
    Thxs for your help

    okKarol wrote:
    To the main Site

    SQL > select GROUP #, TYPE, substr (MEMBER, 1, 40) from v$ logfile;

    GROUP # TYPE SUBSTR (MEMBER, 1, 40)
    ---------- ------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    3 /data1/oracle/CMOVP/redo01g3.rdo online
    3 /data2/oracle/CMOVP/redo02g3.rdo online
    2 /data2/oracle/CMOVP/redo02g2.rdo online
    2 /data1/oracle/CMOVP/redo01g2.rdo online
    1 /data1/oracle/CMOVP/redo01g1.rdo online
    1 /data2/oracle/CMOVP/redo02g1.rdo online
    4 /data1/oracle/CMOVP/Stbyredo01g4.rdo EVE
    5 /data2/oracle/CMOVP/Stbyredo01g5.rdo EVE
    6 /data1/oracle/CMOVP/Stbyredo01g6.rdo EVE
    7 /data2/oracle/CMOVP/Stbyredo01g7.rdo EVE

    In secondary Site

    1 * select GROUP #, TYPE, substr (MEMBER, 1, 40) in v$ logfile

    GROUP # TYPE SUBSTR (MEMBER, 1, 40)
    ---------- ------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    /Mcelnetapp/Data1/Oracle/CMOVP/redo01g3.RDO in LINE 3 > I have rename manually
    3 /mcelnetapp/data2/oracle/CMOVP/redo02g3.rdo online > renames manually
    2 /data2/oracle/CMOVP/redo02g2.rdo online
    2 /data1/oracle/CMOVP/redo01g2.rdo online
    1 /mcelnetapp/data1/oracle/CMOVP/redo01g1.rdo online > rename manually
    1 /mcelnetapp/data2/oracle/CMOVP/redo02g1.rdo online > renames manually
    4 /data1/oracle/CMOVP/Stbyredo01g4.rdo EVE
    5 /data2/oracle/CMOVP/Stbyredo01g5.rdo EVE
    6 /data1/oracle/CMOVP/Stbyredo01g6.rdo EVE
    7 /data2/oracle/CMOVP/Stbyredo01g7.rdo EVE

    Then

    SQL> SHUTDOWN IMMEDIATE
    

    Move files:
    MV /data1/oracle/CMOVP/redo01g2.rdo /mcelnetapp/data1/oracle/CMOVP/redo01g2.rdo
    MV /data2/oracle/CMOVP/redo02g2.rdo /mcelnetapp/data2/oracle/CMOVP/redo02g2.rdo

    SQL> STARTUP MOUNT
    SQL> ALTER DATABASE RENAME FILE '/data1/oracle/CMOVP/redo01g2.rdo' to '/mcelnetapp/data1/oracle/CMOVP/redo01g2.rdo';
    SQL> ALTER DATABASE RENAME FILE '/data2/oracle/CMOVP/redo02g2.rdo' to '/mcelnetapp/data2/oracle/CMOVP/redo02g2.rdo';
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    

    Concerning
    Mr. Mahir Quluzade

  • Duplicate target database failed with the newspaper missing in the CCR

    Hi all

    I'm duplicating a database of node 2 CARS to the test environment.

    I took archivelog and pending full database backup in the database. dB Dimensions 950 g.

    I restored it to test the environment but get error during recovery

    operating system: aix 7.1

    version of DB: oracle 10g

    I ran the following command to launch two copies

    RMAN > run

    2 > {}

    3 > allocate auxiliary channel ch1 type disk;

    4 > allocate auxiliary channel ch2 type disk;

    5 > allocate auxiliary channel ch3 type disk;

    6 > allocate auxiliary channel ch4 type disk;

    7 > target database duplicate testing up to THAT TIME "2013-12 - 25:10:47:00';"

    {8 >}

    and get below error

    content of Script memory:

    {

    until ' 2013-12 - 25:10:47:00 ";

    recover

    clone database

    delete archivelog

    ;

    }

    execution of Script memory

    executing command: SET until clause

    From pick up to 2013-12 - 27:18:12:49

    starting media recovery

    Oracle error:

    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error

    ORA-01194: file 1 needs a recovery more match

    ORA-01110: data file 1: '+ DATA/test/datafile/system.390.835293413 '.

    output channel: ch1

    output channel: ch2

    output channel: ch3

    output channel: ch4

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of Db in dual at 27/12/2013 18:14:10

    RMAN-03015: an error has occurred in the script stored memory Script

    RMAN-06053: unable to perform the recovery of the media because of the missing journal

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291696 lowscn 74780879027

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153927 lowscn 74780427224

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291691 lowscn 74763859437

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291690 lowscn 74763843501

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291689 lowscn 74762972560

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153920 lowscn 74761443419

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291688 lowscn 74758111689

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153919 lowscn 74758103358

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291687 lowscn 74758088445

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153918 lowscn 74758078214

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291686 lowscn 74758067675

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153917 lowscn 74758049415

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291685 lowscn 74758046873

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291684 lowscn 74758026214

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153916 lowscn 74757674479

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291683 lowscn 74757658342

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153915 lowscn 74757643881

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291682 lowscn 74757641006

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291681 lowscn 74757621180

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153914 lowscn 74757618464

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291680 lowscn 74757599470

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153913 lowscn 74757584128

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291679 lowscn 74757584121

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291678 lowscn 74757567231

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291677 lowscn 74757550865

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153912 lowscn 74757547289

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291676 lowscn 74757533624

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153911 lowscn 74757513739

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291675 lowscn 74757513659

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291674 lowscn 74757498265

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291673 lowscn 74757483667

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153910 lowscn 74757469005

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291672 lowscn 74757468526

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291671 lowscn 74757453293

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291670 lowscn 74757440237

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153909 lowscn 74757426220

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291669 lowscn 74757422172

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291668 lowscn 74757407202

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153908 lowscn 74757389651

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291667 lowscn 74757386560

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291666 lowscn 74757369955

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153907 lowscn 74757352175

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291665 lowscn 74757351898

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291664 lowscn 74757335274

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291663 lowscn 74757319172

    RMAN-06102: no channel to restore a backup or a copy of the diary of don't thread 1 seq 153906 lowscn 74757314019

    RMAN-06102: no channel to restore a backup or a copy of the journal don't screw 2 seq 291662 lowscn 74756304245

    MAN-06102: no restaurant chain

    RMAN >

    RMAN >

    well let me know what command should I use to do the archivelog backup if it is not present in our existing backup, restore and recover up to what sequence and thread

    Can you restore your backup to tape archivelogs and apply them manually to the restoration of the database?

    list backup of archivelog from the logseq in the error message to check if they are available. And what type of device. You may find that they are available on the device of type TAPE (SBT) but you specified the device DISC type in the command duplicate.

    As long as you have the archivelogs need supported somewhere, you can restore it and apply then having the OPEN RESETLOGS command completed successfully

  • difference between deletion archive using until the time and completed before

    Hello

    Can someone please let me know what is the difference between the following commands below.

    DELETE ARCHIVELOG UNTIL ' SYSDATE - 1';

    and

    DELETE ARCHIVELOG ALL COMPLETED BEFORE ' SYSDATE - 1';

    Thank you

    The UNTIL clause specifies a Recovery Point.

    The COMPLETED clause indicates the time of creation of the journal.

    So until ' SYSDATE-1' specifies ' all archivelogs needed to recover the database from 24 hours ago. " If it is 09:00 28 - Jun and ArchiveLog Seq # 1001 was created 08:45 27 - Jun and Seq # 1002 was created at 09:10 27 - Jun, then Seq #1002 is required for recovery as at 09:00 27 - Jun.

    Hemant K Collette

  • Several Flashback Database to the time prerequisites

    Current time: 17/12/2013-13:22

    Created restore point guaranteed: 10:53 09/12/2013.

    More old Flashback Time: 10:34 09/12/2013


    A Flashback Database timestamp 17/12/2013-06:30 was carried out at the 12:00 17/12/2013. (Done Resetlogs).  It's my understanding that a new incarnation is created when I resetlogs.  Guaranteed restore point was created under the old incarnation, but it seems to keep the archivelogs recovery guaranteed, even if the database has been Databased Flashback.

    Is it possible database flashback by timestamp 10:34 09/12/2013 (oldest flashback time) even if we have already done a recovery (flashback by timestamp database) at 17/12/2013 06:30?  I am concerned about corruption.

    Thanks in advance.

    See this and the ancestral discussion below: scene of Flashback and the database Point-in - time recovery

  • Understand RMAN until the time - why a backup always kept.

    Hi all

    I take more than one database system and is now looking to its backup policy.

    The system performs full backup every Monday at level 0 and level 1 differential accrued daily. As well the full or incremental backup runs at 00:40

    The backup retention policy is set to 1 day.

    CONFIGURE RETENTION POLICY TO 1 DAY RECOVERY WINDOW;

    Every day, there is a call from script "delete_obsolete.sh" who works at full 00:25.

    In the script, there are 3 lines that follow below

    cross-checking of backup;

    delete expired backup noprompt.

    remove obsolete until 'sysdate-6 ";

    T1) so I think that, with the 'until TIME', he will crush the retention policy and only delete previous backup then ' sysdate - 6 "- right?".

    However in RMAN summary list, assuming today ' today is 09/04/2015 (Friday) and the delete_obsolete.sh script is run at 00:25 hours that day.

    The script removes actually backs up earlier then sysdate - 6, equivalent to 29 Aug 15 00:25:00

    Backup list

    ===============

    S LV TY Device Type delay #Pieces compressed #Copies Tag key

    ------- -- -- - ----------- -------------------- ------- ------- ---------- ---

    2211797 B 0 A DRIVE 24 AUGUST 2015 02:55:04 2 1 YES SEC_FFF1_STBY_2NDRMAN_BACKUP

    2211798 B 0 A DRIVE 24 AUGUST 2015 03:31:28 3 1 YES SEC_FFF1_STBY_2NDRMAN_BACKUP

    2211799 B 0 A DRIVE 24 AUGUST 2015 03:53:10 3 1 YES SEC_FFF1_STBY_2NDRMAN_BACKUP

    2217710 B 1 A DISK 28 AUGUST 2015 00:55:38 1 1 YES SEC_FFF1_STBY_2ND_LV1_BACKUP

    2217711 B 1 A DISK 28 AUGUST 2015 00:56:51 1 1 YES SEC_FFF1_STBY_2ND_LV1_BACKUP

    2217712 B 1 A DISK 28 AUGUST 2015 00:57:52 1 1 YES SEC_FFF1_STBY_2ND_LV1_BACKUP

    2217713 B F A DISC AUGUST 28, 2015 00:58:15 1 1 no TAG20150828T005753

    2219520 B 1 A DISK 29 AUGUST 2015 00:56:23 1 1 YES SEC_FFF1_STBY_2ND_LV1_BACKUP

    2219521 B 1 A DISK 29 AUGUST 2015 00:56:47 1 1 YES SEC_FFF1_STBY_2ND_LV1_BACKUP

    2219522 B 1 A DISK 29 AUGUST 2015 00:57:56 1 1 YES SEC_FFF1_STBY_2ND_LV1_BACKUP

    2219523 B F A DISC 29 AUGUST 2015 00:58:25 1 1 no TAG20150829T005803

    (* q2) so if RMAN is said to remove obsolete older then 29 Aug 15 00:25:00, why is 28 - Aug backup is not deleted?

    Q3) is 24 August 15 backup not deleted because it is a 0 level and it is necessary to restore the backup of lvl 1 29 August 2015 which still does more then category "August 29, 2015 00:25:00.

    Kind regards

    Noob

    Yes, your understanding is correct now, with the output you posted

    No problems encountered,

  • "Database of the time spent waiting (%) "is 100 for the class of events 'competition '.

    Hello

    When start Enterprise Manager in Oracle 10 g, I have the following warning:

    'Database time spent waiting (%) "represent 100 for the class of events 'competition '.

    I'm new to the topic of listening, what I do with the warning?

    Greetings,

    >
    When start Enterprise Manager in Oracle 10 g, I have the following warning:

    'Database time spent waiting (%) "represent 100 for the class of events 'competition '.

    I'm new to the topic of listening, what I do with the warning?
    >

    Are there conclusions ADDM OEM homepage? If so, click it and let ADDM say the cause of competition and let make you a recommendation. If this is not the case, go to the ADDM (Central Advisor-> ADDM) page and click 'Run ADDM to analyze current performance of proceedings'. It then (probably) will give you findings and recommendations.

    Kind regards
    Uwe

    http://uhesse.WordPress.com

  • Username blocking which is held on the database at the time

    Hello

    Using oracle 11.2.0.3 and concluding that on sat morning (03:30 a table cannot be updated due to an exclusive lock.

    merge into the affected table.

    Nothing else, we are aware to access the table at the moment because of some process must be because of the ORA-00054 - busy resource.

    Is there a way that we can identify what caused the blocking / causing the lock - happenening each week.

    Thank you

    You get it in history, when you get the lock again and then query the table mentioned above.  In addition, to check any kind of blocking session problem use this query.

    Select b.session_id, a.SERIAL #, «blocker details» a.username

    session $ v has, dba_lock b

    where b.session_id = a.sid

    and b.blocking_others = 'block ';

    Concerning

    Asif Kabir

  • Error in the target database duplicate for standby

    Hi all
    I had a problem trying to rebuild the database pending. This is my environment: Oracle 10g RAC with 2 node on window 2003 Server R2, 32-bit. Main database and backup are 2 RAC node that is located on a different server with the location of this material/ASM configuration and directory structures.
    Here is my scenario:
    After custody of data works, I deleted the eve of database, say sbdb, using dbca. so I recreated the Oracle service using oradim on standby node, Setup the correct file pfile and spfile from the primaries. Create the primary db backup using the following command on primary and copy the files to the backup servers:
    DEVICE TYPE DISK FORMAT 'E:\DATA_GUARD\DB_%U' DATABASE MORE ARCHIVELOG;
    BACKUP DEVICE TYPE DISK FORMAT 'E:\DATA_GUARD\CTL_%U' CURRENT CONTROLFILE TO SLEEP;

    After that I ran the command DUPLICATE TARGET DATABASE in standby mode STANDBY, he gave me the following errors:
    From duplicate Db 2 October 08
    using the ORA_AUX_DISK_1 channel

    content of Script memory:
    {
    Restore controlfile Eve clone;
    SQL clone 'alter database sleep mounting database';
    }
    execution of Script memory

    From restoration to 2 October 08

    channel ORA_AUX_DISK_1: from datafile backupset restoration
    channel ORA_AUX_DISK_1: restore the control file
    channel ORA_AUX_DISK_1: reading from the backup E:\DATA_GUARD\CTL_10JS4L22_1_1 piece
    channel ORA_AUX_DISK_1: restored the backup part 1
    piece handle = V:\BACKUP\DATA_GUARD\CTL_10JS4L22_1_1 tag = TAG20081002T104938
    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:09
    output filename=+DATA/sbdb/controlfile/current.269.667045957
    output filename=+RECOVERY/sbdb/controlfile/current.403.667045957
    Finished restore to 2 October 08

    SQL statement: alter database mount rescue
    output channel: ORA_AUX_DISK_1
    WARNING: DB_FILE_NAME_CONVERT gave rise to incorrect ASM names; names have been changed to diskgroup only.

    content of Script memory:
    {
    the value of newname for tempfile 1 to
    '+ data ';
    clone tempfile switch all;
    the value of newname for datafile 1 to
    '+ data ';
    the value of newname for datafile 2 to
    '+ data ';
    the value of newname for datafile 3 to
    '+ data ';
    the value of newname for datafile 4 to
    '+ data ';
    the value of newname for datafile 5 to
    '+ data ';
    restoration
    see readonly
    clone database
    ;
    }
    execution of Script memory

    executing command: SET NEWNAME

    Rename the temporary file 1 + data in the control file

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    From restoration to 2 October 08
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid = instance 176 = sbdb2 devtype = DISK

    creation of data fno = 1 name = file & DATA
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 2008-10-02 11:02:04
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06136: the auxiliary database ORACLE error: ORA-01180: cannot create the data file 1
    ORA-01110: data file 1: '+ DATA/sbdb/datafile/system.347.666704609 '.

    I used the same procedure to create database pending several times before. They were all successful. This time, the only difference is that I also recreated primary db in the past and this time I do not rebuild primary db. I think that it is bound to the control file. But the message, it seems to pick the right command file for sleep. Any suggestion?

    Thank you very much in advance.

    Error stack

    ' RMAN-06136: ORACLE auxiliary database error: ORA-01180: cannot create the data file 1.
    "ORA-01110: data file 1:"+ DATA/sbdb/datafile/system.347.666704609 '"

    occurs, if RMAN "think" there is no backup data file. In such a case, RMAN attempts to recreate the data files and subsequently applies all necessary for these new files archivelogs created. Which is never possible for datafile 1, which still belongs to the space of SYSTEM tables. Basically, I think you're right, that there is something wrong with the controlfile used during the duplication process. Check if the controlfile maintains valid backups for the current incarnation (incarnation of list + list of backup). The next note of metalink can give more advice:

    THERE ARE AVAILABLE BUT BACKUP RESTORE FAILS WITH RMAN - 03002:ORA - 01180: CANNOT CREATE THE DATA 1 FILE
    NOTE: 727655.1

    Werner

  • Duplicate RMAN cloning using the database using the current database

    Hi all

    I am new bie, I want to clone my target database using the rman command 'DUPLICATE database OF ACTIVE DATABASE"new host.

    steps on google, I searched, but I got confused, I doubt if you need to install oracle rdbms softare on new host or not? and also should I copy all files (redo, control, datafiles) to the new host? kind LY help and tell me the steps to clone the database using rman.your help will be appreciated.

    Thank you.

    Kind regards.

    OS: RHEL 5.4

    DB: 11.2.0.3

    Hello

    Have you not through document link to Gavin at least. It's very simple steps. If you wait until other measures, then won't them.

    He had provided the demonstration, at least get in 'google' (you'll have so many links)

    The Oracle Dba Italian Blogger: how to clone an Oracle 11 g 2 home

    http://balaoracledba.com/2013/12/16/cloning-an-existing-Oracle11g-release-2-RDBMS-installation/

    Note: If you feel always complex, better skip the task itself.

    -Thank you

    Pavan Kumar N

  • RMAN duplicate for standby the active database and the missing data files

    We have a car of 2 node ASM 11 GR 2 and 11.1 of database and a standby with ASM also. Our database is relatively low (300 GB)

    and in one recent event the day before was such a departure from the primary that we decided to "repopulate" the data using duplicate RMAN.

    I deleted the data files of the previous day and followed the Oracle documentation to duplicate a database. In the waiting

    I created a static listener and a pfile containing only the essential information (db_unique_name). I started the day before with nomount using the 'empty' pfile.

    I run RMAN, connected to the target and ancillary catalogues and run this command:

    run {
    allocate channel prmy1 type disk;
    allocate channel prmy2 type disk;
    allocate channel prmy3 type disk;
    allocate channel prmy4 type disk;
    allocate channel prmy5 type disk;
    allocate auxiliary channel stby1 type disk;
    duplicate target database for standby from active database nofilenamecheck;
    }
    

    RMAN duplication completed without errors, so I started the rescue database and got

    an error saying that datafile XXX is missing. I checked XXX datafile at the primary level

    and it is in a DISCONNECTED state. In the standby database the same data file is in the online state.

    So I think the problem is that during the duplication, RMAN (as documentation States) does not work

    Copy the files of data in offline mode, but the standby control file seem to think that these data files

    are online and should be present.

    Can someone please help me solve this problem? From my understanding, I could just copy the missing persons

    data files (there are many however) and in the standby go offline, but I don't think it's

    the right solution, edit this file for control of the standby? I would add another option

    in the RMAN script?

    Take the data file in offline mode on the site of the previous day.

    I don't think that two COPIES try to manage separately offline files.

    Hemant K Collette

  • Duplicate target for RAC database

    Oracle Database 11g Enterprise Edition
    Red Hat Linux


    Hello

    I'm a RAC database cloning using the command duplicate target database. First of all, we need create an auxiliary Instance using the source RAC database init file.

    I see the following in the init file,

    Mdb1.undo_tablespace = "UNDOTBS1.
    MDB2.undo_tablespace = "UNDOTBS2".


    What should I enter in the file init auxiliary instance for these Undo tablespace? I'll put CLUSTER_DATABASE false since the duplicate database is a single instance one. Only the Source database is RAC.


    I'm cloning only SYSTEM, SYSAUX tablespace user and tablespaces Cancel two to 14 days sometime back. I'm ignoring all other storage spaces.

    You only need a cancellation single tablespace... you can also create one afterwards if you want.

  • determine given set up to the time of backup set

    Hi gurus,
    First of all thank you for everybody reading my question.
    I use the control file database instead of recovery catalog.
    Database 10 g 2
    10.2.0.3
    operating system is linux suse
    Is there way (any query magic)
    You can determine s part correctly for all up to that time looking for backup set:

    7544 DISC 28 AUGUST 11 1 1 YES PROD_FULL_BKUP_08.28.2011

    ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
    ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
    CHANNEL AUXILIARY ALLOCATE aux3 DEVICE TYPE DISK;
    Until this thread WHAT SEQUENCE 10008 #SET 1;
    SET until TIME ' TO_DATE (August 28, 2011 03:40:32 ',' DD-MON-YYYY hh24:mi:ss') ";
    DUPLICATE TARGET DATABASE to "11demo".


    I try and try to determine the s part.
    is there a proven way.
    August 28, 2011 03:40:31 ' worked
    August 28, 2011 03:40:38 ' has no
    August 28, 2011 03:40:35 ' is not.

    1)
    I look forward to os time stamp set for backup.
    -rw - r - 1 oracle oinstall 9281626112 2011-08-28 03:40 o1_mf_nnndf_PROD_FULL_BKUP_08_75mxdb7v_.bkp

    (2) I add beginning time(03:00:00) + elapsed time.
    channel ORA_DISK_1: complete set of backups, time: 00:40:35


    Thank you

    Hello
    It's a hot backup? Try to find the time of the last backup archivelog with.

    backup from the list of the archivelog all;

    The output is considered to be the point in time of the last logswitch even editing mode.
    Rgds,
    Tycho

  • duplicate with compressed and the section size options in #db12c

    Hello

    I am able to 12.1.0.1 duplicate (from database) database to the destination successfully server,

    However, when I add is compressed backupset size or "" to duplicate the command

    recovery at the end of the operation fails due to lack of archiving log (which is on the source server)

    Someone knows the same?

    ******************************************

    failure of duplication

    ******************************************

    [oracle@r121 ~] $ rman target sys/sys_pwd@t12 auxiliary sys/sys_pwd@c12


    Recovery Manager: release 12.1.0.1.0 - Production on Fri Sep 6 11:30:09 2013

    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.

    connected to target database: T12 (DBID = 1222223202)

    connected to the auxiliary database: T12 (unassembled)

    RMAN > database of target double-c12 of active database

    section 2g size

    SPFile

    parameter_value_convert "t12", "c12".

    Set db_file_name_convert "t12", "c12".

    Set log_file_name_convert "t12", "c12".

    nofilenamecheck;

    2 > 3 > 4 > 5 > 6 > 7 >

    Starting in Db double, 13 / SEP / 06

    using the control file of the target instead of recovery catalog database

    allocated channel: ORA_AUX_DISK_1

    channel ORA_AUX_DISK_1: SID = 21 type of device = DISK

    Current archived log

    content of Script memory:

    {

    restore the clone of service "t12" spfile to

    ' / u01/app/oracle/product/12.1.0/dbhome_2/dbs/spfilec12.ora';

    clone of SQL 'alter system set spfile = "/u01/app/oracle/product/12.1.0/dbhome_2/dbs/spfilec12.ora";

    }

    execution of Script memory

    From restoration 13 / SEP / 06

    using the ORA_AUX_DISK_1 channel

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: restore SPFILE

    output file name=/u01/app/oracle/product/12.1.0/dbhome_2/dbs/spfilec12.ora

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:07

    Restoration finished 13 / SEP / 06

    SQL statement: alter system set spfile = "/u01/app/oracle/product/12.1.0/dbhome_2/dbs/spfilec12.ora"

    content of Script memory:

    {

    clone of SQL 'alter system set = db_name

    "C12" comment =

    "reproduce" scope = spfile;

    clone of SQL 'alter system set audit_file_dest =

    Comment of "/ u01/app/oracle/admin/c12/adump" =.

    ' ' scope = spfile;

    clone of SQL 'alter system set control_files =

    "/u01/oradata/c12/control01.ctl", "/u01/app/oracle/fast_recovery_area/c12/control02.ctl" comment is

    ' ' scope = spfile;

    clone of SQL 'alter system set dispatchers =

    ''(Protocol=TCP) (SERVICE = c12XDB) "comment =

    ' ' scope = spfile;

    clone of SQL 'alter system set db_file_name_convert =

    "t12", "c12" comment is

    ' ' scope = spfile;

    clone of SQL 'alter system set log_file_name_convert =

    "t12", "c12" comment is

    ' ' scope = spfile;

    clone to stop immediately;

    startup nomount clone;

    }

    execution of Script memory

    SQL statement: alter system db_name set = comment "C12" = "duplicate" scope = spfile

    SQL statement: alter system set audit_file_dest = comment "/ u01/app/oracle/admin/c12/adump" = "' scope = spfile

    SQL statement: alter system set control_files = "/u01/oradata/c12/control01.ctl", "/u01/app/oracle/fast_recovery_area/c12/control02.ctl" comment = "' scope = spfile

    SQL statement: alter system set dispatchers = ''(PROTOCOL=TCP) (SERVICE = c12XDB) "comment ="' scope = spfile

    SQL statement: alter system set db_file_name_convert = "t12", "c12" comment = "' scope = spfile

    SQL statement: alter system set log_file_name_convert = "t12", "c12" comment = "' scope = spfile

    Instance Oracle to close

    connected to the auxiliary database (not started)

    Oracle instance started

    Total System Global Area 626327552 bytes

    Bytes of size 2291472 fixed

    507513072 variable size bytes

    113246208 of database buffers bytes

    Redo buffers 3276800 bytes

    content of Script memory:

    {

    clone of SQL 'alter system set = db_name

    "T12" comment =

    ' Modified by RMAN duplicate "scope = spfile;

    clone of SQL 'alter system set db_unique_name =

    "C12" comment =

    ' Modified by RMAN duplicate "scope = spfile;

    clone to stop immediately;

    Start clone force nomount

    restore the primary clone of service "t12" controlfile;

    change the clone database mount;

    }

    execution of Script memory

    SQL statement: alter system db_name set = "T12" = "modified by RMAN duplicate" comment scope = spfile

    SQL statement: alter system set db_unique_name = comment "C12" = "modified by RMAN duplicate" scope = spfile

    Instance Oracle to close

    Oracle instance started

    Total System Global Area 626327552 bytes

    Bytes of size 2291472 fixed

    507513072 variable size bytes

    113246208 of database buffers bytes

    Redo buffers 3276800 bytes

    From restoration 13 / SEP / 06

    allocated channel: ORA_AUX_DISK_1

    channel ORA_AUX_DISK_1: SID = 20 type of device = DISK

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: restore the control file

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:15

    output file name=/u01/oradata/c12/control01.ctl

    output file name=/u01/app/oracle/fast_recovery_area/c12/control02.ctl

    Restoration finished 13 / SEP / 06

    mounted database

    content of Script memory:

    {

    the value of newname for datafile 1 to

    "/ u01/oradata/c12/system01.dbf";

    the value of newname for datafile 2 to

    "/ u01/oradata/c12/test01.dbf";

    the value of newname for datafile 3 to

    "/ u01/oradata/c12/sysaux01.dbf";

    the value of newname for datafile 4 to

    "/ u01/oradata/c12/undotbs01.dbf";

    the value of newname for datafile 6 to

    "/ u01/oradata/c12/users01.dbf";

    restoration

    the size of the service "t12" section

    database clone of 2 g

    ;

    SQL 'alter system archive log current';

    }

    execution of Script memory

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    From restoration 13 / SEP / 06

    using the ORA_AUX_DISK_1 channel

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_AUX_DISK_1: restore datafile 00001 to /u01/oradata/c12/system01.dbf

    channel ORA_AUX_DISK_1: restoration of section 1 of 1

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:01:35

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_AUX_DISK_1: restore datafile 00002 to /u01/oradata/c12/test01.dbf

    channel ORA_AUX_DISK_1: restoration of the article 1 of 2

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:01:55

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_AUX_DISK_1: restore datafile 00002 to /u01/oradata/c12/test01.dbf

    channel ORA_AUX_DISK_1: restoration of article 2 of 2

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:02:06

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_AUX_DISK_1: restore datafile 00003 to /u01/oradata/c12/sysaux01.dbf

    channel ORA_AUX_DISK_1: restoration of section 1 of 1

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:01:35

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_AUX_DISK_1: restore datafile 00004 in /u01/oradata/c12/undotbs01.dbf

    channel ORA_AUX_DISK_1: restoration of section 1 of 1

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:15

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_AUX_DISK_1: restore datafile to /u01/oradata/c12/users01.dbf 00006

    channel ORA_AUX_DISK_1: restoration of section 1 of 1

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:08

    Restoration finished 13 / SEP / 06

    SQL statement: alter system archive log current

    Current archived log

    content of Script memory:

    {

    restore the strength of the clone of service "t12".

    ARCHIVELOG SNA 2034596.

    switch from clone datafile;

    }

    execution of Script memory

    From restoration 13 / SEP / 06

    using the ORA_AUX_DISK_1 channel

    channel ORA_AUX_DISK_1: Startup archived log restore to default destination

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: restoration of archives Journal

    Archives journal thread = 1 sequence = 54

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:03

    channel ORA_AUX_DISK_1: Startup archived log restore to default destination

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: restoration of archives Journal

    Archives journal thread = 1 sequence = 55

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:03

    Restoration finished 13 / SEP / 06

    DataFile 1 passed to the copy of the data file

    entry of data copy file RECID = STAMP 11 = 825421247 file name=/u01/oradata/c12/system01.dbf

    DataFile 2 passed to the copy of the data file

    entry of data copy file RECID = STAMP 12 = 825421247 file name=/u01/oradata/c12/test01.dbf

    DataFile 3 to the copy of the data file

    entry of data copy file RECID = STAMP 13 = 825421247 file name=/u01/oradata/c12/sysaux01.dbf

    DataFile 4 switched to the copy of the data file

    entry of data copy file RECID = 14 STAMP = 825421249 file name=/u01/oradata/c12/undotbs01.dbf

    DataFile 6 switched to the copy of the data file

    entry of data copy file RECID = STAMP 15 = 825421249 file name=/u01/oradata/c12/users01.dbf

    content of Script memory:

    {

    until the SNA 2034892.

    recover

    clone database

    delete archivelog

    ;

    }

    execution of Script memory

    executing command: SET until clause

    From recover 13 / SEP / 06

    using the ORA_AUX_DISK_1 channel

    starting media recovery

    Journal archived for thread 1 with 54 sequence is already on the disc in the file /u01/oradata/arch/1_54_825025894.dbf

    Journal archived for thread 1 with 55 sequence is already on the disc in the file /u01/oradata/arch/1_55_825025894.dbf

    Oracle instance started

    Total System Global Area 626327552 bytes

    Bytes of size 2291472 fixed

    507513072 variable size bytes

    113246208 of database buffers bytes

    Redo buffers 3276800 bytes

    content of Script memory:

    {

    clone of SQL 'alter system set = db_name

    "C12" comment =

    ' Restore the original value by RMAN "scope = spfile;

    clone of SQL 'alter system reset db_unique_name scope = spfile;

    clone to stop immediately;

    }

    execution of Script memory

    SQL statement: alter system db_name set = comment "C12" = "Reset to original by RMAN value" scope = spfile

    SQL statement: alter system reset db_unique_name scope = spfile

    Instance Oracle to close

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of Db in dual at 06/09/2013 11:41:07

    RMAN-05501: abandonment of duplicate target database

    RMAN-03015: an error has occurred in the script stored memory Script

    RMAN-06053: unable to perform the recovery of the media because of the missing journal

    RMAN-06025: no backup log archived for thread 1 with sequence 53 and YVERT departure from 2011966 found to restore

    RMAN >

    ******************************************

    managed replication

    ******************************************

    [oracle@r121 ~] $ rman target sys/sys_pwd@t12 auxiliary sys/sys_pwd@c12

    Recovery Manager: release 12.1.0.1.0 - Production on Fri Sep 6 11:47:06 2013

    Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.

    connected to target database: T12 (DBID = 1222223202)

    connected to the auxiliary database: T12 (unassembled)

    RMAN > database of target double-c12 of active database

    SPFile

    parameter_value_convert "t12", "c12".

    Set db_file_name_convert "t12", "c12".

    Set log_file_name_convert "t12", "c12".

    nofilenamecheck; 2 > 3 > 4 > 5 > 6 >

    Starting in Db double, 13 / SEP / 06

    using the control file of the target instead of recovery catalog database

    allocated channel: ORA_AUX_DISK_1

    channel ORA_AUX_DISK_1: SID = 21 type of device = DISK

    Current archived log

    content of Script memory:

    {

    restore the clone of service "t12" spfile to

    ' / u01/app/oracle/product/12.1.0/dbhome_2/dbs/spfilec12.ora';

    clone of SQL 'alter system set spfile = "/u01/app/oracle/product/12.1.0/dbhome_2/dbs/spfilec12.ora";

    }

    execution of Script memory

    From restoration 13 / SEP / 06

    using the ORA_AUX_DISK_1 channel

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: restore SPFILE

    output file name=/u01/app/oracle/product/12.1.0/dbhome_2/dbs/spfilec12.ora

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:03

    Restoration finished 13 / SEP / 06

    SQL statement: alter system set spfile = "/u01/app/oracle/product/12.1.0/dbhome_2/dbs/spfilec12.ora"

    content of Script memory:

    {

    clone of SQL 'alter system set = db_name

    "C12" comment =

    "reproduce" scope = spfile;

    clone of SQL 'alter system set audit_file_dest =

    Comment of "/ u01/app/oracle/admin/c12/adump" =.

    ' ' scope = spfile;

    clone of SQL 'alter system set control_files =

    "/u01/oradata/c12/control01.ctl", "/u01/app/oracle/fast_recovery_area/c12/control02.ctl" comment is

    ' ' scope = spfile;

    clone of SQL 'alter system set dispatchers =

    ''(Protocol=TCP) (SERVICE = c12XDB) "comment =

    ' ' scope = spfile;

    clone of SQL 'alter system set db_file_name_convert =

    "t12", "c12" comment is

    ' ' scope = spfile;

    clone of SQL 'alter system set log_file_name_convert =

    "t12", "c12" comment is

    ' ' scope = spfile;

    clone to stop immediately;

    startup nomount clone;

    }

    execution of Script memory

    SQL statement: alter system db_name set = comment "C12" = "duplicate" scope = spfile

    SQL statement: alter system set audit_file_dest = comment "/ u01/app/oracle/admin/c12/adump" = "' scope = spfile

    SQL statement: alter system set control_files = "/u01/oradata/c12/control01.ctl", "/u01/app/oracle/fast_recovery_area/c12/control02.ctl" comment = "' scope = spfile

    SQL statement: alter system set dispatchers = ''(PROTOCOL=TCP) (SERVICE = c12XDB) "comment ="' scope = spfile

    SQL statement: alter system set db_file_name_convert = "t12", "c12" comment = "' scope = spfile

    SQL statement: alter system set log_file_name_convert = "t12", "c12" comment = "' scope = spfile

    Instance Oracle to close

    connected to the auxiliary database (not started)

    Oracle instance started

    Total System Global Area 626327552 bytes

    Bytes of size 2291472 fixed

    507513072 variable size bytes

    113246208 of database buffers bytes

    Redo buffers 3276800 bytes

    content of Script memory:

    {

    clone of SQL 'alter system set = db_name

    "T12" comment =

    ' Modified by RMAN duplicate "scope = spfile;

    clone of SQL 'alter system set db_unique_name =

    "C12" comment =

    ' Modified by RMAN duplicate "scope = spfile;

    clone to stop immediately;

    Start clone force nomount

    restore the primary clone of service "t12" controlfile;

    change the clone database mount;

    }

    execution of Script memory

    SQL statement: alter system db_name set = "T12" = "modified by RMAN duplicate" comment scope = spfile

    SQL statement: alter system set db_unique_name = comment "C12" = "modified by RMAN duplicate" scope = spfile

    Instance Oracle to close

    Oracle instance started

    Total System Global Area 626327552 bytes

    Bytes of size 2291472 fixed

    507513072 variable size bytes

    113246208 of database buffers bytes

    Redo buffers 3276800 bytes

    From restoration 13 / SEP / 06

    allocated channel: ORA_AUX_DISK_1

    channel ORA_AUX_DISK_1: SID = 19 type of device = DISK

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: restore the control file

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:15

    output file name=/u01/oradata/c12/control01.ctl

    output file name=/u01/app/oracle/fast_recovery_area/c12/control02.ctl

    Restoration finished 13 / SEP / 06

    mounted database

    content of Script memory:

    {

    the value of newname for datafile 1 to

    "/ u01/oradata/c12/system01.dbf";

    the value of newname for datafile 2 to

    "/ u01/oradata/c12/test01.dbf";

    the value of newname for datafile 3 to

    "/ u01/oradata/c12/sysaux01.dbf";

    the value of newname for datafile 4 to

    "/ u01/oradata/c12/undotbs01.dbf";

    the value of newname for datafile 6 to

    "/ u01/oradata/c12/users01.dbf";

    restoration

    database service "t12" clone

    ;

    SQL 'alter system archive log current';

    }

    execution of Script memory

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    From restoration 13 / SEP / 06

    using the ORA_AUX_DISK_1 channel

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_AUX_DISK_1: restore datafile 00001 to /u01/oradata/c12/system01.dbf

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:01:35

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_AUX_DISK_1: restore datafile 00002 to /u01/oradata/c12/test01.dbf

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:03:55

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_AUX_DISK_1: restore datafile 00003 to /u01/oradata/c12/sysaux01.dbf

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:01:16

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_AUX_DISK_1: restore datafile 00004 in /u01/oradata/c12/undotbs01.dbf

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:07

    channel ORA_AUX_DISK_1: from the restore backup set data file

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: specifying datafile (s) to restore from backup set

    channel ORA_AUX_DISK_1: restore datafile to /u01/oradata/c12/users01.dbf 00006

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:07

    Restoration finished 13 / SEP / 06

    SQL statement: alter system archive log current

    Current archived log

    content of Script memory:

    {

    restore the strength of the clone of service "t12".

    ARCHIVELOG SNA 2035520.

    switch from clone datafile;

    }

    execution of Script memory

    From restoration 13 / SEP / 06

    using the ORA_AUX_DISK_1 channel

    channel ORA_AUX_DISK_1: Startup archived log restore to default destination

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: restoration of archives Journal

    Archives journal thread = 1 sequence = 57

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:01

    channel ORA_AUX_DISK_1: Startup archived log restore to default destination

    ORA_AUX_DISK_1 channel: using the set of backup service t12 network

    channel ORA_AUX_DISK_1: restoration of archives Journal

    Archives journal thread = 1 sequence = 58

    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:01

    Restoration finished 13 / SEP / 06

    DataFile 1 passed to the copy of the data file

    entry of data copy file RECID = 6 STAMP = 825422144 file name=/u01/oradata/c12/system01.dbf

    DataFile 2 passed to the copy of the data file

    entry of data copy file RECID = STAMP 7 = 825422144 file name=/u01/oradata/c12/test01.dbf

    DataFile 3 to the copy of the data file

    entry of data copy file RECID = STAMP 8 = 825422145 file name=/u01/oradata/c12/sysaux01.dbf

    DataFile 4 switched to the copy of the data file

    entry of data copy file RECID = STAMP 9 = 825422145 file name=/u01/oradata/c12/undotbs01.dbf

    DataFile 6 switched to the copy of the data file

    entry of data copy file RECID = STAMP 10 = 825422145 file name=/u01/oradata/c12/users01.dbf

    content of Script memory:

    {

    until the SNA 2035798.

    recover

    clone database

    delete archivelog

    ;

    }

    execution of Script memory

    executing command: SET until clause

    From recover 13 / SEP / 06

    using the ORA_AUX_DISK_1 channel

    starting media recovery

    Journal archived for thread 1 with 57 sequence is already on the disc in the file /u01/oradata/arch/1_57_825025894.dbf

    Journal archived for thread 1 with 58 sequence is already on the disc in the file /u01/oradata/arch/1_58_825025894.dbf

    Archive log file name=/u01/oradata/arch/1_57_825025894.dbf thread = 1 sequence = 57

    Archive log file name=/u01/oradata/arch/1_58_825025894.dbf thread = 1 sequence = 58

    media recovery complete, duration: 00:00:01

    Finished recover 13 / SEP / 06

    Oracle instance started

    Total System Global Area 626327552 bytes

    Bytes of size 2291472 fixed

    507513072 variable size bytes

    113246208 of database buffers bytes

    Redo buffers 3276800 bytes

    content of Script memory:

    {

    clone of SQL 'alter system set = db_name

    "C12" comment =

    ' Restore the original value by RMAN "scope = spfile;

    clone of SQL 'alter system reset db_unique_name scope = spfile;

    }

    execution of Script memory

    SQL statement: alter system db_name set = comment "C12" = "Reset to original by RMAN value" scope = spfile

    SQL statement: alter system reset db_unique_name scope = spfile

    Oracle instance started

    Total System Global Area 626327552 bytes

    Bytes of size 2291472 fixed

    507513072 variable size bytes

    113246208 of database buffers bytes

    Redo buffers 3276800 bytes

    SQL statement: CREATE CONTROLFILE REUSE DATABASE "C12" RESETLOGS ARCHIVELOG VALUE

    MAXLOGFILES 16

    MAXLOGMEMBERS 3

    MAXDATAFILES 100

    MAXINSTANCES 8

    MAXLOGHISTORY 292

    LOGFILE

    GROUP 1 (' / u01/oradata/c12/redo01.log') SIZE 50 M REUSE.

    GROUP 2 (' / u01/oradata/c12/redo02.log') SIZE 50 M REUSE.

    GROUP 3 (' / u01/oradata/c12/redo03.log') SIZE 50 M REUSE

    DATA FILE

    ' / u01/oradata/c12/system01.dbf'

    WE8MSWIN1252 CHARACTER SET

    content of Script memory:

    {

    the value of newname for tempfile 1 to

    "/ u01/oradata/c12/temp01.dbf";

    clone tempfile switch all;

    Catalog datafilecopy clone "/ u01/oradata/c12/test01.dbf."

    "/ u01/oradata/c12/sysaux01.dbf"

    "/ u01/oradata/c12/undotbs01.dbf"

    "/ u01/oradata/c12/users01.dbf";

    switch from clone datafile;

    }

    execution of Script memory

    executing command: SET NEWNAME

    renamed tempfile 1-/u01/oradata/c12/temp01.dbf in the control file

    catalogued data file copy

    DataFile copy file name=/u01/oradata/c12/test01.dbf RECID = 1 STAMP = 825422173

    catalogued data file copy

    DataFile copy file name=/u01/oradata/c12/sysaux01.dbf RECID = TONE 2 = 825422173

    catalogued data file copy

    DataFile copy file name=/u01/oradata/c12/undotbs01.dbf RECID = STAMP 3 = 825422174

    catalogued data file copy

    DataFile copy file name=/u01/oradata/c12/users01.dbf RECID = STAMP 4 = 825422174

    DataFile 2 passed to the copy of the data file

    entry of data copy file RECID = 1 STAMP = 825422173 file name=/u01/oradata/c12/test01.dbf

    DataFile 3 to the copy of the data file

    entry of data copy file RECID = 2 STAMP = 825422173 file name=/u01/oradata/c12/sysaux01.dbf

    DataFile 4 switched to the copy of the data file

    entry of data copy file RECID = STAMP 3 = 825422174 file name=/u01/oradata/c12/undotbs01.dbf

    DataFile 6 switched to the copy of the data file

    entry of data copy file RECID = 4 STAMP = 825422174 file name=/u01/oradata/c12/users01.dbf

    content of Script memory:

    {

    ALTER clone database open resetlogs;

    }

    execution of Script memory

    open database

    Finished the duplicate Db 13 / SEP / 06

    He has been identified as a bug and workaround is not to use the SIZE of the SECTION

Maybe you are looking for

  • Java does not work with Firefox (but works with Safari)

    My computer is showing that Java is not enabled through Firefox. When I try to go in Tools/Add-ons, I see that there is no Java plugin on this list (although I already had no problem with Java). When I run the software update on my Mac, it says my so

  • Kindle does not connected macbook pro sharing network

    Sharing my internet does not work on kindle 7th generation, it says that it is connected to wifi but not internet. But this internet sharing works perfectly on all other devices. I share of ethernet port thunderbolt, which is behind my proxy of the I

  • Toggle values

    Hello Is there a quick way to progam a section in LabVIEW to switch the value of a variable each, for example, 3 seconds, without stopover? For example, I want a control button to turn on and off every 3 seconds. I tried various methods, but they all

  • Serial numbers for the cRIO-9081 Module

    Is there a way for the FPGA in the cRIO-9081 to read the serial number, date of calibration of the NOR-9201 module installed in the cRIO? I want to get this information and send it to my Host.vi, because we have a duty to provide information instrume

  • DeskJet F380: F380 - solution centre message 'Cut' to print but scanner is connected and working.

    My Deskjet F380 worked well but now, I get an error message when you try to print. Scanner is connected and works fine. Solution Centre message appears "Deskjet F300 Series offline!". Convenience store simply said ' turn on the printer! Can someone h