Rman backup in oracle 10.2.3

Dear friends,
I'm trying to take a full online database backup using rman. I used the below script.
run {
configure snapshot controlfile name to 'C:\RMAN_BACKUP\EBMS\FULL\c-%d_%t_%s_%p.ora';
allocate channel c1 type disk;
BACKUP DATABASE PLUS ARCHIVELOG
format 'C:\RMAN_BACKUP\EBMS\FULL\EBMS_%s_%p.BAK' tag='fullEBMSbk';
release channel c1;
The backup was succesful. Pls see output below.
RMAN> LIST BACKUP
2> ;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
7784 6M DISK 00:00:02 04-DEC-07
BP Key: 7785 Status: AVAILABLE Tag: TAG20071204T154505
Piece Name: C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\03J2P2S0_1_1
List of Archived Logs in backup set 7784
Thrd Seq Low SCN Low Time Next SCN Next Time
1 574 3609873 04-DEC-07 3623689 04-DEC-07
BS Key Size Device Type Elapsed Time Completion Time
7816 7M DISK 00:00:02 04-DEC-07
BP Key: 7817 Status: AVAILABLE Tag: FULLEBMSBK
Piece Name: C:\RMAN_BACKUP\EBMS\FULL\EBMS_13_1.BAK
List of Archived Logs in backup set 7816
Thrd Seq Low SCN Low Time Next SCN Next Time
1 574 3609873 04-DEC-07 3623689 04-DEC-07
1 575 3623689 04-DEC-07 3624793 04-DEC-07
1 576 3624793 04-DEC-07 3624837 04-DEC-07
1 577 3624837 04-DEC-07 3624865 04-DEC-07
1 578 3624865 04-DEC-07 3624941 04-DEC-07
1 579 3624941 04-DEC-07 3624990 04-DEC-07
1 580 3624990 04-DEC-07 3625035 04-DEC-07
1 581 3625035 04-DEC-07 3625101 04-DEC-07
1 582 3625101 04-DEC-07 3625215 04-DEC-07
1 583 3625215 04-DEC-07 3625264 04-DEC-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
7829 Full 2G DISK 00:04:50 04-DEC-07
BP Key: 7830 Status: AVAILABLE Tag: TAG20071204T164046
Piece Name: C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\0EJ2P64F_1_1
List of Datafiles in backup set 7829
File LV Type Ckp SCN Ckp Time Name
1 Full 3625281 04-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\SYSTEM01.
DBF
2 Full 3625281 04-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\UNDOTBS01
.DBF
3 Full 3625281 04-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\SYSAUX01.
DBF
4 Full 3625281 04-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\USERS01.D
BF
5 Full 3625281 04-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\DAT01EBMS
MSTR.DBF
6 Full 3625281 04-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\DAT02EBMS
DATA.DBF
7 Full 3625281 04-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\IDX01EBMS
.DBF
8 Full 3625281 04-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\RBS01EBMS
.DBF
BS Key Size Device Type Elapsed Time Completion Time
7843 1K DISK 00:00:01 04-DEC-07
BP Key: 7844 Status: AVAILABLE Tag: FULLEBMSBK
Piece Name: C:\RMAN_BACKUP\EBMS\FULL\EBMS_15_1.BAK
List of Archived Logs in backup set 7843
Thrd Seq Low SCN Low Time Next SCN Next Time
1 584 3625264 04-DEC-07 3625387 04-DEC-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
7847 Full 6M DISK 00:00:02 04-DEC-07
BP Key: 7848 Status: AVAILABLE Tag: TAG20071204T164547
Piece Name: C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\C-3957503679-20071204
-00 Controlfile Included: Ckp SCN: 3625400 Ckp time: 04-DEC-07
RMAN>
However i have the following questions in rman 10g.
1. My bakup pieces are getting created in Oracle_home\database folder. Even after specifying a location 'C:\RMAN_BACKUP\EBMS\FULL\EBMS_%s_%p.BAK' in the script
2. Contol file autobackup is configured as "on". backup of control file is gettin created in Oracle_home/database folder. how can i change that to a different location.
Pls advise.
Thanks in advance.

Hi,
I tried this now.
run {
configure channel device type disk format 'C:\RMAN_BACKUP\EBMS\FULL\EBMS_%s_%p.BAK'
MAXPIECESIZE 2000M;
allocate channel c1 type disk;
BACKUP DATABASE PLUS ARCHIVELOG;
release channel c1;
Still backup pieces getting created in Oracle_home/database folder
can i specify format 'my_path' along with backup command as in 9i?
Pls advise.
RMAN> list backup
2> ;
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
7924 Full 2G DISK 00:04:51 05-DEC-07
BP Key: 7925 Status: AVAILABLE Tag: TAG20071205T095110
Piece Name: C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\0MJ2R2GB_1_1
List of Datafiles in backup set 7924
File LV Type Ckp SCN Ckp Time Name
1 Full 3654237 05-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\SYSTEM01
DBF
2 Full 3654237 05-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\UNDOTBS0
.DBF
3 Full 3654237 05-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\SYSAUX01
DBF
4 Full 3654237 05-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\USERS01.
BF
5 Full 3654237 05-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\DAT01EBM
MSTR.DBF
6 Full 3654237 05-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\DAT02EBM
DATA.DBF
7 Full 3654237 05-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\IDX01EBM
.DBF
8 Full 3654237 05-DEC-07 C:\ORACLE\PRODUCT\10.2.0\EBMS\DATA\RBS01EBM
.DBF
BS Key Size Device Type Elapsed Time Completion Time
7938 11K DISK 00:00:01 05-DEC-07
BP Key: 7939 Status: AVAILABLE Tag: TAG20071205T095622
Piece Name: C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\0NJ2R2Q8_1_1
List of Archived Logs in backup set 7938
Thrd Seq Low SCN Low Time Next SCN Next Time
1 591 3654222 05-DEC-07 3654353 05-DEC-07
BS Key Type LV Size Device Type Elapsed Time Completion Time
7942 Full 6M DISK 00:00:02 05-DEC-07
BP Key: 7943 Status: AVAILABLE Tag: TAG20071205T095626
Piece Name: C:\RMAN_BACKUP\EBMS\FULL\C-3957503679-20071205-01
Controlfile Included: Ckp SCN: 3654367 Ckp time: 05-DEC-07

Similar Messages

  • RMAN / backup.  oracle 9 vs. oracle 10

    My colleague mentioned a while ago that we had to investigate RMAN &/or a backup client, "because in oracle 10, when doing an export of a live db, oracle does not switch into "single user mode" like it did in 9. So we couldn't have 100% faith in our .dmp file."
    I'd like to do some further research on this, but looking through the "Oracle 10 Complete reference" and googling - I don't see any information about it. Has anyone here dealt with this or know of a link I should see?
    Finally... Does anyone know if an RMAN backup for Oracle 10 accounts for any "in progres" transactions?
    Thanks in advance,
    Mike.

    Oracle, itself, doesn't switch to single user mode.
    Your colleague might have been talking of scripts which shutdown and restart the
    database in restricted mode to run an export of the database.
    RMAN backups as in 8.0/8i/9i/10g (or EBU in Oracle 7) and scripted (aka
    "user managed") backups are all physical backups. They take database blocks
    "as they are". Conceptually, the datafile backups aren't aware of active transactions.
    It is the redo stream in the archivelogs that is required for you to be able to restore
    and recreate a consistent database image.

  • Create standby DB with RMAN backup in Oracle 9.2.0.6

    I am tring to create a standby DB in different host with different directory using RMAN. The commandv with which I tried to create the standby database is the follow:
    (in the primary server side)
    RUN
    ALLOCATE AUXILIARY CHANNEL DUP1 TYPE DISK;
    DUPLICATE TARGET DATABASE FOR STANDBY
    NOFILENAMECHECK
    DORECOVER;
    but RMAN give me this error:
    Starting restore at 18-FEB-08
    channel DUP1: starting datafile backupset restore
    channel DUP1: restoring controlfile
    output filename=/opferi/oradata/oradata01/data01/cntrl01.dbf
    released channel: DUP1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 02/18/2008 17:57:20
    RMAN-03015: error occurred in stored script Memory Script
    ORA-19505: failed to identify file "/opferi/oracle/product/9.2.0/dbs/l4j9127p_1_1"
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    The standby database is in a different host with the same directory structure. I started (with nomount option) with the same init file that the primary database.
    I read solution like the backupset must be copied manually to the standby host, but for me is not a solution.
    The RMAN backup script is the follow (like
    RUN {
    CROSSCHECK BACKUPSET;
    DELETE NOPROMPT OBSOLETE;
    DELETE NOPROMPT EXPIRED BACKUPSET;
    crosscheck archivelog all;
    ALLOCATE CHANNEL ch00 TYPE disk;
    BACKUP
    $BACKUP_TYPE
    FORMAT '/rman/opferi2/df_sipd_%d_%u_%s_%p'
    DATABASE INCLUDE CURRENT CONTROLFILE FOR STANDBY;
    sql 'alter system archive log current';
    backup format '/rman/opferi2/archive_log_%d_t%t_s%s_p%p' (archivelog all);
    RELEASE CHANNEL ch00;
    when $BACKUP_TYPE=0
    Can anyone help my with this problem?? Thaks
    Cristian.
    PS. Sorry my bad english because I am from Latin America

    Requirements are:
    1 the backup should be accessible to both target and auxiliary database in the same location.
    2 On Unix this can be arranged through NFS, provided you set the read and write buffer to 32k.
    Obviously the backup can not be located in $ORACLE_HOME/dbs, as you can not mount a NFS directory over $ORACLE_HOME/dbs without loosing functionality.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • Manually register rman backup with oracle database 10g

    Dear All.
    I want to restore full backup of database.
    I have not configure flash_recovery_area.
    how i can manually register full rman backup of database with oracle database 10g.?
    Please help me.
    Thanks & Regards
    Ravi Kumar

    This is the 10gR2 documentation on the CATALOG command :
    http://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcmsynta011.htm#sthref230
    You must be specific when stating the version you are running.  Commands may be limited or unavailable in older versions versus more recent versions of Oracle.
    Hemant K Chitale

  • RMAN backup in ORACLE RAC database

    Hi there,
    We are using RMAN backup strategy for taking backups from one node(eg.node1).Database is RAC database, version 9.2.3. and OS is Solaris 5.10.
    this is the configuration which we use, as follows:
    Connecting to Prod.Database using catalog database.
    rman catalog=rman/rman@CATDB target=sys/oracle@PRODDB(node 2).
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 30;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rmanback/_%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/CMWPROD_%s.bak';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK CONNECT 'SYS/oracle@PRODDB(node2)';
    CONFIGURE MAXSETSIZE TO 7 G;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/9.2.3/dbs/snapcf_CMWPROD1.f';
    As the above config shows RMAN is connecting to PROD DB (node 2). But we need to take backups (datafiles and as well as archive logs) from two nodes (i.e from node 1 and as well as node 2).
    Is there any possibility for taking backups from two nodes?
    Thanks,
    Balu.

    Duplicate thread
    RMAN configuration in ORACLE RAC database
    Khurram                                                                                                                                                                                                                               

  • Configuring rman backup for oracle on rac cluster

    Hi GURUS
    We are buying installation oracle rac on a two node server. We do backup our db using rman and TSM .
    Does anyone have any guidance on using TSM scheduled TDP backups with
    Oracle RAC multi-node?
    More to that, is it possible to have multiple archive log destination?
    Any advice would be appreciated.
    David

    While you can have archives going to different destinations, on different nodes, it is not advisable because if these destinations are not reachable in case of a node/system failure, you have no access to these archive logs.
    Actually for easy accesibility it would be better to place the archive logs of all instnaces on shared storage. If you are using ASM and using a FRA disk group, you may want to have your archives go into this location.
    NFS mounting filesystems could be slower and may have certain perforamance implications.

  • RMAN Backup in ORacle Apps R12

    Hi All,
    We have oracle Apps 12.0.4 installed.Ours is a small application and we are in implementation stage.
    As of now, we are taking regular backup of db (datafiles) using RMAN by scheduled cron jobs.
    I am looking for options to schedule the backups through enterprise manager in oracle apps.
    Please provide me some pointers for the same.
    Our db is NON RAC and also single databse .. so i am not looking for grid control installation?
    What all needs to be installed to monitor and schedule backups through enterprise manager.
    Thanks,
    Kishore

    Hi,
    You can use the backup options present on the DB console. There are two options present on the DB console that is Oracle Suggested Backup and Customized Backup;
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/backrest003.htm#i1006298
    You can select the type of backup based on your needs.
    Saad

  • RMAN backup and Oracle RAC

    Hello,
    I am newbie with Oracle RAC 11g.
    So, I do the following steps to configure RMAN to back up the Oracle RAC:
    - Create a tablespace to RMAN User;
    - Create the user rman;
    - Connect to catalog (the databsae RAC itself);
    - Register the database;
    - Create the "complete_backup" script on catalog.
    So, when I enter on Enterprise Manager, I can see
    the "Availability" tab and the "Recovery Catalog Settings" link.
    I setup the user rman that I've created with the host RAC1.
    Is this really necessary on EM? The "Backup Setting" on EM
    is equals to rman (database user) catalog?
    When I go to "Schedule backup", I want to use the "complete_backup" script
    that I've created. What the best way to schedule this script
    to run each sunday, for example?
    Thank you.

    Hi,
    To perfom a test you can create a new single database (RCVCAT) in one of the hosts that you have.
    Create a database without any option with and use minimum of memory (don't use memory_target) set pga (50M) and sga(400M).
    Create a user RMAN; with Grant connect,resource,recovery_catalog_owner.
    Tablespace RCVCAT;
    With RMAN connect on RCVCAT and create your catalog.
    Levi Pereira

  • RMAN backup Oracle 9ir2. Linux RedHat

    Dear all,
    Where can I find information i.e. how to do RMAN backup in Oracle 91r2 under Linux RedHat environment.
    Thanks in advance
    SL

    See Oracle9i Recovery Manager User's Guide

  • Rman backup 11g rel2

    Hello Guys
    I was testing rman backup on oracle 11g rel2 , logging time for backup using rman as in 2 ways 1) full database backup
    2)full database backup /parallel feature say "section size 200M" in script
    i was expecting due to new 11g feature option 2 should complete faster ,but its reverse without using this feature
    its running more fast (completing by 4-5 minutes less time)
    I also tried taking backup of 1 datafile or 1 tablespace using both the option and also placing backupsets
    on different folders/mountpoints ,but result is same
    if you had worked on this feature ,please give details what is benefit of using this feature,i can see disadvantage here
    Thanks

    804719 wrote:
    so without section size this operation is not actually parallelYes, it's not parallel for datafile, but it parallel for the entire job.
    You can analyze the backup log. It should contains the records about opening several channels simultaneously, for instance:
    Starting backup at 26/04/12 23:14:19
    channel tape1: starting full datafile backup set
    channel tape1: specifying datafile(s) in backup set
    input datafile file number=00049 name=/home/oracle/oradata/...
    channel tape1: starting piece 1 at 26/04/12 23:14:21
    channel tape2: starting full datafile backup set
    channel tape2: specifying datafile(s) in backup set
    input datafile file number=00050 name=/home/oracle/oradata/...
    channel tape2: starting piece 1 at 26/04/12 23:14:22
    channel tape3: starting full datafile backup set
    channel tape3: specifying datafile(s) in backup set
    All within 3 seconds, and working in parallel...

  • RMAN backup fails using OEM with no output error

    I am trying to do a weekly automatic full backup of a database in noarchivelog mode using RMAN in Enterprise Manager. Every time I submit the backup job (even if I try to do an immediate backup) the job fails almost immediately. When I Iook at the job output for the failed attempt, it says that there is no output for the job. I believe I have all of the preferred credentials and priveleges correct. Does anyone have any ideas as to what the problem could be or maybe where I can find an error log for rman to get a better explanation of the error?
    Thanks

    please check in metalink.....
    you find useful informations here:
    RMAN backup using Oracle Secure Backup fails with ORA-19511 (sbt__rpc_connect)
    Doc ID: Note:396046.1
    Best Regards,
    Shishir Tekade.
    My Blog: http://shishirtekade.blogspot.com

  • How to stop RMAN backup in solaris platform.

    Dear All;
    How to stop RMAN backup in solaris platform.
    Ranjan

    788442 wrote:
    How to stop RMAN backup from oracle end.
    To stop Rman backup you have to identify rman session as below
    select * from v$session
    where MODULE like 'rman%'or you can use v$rman_status identify sid and serial then kill this session as
    alter system kill session '<sid>,<serial>' immediate;

  • Is it possible to take RMAN Backup

    Can anyone tell me whether we can take Rman Backup in Oracle 10g Express Editon.
    Thanks in advance.

    hi,
    Thanks for the reply.
    I tried to take a rman backup and got this error:
    Starting backup at 14-APR-08
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 04/14/2008 17:19:13
    RMAN-03014: implicit resync of recovery catalog failed
    RMAN-06171: not connected to target database
    When tried to connect to target database this is what i got.
    RMAN> connect target /;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-01031: insufficient privileges
    Please help. Thanks in advance.

  • RMAN BACKUP ERROR in TAPE

    Dear Friends,
    I am taking a RMAN BACKUP of ORACLE 9i with AIX4.3 with TAPE DRIVE
    When i execute the script
    RMAN> RUN{
    allocate channel c1 type 'SBT_TAPE';
    backup tablespace users;
    It gets struckup for more than two hours it didn't prompt any errors.
    allocated channel: c1
    channel c1: sid=13 devtype=SBT_TAPE
    channel c1: MMS Version 2.2.0.1
    Starting backup at 11-APR-02
    channel c1: starting full datafile backupset
    channel c1: specifying datafile(s) in backupset
    input datafile fno=00007 name=/gloqm/oradata/ORA9011/users01.dbf
    channel c1: starting piece 1 at 11-APR-02
    LSM was intalled, Is it right to mention the tape is 'SBT_TAPE' or i will have to mention something different.
    Could any one help
    Thanks in Advance
    gandhi

    For RMAN topics, please use: {forum:id=74}.

  • Setting up new dbname/sid while creating oracle db from rman backups in 11g

    Hi all,
    I have rman backups and need to create another database from rman backups with different name... but it is unsuccessful..
    created instance with new db...
    running create new db connecting rman auxiliary sys/password@newdb
    run {
    SET NEWNAME FOR DATAFILE 1 TO 'F:\app\HOME\oradata\clonedb1\SYSTEM01.DBF';
    SET NEWNAME FOR DATAFILE 2 TO 'F:\app\HOME\oradata\clonedb1\SYSAUX01.DBF';
    SET NEWNAME FOR DATAFILE 3 TO 'F:\app\HOME\oradata\clonedb1\UNDOTBS01.DBF';
    SET NEWNAME FOR DATAFILE 4 TO 'F:\app\HOME\oradata\clonedb1\USERS01.DBF';
    SET NEWNAME FOR DATAFILE 5 TO 'F:\app\HOME\oradata\clonedb1\EXAMPLE01.DBF';
    SET NEWNAME FOR TEMPFILE 1 TO 'F:\app\HOME\oradata\clonedb1\TEMP01.DBF';
    DUPLICATE DATABASE TO clonedb
    pfile 'D:\TESTDELETE\initclonedb1.ora'
    BACKUP LOCATION 'F:\app\HOME\flash_recovery_area\orcl\'
    LOGFILE GROUP 1 ('F:\APP\HOME\ORADATA\ORCL\REDO01.LOG') SIZE 60M REUSE,
    GROUP 2 ('F:\APP\HOME\ORADATA\ORCL\REDO02.LOG.rdo') SIZE 60M REUSE,
    GROUP 3 ('F:\APP\HOME\ORADATA\ORCL\REDO03.LOG') SIZE 60M REUSE;
    Error it shown is in rman backup creation is as follows
    <part>>
    sql statement: alter system set db_name = ''ORCL'' comment= ''Modified by RMAN
    duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area 640286720 bytes
    Fixed Size 1376492 bytes
    Variable Size 314576660 bytes
    Database Buffers 318767104 bytes
    Redo Buffers 5566464 bytes
    Starting restore at 20-DEC-11
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=133 device type=DISK
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
    output file name=F:\APP\HOME\ORADATA\CLONEDB1\CONTROL01.CTL
    output file name=F:\APP\HOME\FLASH_RECOVERY_AREA\CLONEDB1\CONTROL02.CTL
    Finished restore at 20-DEC-11
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/20/2011 07:07:11
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01102: cannot mount databa
    se in EXCLUSIVE mode
    RMAN> EXIT
    how can i prevent rman setting db_name=orcl which is already exists in the db.. i need to create db from rman backups with different dbname...
    whould someone help me out, how can i create database from another database rman backups with different dbname/sid on same host..
    My pfile has new db_name , but while db creation rman setting to db_name to source dbname.. it should be new db name that i want create with new db name...
    is there any RMAN command to specify new DB name it should set while running
    sql statement: alter system set db_name = newdbname -- as part rman script execution...
    it appears to be i should not touch the soruce db.. i have access to only source db rman backups and need to create another db with different dbname/sid.. please do help...

    When you performing RMAN duplicate why you making your script so complicated?
    Your instance name and DB name can be different, But what is the contents in your pfile "D:\TESTDELETE\initclonedb1.ora" ? please do post
    Have you started any other services related to ORACLE? check in start --> run --> services.msc any other active oracles services, Make sure you have clonedb1.
    Startup in nomount
    check the connectivity to target server.
    SET NEWNAME FOR TEMPFILE 1 TO 'F:\app\HOME\oradata\clonedb1\TEMP01.DBF';Why you mentioning SET NEWNAME FOR DATAFILE ? You have option of db_file_name_convert/log_file_name_convert in case if your file system different in Target & auxiliary.
    BACKUP LOCATION 'F:\app\HOME\flash_recovery_area\orcl\'When you have backup in same location why you are mentioning this clause?
    First run duplicate from auxiliary server as
    rman target sys/*****@prod auxiliary /
    RMAN> duplicate target database to "db_name";
    Am not sure what you are trying to do. is it 11gR1 or 11gR2?
    You have option of duplicate from active database without having backup also..
    here some links please check it.
    http://docs.oracle.com/cd/E14072_01/backup.112/e10642/rcmdupdb.htm#BGBFDJHB
    RMAN 11GR2 : DUPLICATE WITHOUT CONNECTING TO TARGET DATABASE [ID 874352.1]
    knowledgespring      
         Newbie
    Handle:      knowledgespring
    Status Level:      Newbie (10)
    Registered:      Dec 26, 2007
    Total Posts:      243
    Total Questions:      77 (75 unresolved)
    So sad that forum was able to help only in two answers out of your 77 questions :(
    Edited by: CKPT on Dec 21, 2011 5:12 PM

Maybe you are looking for