RMAN-06094: datafile 344 must be restored: in duplicate of active db db

Hi all

I'm on the oracle 11g running on Solaris Sparc 64-bit database.

I am using the RMAN duplicate command using the current database with the following command:
rman target sys/manager@TARGET nocatalog  auxiliary sys/manager@DEST <<EOF
run {
allocate channel ch1 type disk;
allocate channel ch2 type disk;
allocate channel ch3 type disk;
allocate channel ch4 type disk;
allocate channel ch5 type disk;
allocate auxiliary channel ch6 type disk;
allocate auxiliary channel ch8 type disk;
allocate auxiliary channel ch7 type disk;
allocate auxiliary channel ch9 type disk;
allocate auxiliary channel ch10 type disk;
SET NEWNAME FOR DATABASE TO '/p1/oracle/DEST/DEST/datafile/%U';
duplicate database to DEST from active database nofilenamecheck;}
I got this error at the end of the output:
datafile 340 switched to datafile copy
input datafile copy RECID=2183 STAMP=789836366 file name=/p1/oracle/dest/DEST/datafile/data_D-TARGET_TS-SYSAUX_FNO-340

datafile 341 switched to datafile copy
input datafile copy RECID=2184 STAMP=789836366 file name=/p1/oracle/dest/DEST/datafile/data_D-TARGET_TS-RMX_DATA_FNO-341

datafile 342 switched to datafile copy
input datafile copy RECID=2185 STAMP=789836366 file name=/p1/oracle/destr/DEST/datafile/data_D-TARGET_TS-RMX_IDX_FNO-342

datafile 343 switched to datafile copy
input datafile copy RECID=2186 STAMP=789836366 file name=/p1/oracle/dest/DEST/datafile/data_D-TARGET_TS-RMX_LOBS_FNO-343

contents of Memory Script:
{
   set until scn  10453270596456;
   recover
   clone database
    delete archivelog
   ;
}
executing Memory Script

executing command: SET until clause

Starting recover at 28-JUL-12
released channel: ch1
released channel: ch2
released channel: ch3
released channel: ch4
released channel: ch5
released channel: ch6
released channel: ch8
released channel: ch7
released channel: ch9
released channel: ch10
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/28/2012 15:00:09
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-06094: datafile 344 must be restored

RMAN>
RMAN>

Recovery Manager complete.
~
Please suggest how to go about the next.

Concerning
KK

Published by: Kk on July 28, 2012 02:41

Published by: Kk on July 28, 2012 02:49: ADDED BETTER OUTPUT

KK wrote:
Hi all

The data file 344 and 345 belonged to two different tablespaces that were not used.

More, I don't know why, but the timestamp on these two data files 344 and 345 was showiing like JULY 6 instead of JULY 28.

If I was sure that this was causing the problem.

I gave these 2 storage spaces and then runs again once again the script removing created controlfiles and the database has been opened.

Just curious as to why these 2 data files were not getting filled with the timestamp of the last?

Concerning
KK

What is the status of the two data files? You can query to source database
SQL > select file_id, dba_data_files online_status where file_id in (344 345);

This backup contains these two files? If these two tablespaces have only a data file is in read-only mode?

Tags: Database

