Defining the new path for the data files for restoring using the VALUE of NEWNAME FOR DATABASE

Version: 11.2.0.3 Linux

Today, I had to do a restore RMAN to a new server and I came across the post following RTO on the VALUE of NEWNAME FOR DATABASE

ALTER database open resetlogs upgraded;         error to throw

So, I thought to use it to indicate the new location of the data files to restore.

That's what I did
===================

Restore the control file and catalog items to backup using the command of CATALOGUE START WITH. Then I started the restoration
$ rman target / cmdfile=restore.txt

Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jul 26 04:40:41 2012

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

connected to target database: SPIKEY (DBID=2576163333, not open)

RMAN> run
2>  {
3>  SET NEWNAME FOR DATABASE TO '/fnup/hwrc/oradata/spikey';
4>  restore database  ;
5>  }
6>
7>
8>
executing command: SET NEWNAME
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of set command at 07/26/2012 04:40:43
RMAN-06970: NEWNAME '/fnup/hwrc/oradata/spikey' for database must include %f or %U format

Recovery Manager complete.
Don't know how it worked for Levi without %f or %U. So, I added %f
 $ vi restore.txt
 $ cat restore.txt
run
 {
 SET NEWNAME FOR DATABASE TO '/fnup/hwrc/oradata/spikey/%f';
 restore database  ;
 }


 $ rman target / cmdfile=restore.txt

Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jul 26 04:45:45 2012

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

connected to target database: SPIKEY (DBID=2576163333, not open)

RMAN> run
2>  {
3>  SET NEWNAME FOR DATABASE TO '/fnup/hwrc/oradata/spikey/%f';
4>  restore database  ;
5>  }
6>
7>
8>
executing command: SET NEWNAME

Starting restore at 26-JUL-12
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=19 device type=DISK

channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /fnup/hwrc/oradata/spikey/1
channel ORA_DISK_1: restoring datafile 00002 to /fnup/hwrc/oradata/spikey/2
channel ORA_DISK_1: restoring datafile 00003 to /fnup/hwrc/oradata/spikey/3
channel ORA_DISK_1: restoring datafile 00004 to /fnup/hwrc/oradata/spikey/4
channel ORA_DISK_1: restoring datafile 00005 to /fnup/hwrc/oradata/spikey/5
channel ORA_DISK_1: restoring datafile 00006 to /fnup/hwrc/oradata/spikey/6
channel ORA_DISK_1: restoring datafile 00007 to /fnup/hwrc/oradata/spikey/7
channel ORA_DISK_1: restoring datafile 00008 to /fnup/hwrc/oradata/spikey/8
channel ORA_DISK_1: restoring datafile 00009 to /fnup/hwrc/oradata/spikey/9
channel ORA_DISK_1: reading from backup piece /u07/bkpfolder/SPIKEY_full_01nh0028_1_1_20120725.rmbk
channel ORA_DISK_1: errors found reading piece handle=/u07/bkpfolder/SPIKEY_full_01nh0028_1_1_20120725.rmbk
channel ORA_DISK_1: failover to piece handle=/u07/dump/bkpfolder/SPIKEY_full_01nh0028_1_1_20120725.rmbk tag=SPIKEY_FULL
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:01:56
Finished restore at 26-JUL-12

Recovery Manager complete.
As you can see, RMAN restore data files to the desired location. But the data file names ended up as
1
2
3
.
.      
.
9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -----------| Holy Cow |-----------------------------


So I had to rename each file as below
$ mv 1 /fnup/hwrc/oradata/spikey/system01.dbf
$ mv 2 /fnup/hwrc/oradata/spikey/sysaux01.dbf
$ mv 3 /fnup/hwrc/oradata/spikey/undotbs01.dbf
I would have been better in execution of the order for each data below file
SET NEWNAME FOR DATAFILE
Now, I think, there is no advantage in using NEWNAME SET of DATABASE to. Only the disadvantages. I did anything wrong above?

Martin;

On the issue of the VALUE of NEWNAME FOR DATABASE, you must specify at least one of the first three of the following substitution variables to avoid collisions of names: %b f % U. see semantic entry for TO 'filename' for a description of the possible substitution variables.

You use %f

%b

Specifies the filename without the fully qualified directory path. For example, the datafile name /oradata/prod/financial.dbf is transformed to financial.dbf. This variable enables you to preserve the names of the datafiles while you move them to different directory. During backup, it can be used for the creation of image copies. The variable cannot be used for OMF datafiles or backup sets.

%f

Specifies the absolute file number of the datafile for which the new name is generated. For example, if datafile 2 is duplicated, then %f generates the value 2.

%U

Specifies a system-generated unique filename. The name is in the following format: data-D-%d_id-%I_TS-%N_FNO-%f. The %d variable specifies the database name. For example, a possible name might be data-D-prod_id-22398754_TS-users_FNO-7.

Source - E10643-01

Backup and recovery reference

http://docs.Oracle.com/CD/E14072_01/backup.112/e10643/rcmsynta2014.htm

I see CKPT and I agree on that!

Best regards

mseberg

Tags: Database

Similar Questions

  • Rename a data file after restoring

    Hello
    I entered incorrect name for a data file by mistake.

    the value of newname for datafile 145 to ' / PATH/datafile1.dbf ';
    the value of newname for datafile 146 to ' / PATH/datafile2.dbf ';

    But that's the real name of the two

    DataFile 145 /PATH/datafile2.dbf
    DataFile 146 /PATH/datafile1.dbf


    Trying hard I did:

    change the database file rename ' / PATH/datafile1.dbf ' to ' / PATH/datafile2.dbf ';
    change the database file rename ' / PATH/datafile2.dbf ' to ' / PATH/datafile1.dbf ';

    But I got this error after alter renaming:
    ERROR on line 1:
    ORA-01511: Error renaming data/log files
    ORA-01523: cannot rename the data file ' / PATH/datafile2.dbf '-record already in the database


    How can I return the names after the two data files are restored and renamed.

    Published by: Paul Vidal on May 29, 2012 15:14

    the value of newname for datafile 145 to ' / PATH/datafile1.dbf ';
    the value of newname for datafile 146 to ' / PATH/datafile2.dbf ';

    But that's the real name of the two

    DataFile 145 /PATH/datafile2.dbf
    DataFile 146 /PATH/datafile1.dbf

    Trying hard I did:

    change the database file rename ' / PATH/datafile1.dbf ' to ' / PATH/datafile2.dbf ';
    change the database file rename ' / PATH/datafile2.dbf ' to ' / PATH/datafile1.dbf ';

    But I got this error after alter renaming:
    ERROR on line 1:
    ORA-01511: Error renaming data/log files
    ORA-01523: cannot rename the data file ' / PATH/datafile2.dbf '-record already in the database

    How can I return the names after the two data files are restored and renamed.

    His as an example, you have two glasses of water, you want to exchange the water in each glass, then you need extra glass here.
    Thus, rename one of the files with a different name.

    change the database file rename ' / PATH/datafile1.dbf ' to ' / PATH/datafile1_dummy.dbf ';
    change the database file rename ' / PATH/datafile2.dbf ' to ' / PATH/datafile1.dbf ';
    change the database file rename ' / PATH/datafile1_dummy.dbf ' to ' / PATH/datafile2.dbf ';

    But make sure that you have files at the level of the BONE also...

  • Need to define new paths for assets in organization CS6

    Windows 7 Home. Just installed CS6 Production Premium CS4 optical disc upgrade. Downloaded all the 1.7 GB updates and all the applications are enabled.

    When I opened body he came without listing all of my body CS4 projects. When I click on one of the organization files I get messages saying that it is an old version and must be updated. I click ok but problem not solved. I changed the paths for assets used in CS4 projects and wonder if this is the problem. How to upgrade the CS6 projects in new ways?

    Do not change the paths before you open your old project with CS6.

    CS6 will ask you if want to convert old project again.

    Say Yes and enter a new location and a name.

    When you click ok, all assets will point to new project.

  • Illustrator javascript save them to PDF - issue defining the values listed as a variable

    Hello


    I'm trying to figure out how I can use a variable as the target for a save as PDF option in Illustrator javascript. the work of fine variables where there is no value listed for the property that is opts.generateThumbnails but I can understand how to run opts.compatibility or other properties with the values using a variable as the definition listed.


    Example code snippet below will always give an error "The enumerated value should" during the opts.colorCompression option even if the string is correct.

    If I define chose him as opts.colCompression = compressionQuality.AUTOMATICJPEGHIGH then everythings works


    Does anyone know how I can set the compressionQuality.AUTOMATICJPEGHIGH as a variable will work


    TKS


    Code snippet


    OPTS = new PDFSaveOptions();

    OPTS.Compatibility = PDFCompatibility.ACROBAT5;

    opts.generateThumbnails = thumbnailValue;

    opts.preserveEditability = editingValue

    OPTS. Optimization = optimizationValue;

    opts.colorCompression = colCompressionDefault;


    default value is defined at the beginning of the script like: -.

    var colCompressionDefault = "compressionQuality.AUTOMATICJPEGMAXIMUM";


    Alert ("Options of Compression of color =" + opts.colorCompression);


    for (x = 0; x < doc.artboards.length; x ++)

    {


    doc.artboards.setActiveArtboardIndex (x);

    var artboardName = doc.artboards [x] .name;


    If ((artboardName.match (/ ^ imprimé / i)))

    {

    opts.artboardRange = x + 1;

    expFile = file (destFolder + "/" + "stringname" + "-" + doc.artboards [x] .name + ".pdf");

    doc.saveAs (expFile, opts);      It is the privilege which fails

    }

    }


    Close the open document

    sourceDoc.close (SaveOptions.DONOTSAVECHANGES);

    If you have information on how I should set...

    I do it, I showed you how, in my previous post, Javascript is case-sensitive,

    It does not exist

    compressionQuality.AUTOMATICJPEGMAXIMUM
    

    This is done

    CompressionQuality.AUTOMATICJPEG2000MAXIMUM
    
  • Dynamic action - defining the value of affected parts

    Hello

    I'm a little trouble trying to set the value of several items affected in dynamic Action (refresh the number of the part to Page 2). Page 2 I want the user to select the order number and fill in the items combines automatically, for example part number Descr. I can make it work for Part_Number, but the same value appears when I add P2_DESCR to items assigned to set the value. I'm probably doing something really stupid!

    http://Apex.Oracle.com/pls/Apex/f?p=11536:2

    Kind regards

    Mickey

    Hi Mickey,

    It is not as easy as it should be, even. You certainly do not make something stupid at all!

    Currently the action 'Set value' support only 1 distinct value. You might have other 'Action' within the same dynamic action that returns the other element you want, but it's inefficient, you need to make 2 round trips to the server to retrieve each value. We are looking for the opportunity to put multiple values without needing more trips to go back out of the box in a future release, but for now I think the best approach is to use a custom mix of dynamic measurements, JavaScript and a level of page AJAX callback.

    For this example, I use the EMP table, where the user selects the number and the name of the employee and employment are returned, but the technique can be used for your situation.


    1. Add a page 'AJAX Callback' called 'GET_EMP_INFO', make the type "PL/SQL" with a "Point of process" of "On Demand - run this process when requested by AJAX ' and add the following code:

      begin
          for c in (select ename, job from emp where EMPNO = to_number(:P1_EMPNO)) loop
           apex_util.set_session_state('P1_ENAME', c.ename);
              apex_util.set_session_state('P1_JOB', c.job);
              /* Add more set_session_state calls here if you want to return more item values */
          end loop;
          apex_util.json_from_items('P1_ENAME:P1_JOB');  /* Add more here for returning more values */
      end;
      

    2. Create a dynamic action "Advanced" (because we need to use the action "Run JavaScript Code"), with the following attributes:

      • 'Change' - to the fire of the dynamic action every time the number value used change event.

      • Selection of Type 'Article (s)' - to be able to select the element of page employee number.

      • Article (s) "P1_EMPNO" - the page employee number element.

      • Real Action "to execute JavaScript Code. If you want details on the loading of the page as well, make sure that the 'Fire when loading the Page' checkbox is checked. Add the following "Code":

        var get = new htmldb_Get(null, $v('pFlowId'), 'APPLICATION_PROCESS=GET_EMP_INFO', $v('pFlowStepId'));
        get.add('P1_EMPNO', $v('P1_EMPNO'));
        gReturn = get.get();
        json_SetItems(gReturn)
        get = null;
        





    So, basically, that's all. I recommend this approach for now, until better support us in native mode to set multiple values, or a plug-in dynamic action arises that does just that!

    Hope that helps.

    Kind regards
    Anthony.

  • Defining the value of attribute inferred in analysis

    Hi all

    Given that I have under rules,

    It's nice if

    an and

    b

    As long as I have a lot of logic under A conditional and well tested.

    Now, I want to test the conclusion "it is beautiful" but I don't want to retype all THE related condition A Base attribute.

    How can I simply define A to be true and vary B conditional logic and test?

    Thank you very much.

    Update: It works in OPM cloud!

    I just tested and was able to set the value of an attribute inferred in What-If in the clouds of the OPM.

  • Consolidate data files when you use impdp

    Dear all,

    We are trying to move data from an environment of 10gr 2-11 GR 2 environment using the data pump. In the environment of 10 gr 2, we have several data files for several storage spaces and we want to create data files less in the environment 11 2 GR. We have CARS in environments and use ASM. In addition to the Group of disks in both names environments are different. Here are two scenarios:

    10 gr 211 GR 2
    Name of data fileSizeName of data fileSize
    + DATA\TS1_DF1. DBF20 GB+ DG_DF\TS1_DF01. DBF100 GB
    + DATA\TS1_DF2. DBF20 GB
    + DATA\TS1_DF3. DBF50 GB
    + DATA\TS2_DF1. DBF10 GB+ DG_DF\TS2_DF01. DBF150 GB
    + DATA\TS2_DF2. DBF150 GB
    + DATA\TS2_DF3. DBF20 GB

    Can achieve us using data pump?

    Kind regards

    Base schema export will export all the objects schema, tables and indexes. also grants.

    But if subsidies to the role and this role does not exist in the target database, then you will get the warnings.

    Manually create the roles.

    Concerning

    Mr. Mahir Quluzade

  • What is the new path for the download of 'HTMLResources' as we did in the classic?

    Hello

    in classic, I was able to download HTML resources to take notes for my students in the classic version. I can't seem to find that for 2015 of DPS. Any suggestions?

    Julz

    DPS 2015 does not support this feature. There are discussions on this forum on this topic. This is one of them:

    Resources HTML works always in 2015 DPS?

  • error-could not define the value of the internal "HTML" property object is null or undefined code 0

    Cannot re - install the latest version of flash. I get this error during installation.

    Recently istalled Firefox, and had problems with the Flash plug-in. I uninstalled flash and re-installing trired

    Flash so he could work on every browser, now I can't get Flash back on my system.

    Windows Vista Home Premium 32 bit.

    Try to use installers off https://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#ma pars_text_4 line (under the heading always of problems?)

  • ORA-01111 name for the 10 data file is unknown

    Hello
    I created two new areas of storage (11 and 12) with 1 data file in each of them in my primary database,
    I forgot to set the parameter in the server backup standby_file_management = AUTO,
    auto standby server to create tablespace data file in D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00010 11,
    Although there is no "UNNAMED00010" in D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\ file.
    in the tablespace $ v and v$ datafile, I can see that the entry was created in the control to the standby server file.
    Here is the list of the data file in my backup server

    TS # name
    ----- --------------------------------------------------------
    G:\OFSDB\OFS4\ORADATA\OFS4\SYSTEM01 0. DBF
    1 G:\OFSDB\OFS4\ORADATA\OFS4\UNDOTBS01. DBF
    G:\OFSDB\OFS4\ORADATA\OFS4\SYSAUX01 2. DBF
    G:\OFSDB\OFS4\ORADATA\OFS4\USERS01 4. DBF
    6 G:\OFSDB\OFS4\ORADATA\OFS4\DATA_SE. ORA
    7 G:\OFSDB\OFS4\ORADATA\OFS4\INDEX_SE
    8 G:\OFSDB\OFS4\ORADATA\OFS4\FLOW_1.DBF
    G:\OFSDB\OFS4\ORADATA\OFS4\CJHIT01 9. DBF
    G:\OFSDB\OFS4\ORADATA\OFS4\DBMON_TS 10. DBF
    11 D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00010

    Someone knows how to fix this problem?

    Thank you

    Another way try this,

    1 put the tablespace that holds the database without name begin backup mode.

    SQL > alter tablespace mytbs begin backup;

    2 copy the missing data (copy of the OS) file to the location of the files of pending data.

    3. run the end backup command.

    SQL > alter tablespace mytbs end backup;

    4. create a controlfile for the use of the database pending,

    SQL > alter database create standby controlfile as ' / D:/oracle/stdcontrol.ctl';

    5. move the alos for standby server.

    In the standby mode,

    1 cancel the recovery mode.
    2 stop and change the controlfile.
    3. start the day before db in the editing phase.
    4 restore database pending.

    Thank you

  • Enter the value for the data files:

    Hi all
    I use 10.2.0.1.0
    I have a tablespace "hg" with two data files.
    whenever I use after an order to drop this tablespace I hv asked values for data files
    Welcome is:

    SQL > drop tablespace hg, including content and data files;

    SQL > drop tablespace hg, including content and data files;

    I have two data files to the tablespace named as hg.dbf, hg1.dbf

    now what I hv value to enter? or how to calculate the value.


    Thank you

    Honey says:
    Yes I know its 'AND' but when I using the '&' then oracle asked me of ' enter the values of the data files: "k".
    Please try first, then the calculation of the value.
    It can be a variable binding value.
    If you find the answer please suggest steps

    Simple words, the "DROP TABLESPACE" command does not support '&' character. & is a substitution of placeholder for SQL variable * more.

    Even if you provide the value for the "data files" prompt, the command does not work as it would lead to "drop tablespace including contents tsname *"details of your file *.

  • Open the data file Outlook - access denied

    I have an Outlook data file created and used when I was running Outlook 2003 on Windows XP - Pro. I have a new computer with Windows 7 Home Premium. I'm still on Outlook 2003. When I try to open the data file, I get - file access is denied. You don't have permission to access the file C:\Users\Valued Customer\Outlook_xxx.pstr

    I am logged in as administrator.
    The permissions for all folders in the path and the file itself grant full control.

    I changed the owner to my new login name.

    NG wrong - try: http://social.answers.microsoft.com/Forums/en-US/category/officeoutlook TaurArian [MVP] 2005-2010-implementation to date of Services

  • Issue to the creation/editing UCM contributor data file

    Hello

    We have the requirements below:

    (a) create a contributor by program data file, and not using the contributor of the Studio Site for a definition of region RD1, by using a custom, template not the model of default.xml provided by the Studio (SS) Site.

    I created a data contributor using RD1 file and set it as your primary file to create other files of data for this RD1. I used CHECKIN_NEW IDC service to create the data file. PFA the code snippet. I was able to successfully create the data file.

    (b) change the correct display of data file

    However when I try to modify the data of the University Complutense of MADRID, I get the error message. PFA file error message.

    I would like to know if there is no Site Studio IDC service to create web resources based on the custom template. I want to create assets web Webcenter application and no contributor Site Studio.

    Hi Nikhil,

    Try this piece of code:

    DataBinder dataBinder = idcClient.createBinder ();

    dataBinder.putLocal ("IdcService", "SS_CHECKIN_NEW");

    dataBinder.putLocal ("xRegionDefinition", prop.getProperty ("regiondefinition"));

    dataBinder.putLocal ("dDocTitle", prop.getProperty ("title"));

    dataBinder.putLocal ("dSecurityGroup", "Public");

    dataBinder.putLocal ("ssDefaultDocumentToken", "SSContributorDataFile");

    dataBinder.addFile ("primaryFile", new leader (prop.getProperty ("filename")));

    dataBinder.putLocal ("xWebsiteObjectType", "Data file");

    dataBinder.putLocal ("dDocType", "Document");

    dataBinder.putLocal ("dataFileFieldValue", "Data file");  This parameter is passed when no particular site is selected in the menu drop-down

    Here I've created a companion file where in all connection and defintion region ucm to be fixed this CDF are defined.

    filename - this one is set to default.xml (to check normal working)

    regiondefinition - this is the content of Dr id to which is attached the cdf.

    title - title of the element content according to customer's requirement.

    With this code, test and whether the requirement that you are looking for is completed and update results.

    Thank you

    Srinath

  • empty data file with special characters in the name

    Hi all

    I'm having a problem with an empty data file which is in recovery mode.

    Before the following has been a success:
    ALTER database create datafile 'fully_qualified_file_name' as 'fully_qualified_file_name ';
    recover data file "fully_qualified_file_name";
    ALTER database datafile 'fully_qualified_file_name' online;

    But this time it does not work as I get an error:
    ORA-01516: file nonexistent journal, data file, or temporary file
    Using the file id does not work either.

    When I created a record of control file I see the data file has special characters in the name:
    ' / oracle/PRD/112_64/dbs/PSPR3I ^? ^?'

    Since it is empty, it would be possible to create the data file void anothr
    using the:
    ALTER database create datafile ' / oracle/PRD/112_64/dbs/PSPR3I ^? ^?'
    as ' / oracle/PRD/spdata2/r3i_8/r3i.data8';

    and then recover datafile 'fully_qualified_file_name ';
    ALTER database datafile 'fully_qualified_file_name' online;

    How orders oracle faced with special characters?

    Thanks for your advice

    user6737818 wrote:
    Hi all

    I'm having a problem with an empty data file which is in recovery mode.

    Before the following has been a success:
    ALTER database create datafile 'fully_qualified_file_name' as 'fully_qualified_file_name ';
    recover data file "fully_qualified_file_name";
    ALTER database datafile 'fully_qualified_file_name' online;

    But this time it does not work as I get an error:
    ORA-01516: file nonexistent journal, data file, or temporary file
    Using the file id does not work either.

    When I created a record of control file I see the data file has special characters in the name:
    ' / oracle/PRD/112_64/dbs/PSPR3I ^? ^?'

    It should work using a file as the definition of source file number and a new name for the new file. Works for me:

    orcl> alter database create datafile 7 as 'c:\tmp\newname.dbf';
    
    Database altered.
    
    orcl>
    
  • Newname defined for data files

    Hello

    I use oracle 10g (10.2.0.1) in RHEL 5 server. I am trying to restore a full backup on another server with RMAN different directory structure. I catalogued the backup using the command below

    RMAN > catalog begins with ' / u01/backupset/o1_mf_nnndf_FULLBKP_88zqky0p_.bkp';

    using the control file of the target instead of recovery catalog database
    the search for all files that match the pattern /u01/backupset/o1_mf_nnndf_FULLBKP_88zqky0p_.bkp
    No files found to be unknown to the database


    Then the new name set command issued

    Run {}
    {2 > the value of newname for datafile 1 to ' / u01/app/oracle/oradata/DEVDB/datafile/system1.dbf';}

    executing command: SET NEWNAME

    RMAN >

    Now when I run the command restore datafile 1 I get restored in different location

    restore data file 1;

    From restoration to November 11, 12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 155 devtype = DISK

    channel ORA_DISK_1: from datafile backupset restoration
    channel ORA_DISK_1: specifying datafile (s) to restore from backup set
    restoring datafile 00001 to */u01/app/oracle/oradata/ORADB/datafile/o1_mf_system_89zlhw35_.dbf*
    channel ORA_DISK_1: backup /u01/backupset/o1_mf_nnndf_FULLBKP_88zqky0p_.bkp piece reading
    channel ORA_DISK_1: restored the backup part 1
    piece handle=/u01/backupset/o1_mf_nnndf_FULLBKP_88zqky0p_.bkp tag = FULLBKP
    channel ORA_DISK_1: restore complete, duration: 00:00:25
    Restoration finished November 11, 12

    But I gave the */u01/app/oracle/oradata/DEVDB/datafile/system1.dbf* in the set newname command.

    My locations of data file in the database server source is * / data/u01/app/oracle/oradata/ORADB/data file *.

    Is this a bug in 10.2.0.1? or am I missing something?

    Thanks in advance

    Kind regards

    007

    RMAN > run {}
    2 > newname for datafile 1 to value ' / u01/app/oracle/oradata/DEVDB/datafile/o1_mf_system_80jq0kfw_.dbf';
    3 > restore datafile 1;
    4 > SWITCH DATAFILE ALL ;}

    Hello

    Looks like you got some OMF (Oracle managed files). Can you please post the result of below:

    display the parameter db_create_file_dest

    I suspect that the above setting is set to ' / u01/app/oracle/oradata/ORADB ". Also, for an OMF file, you cannot assign a name. The name is particularly well absorbed by Oracle.
    You can just try as below, but before that please post the result to "see the db_create_file_dest parameter.

    RMAN> run{
    set newname for datafile 1 to new;
    restore database;
    switch datafile all;
    recover database;
    }
    