Similar Questions

  • DataFile 1 must be restored

    Hello
    in 10g R2, Win 2008 during recovery from backup by RMAN database, I get successively:
     
    rman>recover database; 
    
    RMAN-06094:datafile 1 must be restored 
    
    rman>restore datafile  'D:\BASES\mydb\DATA\SYSTEM01.DBF' 
    
    restore finished 
    rman>recover database; 
    
    RMAN-06094:datafile 1 must be restored 
    You have a solution?

    Thank you.
    6094, 1, "datafile %s must be restored"
    // *Cause: A RECOVER command was issued, and the recovery catalog indicates
    //         the specified datafile should be part of the recovery, but
    //         this datafile is not listed in the control file, and cannot be
    //         found on disk.
    // *Action: Issue a RESTORE command for this datafile, using the same
    //          UNTIL clause specified to the RECOVER command (if any), then
    //          reissue the RECOVER.
    

    RECOVER & RESTORE are different operations

  • RMAN-06023: no backup or copy of datafile 3 found to restore

    Hello

    I searched the whole forum, but I have nothing.

    I rman backupset (x 64) and I'm trying to restore it to another machine, (same characteristic), but I got the error below.

    help please... :(



    RMAN > run
    2 > {}
    3 > ALLOCATE CHANNEL C1 DEVICE TYPE DISK;
    4 > RESTORE database;
    {5 >}

    using the control file of the target instead of recovery catalog database
    allocated channel: C1
    channel C1: SID = 170 type device = DISK

    From restoration to May 3, 10

    output channel: C1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command restore at 2010-05-03 11:16
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of the file 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore

    RMAN >

    But mark correct/good

  • RMAN-06023: no backup or copy of datafile 407 found to restore

    Hi all

    Database 11.1.0.7 on OUL5x64
    just did a full backup and check the log file, the backup was good, he saved on a NFS mount.


    It is the error in the log file

    # Release target DB info, catalog DB, catalog schema & RMAN executable: #.
    11.1.0.7
    Winding began in the log file: /tmp/rman_gold.log

    Recovery Manager11.1.0.7.0

    RMAN > run {}
    2 > set up what SNA 5976539071832.
    3 > restore database;
    4 > restore database;
    {5 >}
    executing command: SET until clause
    using the control file of the target instead of recovery catalog database

    From restoration to 1 April 10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 1632 type device = DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: SID = 1655 type device = DISK

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================

    RMAN-03002: failure of the restore command at 01/04/2010 11:11:12
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of datafile 407 found to restore
    RMAN-06023: no backup or copy of datafile 406 found to restore
    RMAN-06023: no backup or copy of datafile 405 found to restore
    RMAN-06023: no backup or copy of file 404 found to restore
    RMAN-06023: no backup or copy of datafile 403 found to restore
    RMAN-06023: no backup or copy of datafile 402 found to restore
    RMAN-06023: no backup or copy of datafile 401 found to restore
    RMAN-06023: no backup or copy of datafile 400 found to restore
    RMAN-06023: no backup or copy of datafile 399 found to restore
    RMAN-06023: no backup or copy of datafile 398 found to restore
    RMAN-06023: no backup or copy of datafile 397 found to restore
    RMAN-06023: no backup or copy of datafile 396 found to restore
    RMAN-06023: no backup or copy of datafile 395 found to restore
    RMAN-06023: no backup or copy of datafile 394 found to restore
    RMAN-06023: no backup or copy of datafile 393 found to restore
    RMAN-06023: no backup or copy of datafile 392 found to restore
    RMAN-06023: no backup or copy of datafile 354 found to restore
    RMAN-06023: no backup or copy of datafile 353 found to restore
    # Specific details of the problem encountered during the RMAN session: #.
    the database backup point also complete a NFS mount. then delete the database, startup nomount database and restore the controlfile then stop and start frame.
    connecting to rman as
    RMAN target /.
    run
    backup from the list; and the backup from the list of the archivelog all;
    get the number of SCN and restore in the above script.
    If failed the first time with message

    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of datafile 407 found to restore
    RMAN-06023: no backup or copy of datafile 406 found to restore
    RMAN-06023: no backup or copy of datafile 405 found to restore
    RMAN-06023: no backup or copy of file 404 found to restore
    .........................

    After that he failed
    Then I added everything backup as
    RMAN >
    Catalogue backuppiece ' / rman/backup/ph2/xxxxxxxxxx.dbf';
    .......................
    ......................

    Then, run the restore again.
    It fails with the above error.

    I check, all backup elements are there.
    Why the rman could not locate the backup pieces.

    Can someone please have a suggestion.

    Thanks in advance!

    PLS, try this command without SNA 5976539071832 such as

    Run {}
    restore the database;
    recover the database;
    }

  • RMAN-06023: no backup or copy of datafile 40 found to restore

    I'm using Oracle 10.2.0.3on Linux.

    I have a full backup taken a few months back.

    Database changes are quite small, so I was asked to do a recovery until the time.

    After the last database backup a few spaces have been created, and I do not have a backup of them.

    Now, when I tried to restore from old backup I hit this error

    RMAN > restore database from tag = "TAG20080819T104511";

    From restoration to 17 December 08
    using channel ORA_DISK_1

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 2008-12-17 14:52:39
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of datafile 40 found to restore
    RMAN-06023: no backup or copy of datafile 39 found to restore
    RMAN-06023: no backup or copy of datafile 38 found to restore

    Is it possible to ignore these storage spaces and to make a point in time recovery?

    Hi Ben!

    To exclude a tablespace in backup/restore do the following:

    Find the name of the repository where 40 datafile belongs to 1.).


    SELECT tablespace_name
    FROM dba_tablespaces t, dba_data_files d
    WHERE t.tablespace_name = d.tablespace_name
    AND d.file_id = 40;

    2.) configure an exclusion for this tablespace (allows to name TS1) in rman


    CONFIGURE EXCLUDE FOR TABLESPACE TS1;

    3.) Repeat steps 1 and 2 for datafiles 38 and 39.

    4.) Restore the database

    RESTORE DATABASE;

    5.) Actually you can't recovery your database because of the missing datafiles. Try to recreate them. This will only work, if you've all the archivelogs since your last backup. Do this within SQL*Plus


    startup mount

    ALTER DATABASE
    CREATE DATAFILE 40
    AS 'path/filename of file number 40';

    6.) repeat step 5 for 38 and 39 data files

    I don't exactly know if it works or not but I hope!

    concerning

  • Defective single file restore: "datafile... already restored to the file.

    Hi all

    I ' am doing some tests with RMAN restore and restore a single file in a new directory.

    First execution of the restore script (run {restore datafile 14-'... » ;}) has been a success, but in the case where I deleted the restored file and restart the script, RMAN complains with:

    "datafile 14 is already restored to the file...". ».

    This means that RMAN keeps track of and refers to the previous actions of restoration?

    I find this rather strange RMAN behavior because I want RMAN just to use to deal with some files (should not make assumptions that the DBA can do or what he or anyone else has done it before...).

    Y at - it an option to 'force' RMAN to restore files, regardless of what happened before?


    Thank you,

    Heiko

    Edited by: user7368717 the 15.09.2009 07:54

    What the o/s if you are at and is the database always opens when you delete the file?

    There is an option of FORCE with RESTORATION.

  • Office key code lost but he must run restore

    2008 HP G60 - 120US 32-bit Vista laptop

    Need to run in full restoration, but did not have the code key/drive for Microsof Office 2007 I got Office Depot

    install at time of purchase. It is located? What is possible, don't want to lose him.

    Thank you

    Welcome to Corey.

    If you can still start your system test it?

    http://www.NirSoft.NET/utils/product_cd_key_viewer.html

    Download links are at the bottom of this page.

    Let us know how things are going.

  • BlackBerry Z10 must help restore data backed up again Z10 but did not have my old Z10

    Will be transfer of link blackberry an old back-up for a new Z10 Z10 when I don't have the old phone to connect.

    Maybe Ive missed something but I'm unable to make this project a reality.

    It would seem that the idea to save the phone would be somehow backup access at any given time.

    Any direction would be appreciated.

    Thanks for your input John. It seems that I tried to restore it with the wrong file.

    The restoration has worked a bit, but some contacts are missing. Better than nothing, I suppose.

  • I have an old MacBook Pro that must be restored to factory settings to make it work again, but I want to assure you that I do not lose my products on creative (I can't afford to buy again now!) if I still have my numbers of series from 2012.

    I want to just make sure I don't lose my products when I get my MacBook Pro erased, but they are of 2012 so I'm afraid I won't be able to DL them again!

    Serial number are a permanent feature except under certain conditions.  Use of the cabin serve you when wish you them, always check the compatibility of the operating system.

    Concerning

    Stéphane

  • the backup database must be restored after failover and flashback 11

    I tried a failover with 11g r2 and RAC. Failover worked. I have flashed then return of the database (old primary) according to this http://docs.oracle.com/cd/E11882_01/server.112/e17022/scenarios.htm#i1049997, and now is the archiveurs application again.

    The problem is in the broker, it says this

    DGMGRL> show configuration;
    
    Configuration - DG_Config
    
      Protection Mode: MaxPerformance
      Databases:
        DB11G_STBY - Primary database
        DB11G      - Physical standby database (disabled)
          ORA-16661: the standby database needs to be reinstated
    
    Fast-Start Failover: DISABLED
    
    Configuration Status:
    SUCCESS
    I tried deactivating and reactivating the configuration, but still the same. Any other ideas?

    Here's a link [url http://nikolayivankin.wordpress.com/2012/02/14/dgmgrl-reinstating-ex-primary-to-standby-by-flashback-database-feature/] a demo, your theme

  • No - asm asm restore using duplicate

    version Oracle 11.2.0.2.0

    Hello a question guys, I'm trying to restore a non - asm asm database. I want to know if the following will work with the duplicate database.

    SET NEWNAME for DATAFILE ' / clu15/oracle/database/PROD/dbf/NDX_PROD.dbf' to '+ DGDEV1DBDATA03/database/DEV/dbf/NDX_PROD.dbf;

    SET NEWNAME for DATAFILE ' / clu15/oracle/database/PROD/dbf/NDX_PROD_01.dbf' to '+ DGDEV1DBDATA03/database/DEV/dbf/NDX_PROD_01.dbf;

    SET NEWNAME for DATAFILE ' / clu15/oracle/database/PROD/dbf/NDX_PROD_02.dbf' to '+ DGDEV1DBDATA03/database/DEV/dbf/NDX_PROD_02.dbf;

    SET NEWNAME for DATAFILE ' / clu15/oracle/database/PROD/dbf/NDX_PROD_03.dbf' to '+ DGDEV1DBDATA03/database/DEV/dbf/NDX_PROD_03.dbf;

    Thank you

    This above will work.

    If you want to use the architecture of DAO, you can simply give

    SET NEWNAME for DATAFILE ' / clu15/oracle/database/PROD/dbf/NDX_PROD.dbf' to '+ DGDEV1DBDATA03;

    You can also set the db_file_name_convert and log_file_name_convert.

  • I turned off my phone to do a restore and now lock activation said that it belongs to someone else, to find HOW?

    I disabled find my phone to restore, do a restore itunes trying to get a SIM to activate and now the phone activation said lock that it belongs to someone else, HOW?

    It already belonged to someone else?

  • Is it possible to restore the documents if the system restore has not been activated previously?

    is it possible to restore the documents because I turned off then turned on the system restore and lost all my documents. help please an old lady of 61, who needs these documents for school

    E-mail address is removed from the privacy *.

    * original title - documents can be restored from HDD after system restore has been turned off the on *.

    Hi jacqulinekleiss,

    If the system restore is off turn on the computer of all available restore points will be deleted and you will no be able to return to the previous state.

    System Restore "restore points" are missing or deleted

    http://support.Microsoft.com/kb/301224

  • BES API must be used for Blackberry Enterprise Activation with?

    Which BES API method should be used to do Blackberry Enterprise Activation with?  On this, I found an example of code.

    Thank you.

    Hello

    Enterprise activation can be done through the BAA, it must take over the device. If you are looking for a code to set the EA password then please refer to the Interface of BAADispatcher the reference documents API BAA for the code examples:

    http://www.BlackBerry.com/developers/docs/BAA/5.0.0/

  • Purchased a product key for Windows 7 Professional, but you must enter a different product key activation

    My laptop came with a Windows 7 Basic program trial and the trial ended so I bought a product key for Windows 7 Professional, because I got a discount on that student. When I try to activate it, it says I need to enter the product key for what I already use but I don't know the key to it. What am I doing here? Do I have to buy a product key for my Windows 7 original also?

    Windows 7 Home Basic Edition is not a trial.

    Is the Windows 7 Professional a full, level or Express upgrade?

    Skip entering your product key Windows 7 and complete the installation.

    When you reach the desktop, click Start, right-click on computer

    Click on properties

    Scroll down to the Windows Activation

    Click the link x days before activation.

    Click on the link that says: "show me other ways to activate.

    Enter the product key

    Click next

    Select the Activation of the phone

    Click Next when you enter your key page

    Select your country

    Click Next, call the number listed

    Be sure to explain your situation to the Appeals Officer.

    Provide the installation generated when ID requested by the call agent

    They give a confirmation ID in return, enter it

    Click next to complete the activation.

    However, the requirements for the media upgrade is that you have an operating system already eligible such as Windows XP or Vista installed to use it. Since the Windows 7 end user license agreement.

    15 UPDATES. To use upgrade software, you must first be licensed for the software that is eligible for the upgrade. After the upgrade, this agreement takes the place of the agreement for the software that you upgraded. After upgrade, you can no longer use the software that you upgraded.

    So, if you are always denied, you will just have to reinstall Windows XP or Vista and let it do the verification of eligibility.

Maybe you are looking for

  • I want to return to the settings I had before - how do I do it?

    I did the reset to defaults as suggested this morning, now I can't send items via my gmail and outlook has been eliminated

  • ElitePad 1000 G2: 10 Pro Version 1511, threshold 2 update Windows crashes on 'features and drivers '.

    Summer running Windows 10 Pro 64-bit for months without problem on my G2 ElitePad 1000; application Windows 10 updates throughout - so far. Yesterday, 12/11/2015, 1511 (threshold 2) updated version of Microsoft automatically downloaded and rebooted t

  • HP Pavilion 15-e091eo Ram and ssd upgrade.

    Hello! My computer is HP Pavilion e091eo 15 and I expected to make it even faster. I found these two products on amazon and I was wondering if they are not suitable for my computer. RAM: http://www.amazon.com/gp/product/B00CQ35GYE SSD: http://www.ama

  • Restoration of files!

    Hello! I had to reformat my computer, Windows 7, 64 bit, HP Wallpapers but don't worry because I have an external hard drive HP.   When I did a "restore", all files were made on my desktop in a folder marked, "Restored files". My question is, how I '

  • Windows error error 7 193 during installation of iTunes

    I have windows 7 on a 64-bit computer.  The Apple Mobile Device service does not start and displays error 1053.  I have run all diagnostic tests I can find and don't forget and downloaded all the updates.  My computer shows that there are no more upd