Maybe you are looking for

  • Satellite Pro U400 - 150 - display has stopped working

    Hello guys,. yesterday I used to turn on my laptop (Satellite Pro U400 - 14) and it worked fine but after 1 minute my screen stopped working. I tried to restart the PC, and it worked OK again. But I turn on my laptop today and it didn t work at all.

  • Tecra 8100 - screen goes black sometimes

    Hi members,I recently got a Tecra 8100 for cheap on eBay. The screen sometimes goes black its still on I need to press the shaft close to the screen and it beeps sound sounds and back on. I removed the frame of the screen and it made the difference f

  • FaceTime works on iPhone, but not on Mac Book Pro

    I can click on FaceTime with iPhone but when I try to use FaceTime on Mac Book Pro, nothing happens that he does nothing when I click on a contact to establish a connection.  Don't know why?  I tried to locate preferences when I open FaceTime app on

  • HP G62 100SL: HP G62 100SL ram Upgrade problem

    Hello I wanted to upgrade the ram on my G62, since the out-of-the-box 2x2gb: ( http://www.kingston.com/it/memory/search/discontinuedmodels/Default.aspx?DeviceType=3&Mfr=HEW&Line=G... the serial number of my modules is 598856-001 and 002-598856, so th

  • How do we install framework - res .apk and semcgenericuxpres.apk?

    I plan to mod my xperia arc s so that it looks like s xperia, but I can't seem to install these two apk files. also, I tried to install the weather widget, but it doesn't work. I'm running on 4.0.4 ics. advice please? Thanks in advance.