Ebs r12 cloning using rman online backup

dear all,
             how are you guys? i have ebs r12  on multi node and i want to clone db tier and apps tier using rman online backup,can  anybody provide me the detail steps of cloning ebs(db tier and appstier ) using rman online backup and  directory structure on source and target database is also different.your help highly appreciated thanks in advance.
regards.

Hi,
You cannot use RMAN to clone the Apps tier of the EBS and you may use RMAN only on the DB tier. For a complete backup, as mentioned by Hemant K Chitale, you will have to use the rapid clone utility.
To perform a rapid clone using RMAN there are plenty of step by step instructions in google which may guide in addition to support.oracle.com, Let me google that for you
Thanks &
Best Regards,

Similar Messages

  • RMAN Restore using RMAN COLD Backup!!

    Hi All,
    I Need to restore a database using rman cold backup taken a month back.
    Can i use Duplicate database option until time/scn just like we do for hotbackup or is there any other procedure for cloning/refreshing the database using RMAN COLD BACKUP of source.
    Thanks & Regards,
    Pdev

    This may be used to clone db
    connect target sys/sys@<dba>
    connect catalog rman/rman@<dba>
    connect auxiliary sys/sys<new>
    run {
    set newname for datafile 1 to 'e:\oracle\oradata\giri\system01.dbf';
    set newname for datafile 2 to 'e:\oracle\oradata\giri\undotbs01.dbf';
    set newname for datafile 3 to 'e:\oracle\oradata\giri\users01.dbf';
    set newname for datafile 4 to 'e:\oracle\oradata\giri\indx01.dbf';
    set newname for datafile 5 to 'e:\oracle\oradata\giri\example01.dbf';
    allocate auxiliary channel dupdb1 type disk;
    set until sequence 2 thread 1;
    duplicate target database to dupdb
    logfile
    GROUP 1 ('e:\oracle\oradata\giri\redo01.log') SIZE 100k REUSE,
    GROUP 2 ('e:\oracle\oradata\giri\redo02.log') SIZE 100k REUSE;
    Message was edited by:
    Girishh

  • Cloning using rman backups?

    Is it possible to clone using RMAN backups?
    How do we do it . Please tell me the steps of configuring.

    Hi,
    Let's take the example to create the auxiliary (clone) database using the rman backup in same server.
    1)Building the auxiliary database directory structure
    a) datafile, control file, redo file location
    b) pfile,bdump,cdump,udump
    2) Create the pfile from spfile (if required) and use it for auxiliary database with appropriate modification
    3) Make all the necessary changes to your aux1 init.ora file
    control_files=….
    background_dump_dest=….
    user_dump_dest=…
    log_archive_dest_1=….
    db_name=‘aux1’
    instance_name=‘aux1’
    remote_login_passwordfile=exclusive
    4) Start aux1 instance in nomount mode
    ORACLE_SID=aux1
    export ORACLE_SID=aux1
    sqlplus /nolog
    sql>connect / as sysdba
    sql> startup nomount pfile=/test/initaux1.ora
    5)Configure the listener and tnsname.ora file for auxiliary database. Restart the listener.
    lsnrctl>stop
    lsnrctl>start
    listener.ora entry
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = AUX1)
    (ORACLE_HOME=/ORAHOME1/)
    (SID_NAME = AUX1)
    TNSNAMES.ORA ENTRY
    AUX1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = xxx) (PORT = 1521)
    (CONNECT_DATA =
    (SID = AUX1)
    (SERVER = DEDICATED)
    6) Connect to the target and auxiliary instance and run the duplicate command
    Rman>connect target /
    Rman>connect auxilary sys/password@aux1
    RMAN> connect target sys@prod
    target database Password:
    connected to target database: aaaa (DBID=4199802962)
    RMAN> connect auxiliary sys@aux1
    auxiliary database Password:
    connected to auxiliary database: aux1 (not mounted)
    RMAN> run
    2> {
    3> set newname for datafile 1 to 'C:\AUX1\SYSTEM01.DBF';
    4> set newname for datafile 2 to 'C:\AUX1\UNDOTBS01.DBF';
    5> set newname for datafile 3 to 'C:\AUX1\CWMLITE01.DBF';
    6> set newname for datafile 4 to 'C:\AUX1\DRSYS01.DBF';
    7> set newname for datafile 5 to 'C:\AUX1\EXAMPLE01.DBF';
    8> set newname for datafile 6 to 'C:\AUX1\INDX01.DBF';
    9> set newname for datafile 7 to 'C:\AUX1\TOOLS01.DBF';
    10> set newname for datafile 8 to 'C:\AUX1\USERS01.DBF';
    11> DUPLICATE TARGET DATABASE TO aux1
    12> LOGFILE
    13> GROUP 1 ('C:\aux1\redo01.log') size 100m reuse,
    14> GROUP 2 ('C:\aux1\redo02.log') size 100m reuse;
    15> }

  • Using rman to backup a remote database

    I am after a good guide or advice on how (what) to install and (how to) run Oracle RMAN
    to backup a remote Oracle database.
    RMAN must be installed and run on a Solaris (SunOS 5.8) box remote from the Solaris
    box (also SunOS 5.8) running the Oracle database but connected to it via a TCP/IP
    network.
    The Oracle Recovery Manager and Database version is 9.2.0.1.0.
    RMAN must perform the backup of the remote database over the network and store
    the backup on a disk local to the RMAN box.
    The backups may be full or incremental and may be "hot" backups taken while the
    Oracle database is open.
    The disk files are to be then backed up to tape using Veritas.
    What software do I need to install on the RMAN box ?
    What software do I need to install on the remote Oracle database box ?
    Thanks,
    Brett Morgan.

    writes to a NFS-mounted diskRman is writing to disk or tape (when is bundled (libraries needed) with some backup software for tapes such as Veritas). The disk device could be local, or mounted disk form other host or storage (over NFS as Werner mentioned, SMB and others).

  • Create new database using rman cold backup

    It oracle 10g database version 10.2.0.4
    I took the cold backup of the database using rman ( Database name TEST)
    1.RMAN> startup mount;
    2.RMAN> backup database include current controlfile;
    3.RMAN> alter database open;
    I aim to create the new database called DEMO using this backup
    Please let know the setps for creating new database
    Edited by: prajeevan on Jan 19, 2011 9:09 PM

    I took the cold backup of the database using rman ( Database name TEST)
    1.RMAN> startup mount;
    2.RMAN> backup database include current controlfile;
    3.RMAN> alter database open;
    I aim to create the new database called DEMO using this backup
    Please let know the setps for creating new databaseIf it is in archivelog mode you can use duplicate to refresh database DEMO from TEST..
    or after cold backup, go to mount ,
    create trace file of controlfile becuase you are chaning database name
    recreate the controlfile
    open database in resetlogs;
    check also http://blogs.oracle.com/AlejandroVargas/gems/RMANDUPDBPRACTICE.pdf

  • Apps Cloning using RMAN

    Hi,
    I am doing Apps 11i cloning with rapidclone.
    I have cloned the database using RMAN.
    As per the metalink note 230672.1 I have to run following script on DB node.
    perl adcfgclone.pl dbconfig <target context file>
    However I dont have the context file for the new instance.
    Should I copy the context file (for DB) from source instance , rename it and use it?
    If I run the adcfgclone.pl using the source instance context file (present in the target db node), it throws
    error for database connection.
    Platform - Oracle Ebusiness Suite 11.5.10 on Oracle enterprise Linux 4 and Oracle 9i database.
    Pls advice.
    Thanks,
    rane

    However I dont have the context file for the new instance.Did you run "perl adcfgclone.pl dbTechStack" before issuing "perl adcfgclone.pl dbconfig <target context file>"? This should create the context file for you.
    Should I copy the context file (for DB) from source instance , rename it and use it?No.
    If I run the adcfgclone.pl using the source instance context file (present in the target db node), it throws
    error for database connection.This is an expected behavior since the context file of the source node cannot be used on the target node.

  • Clonning using RMAN Cold Backup?

    Hi,
    I have a COLD RMAN backup in prod server and now i want to clone test db using this backup through RMAN. I have 2 question regarding this
    1) Where do i need to place the prod RMAN COLD backup files in test server?
    2) If i ran below command how RMAN will know where did i placed the backup in test server?
    In Test Server
    RMAN> duplicate target database to test;DB Version is : 10.2.0.4
    Thanks in advance

    thanks. Now it is unable to restore the datafiles from rman backup.Below steps i tried.
    [oracle@Test test1]$ rman target /
    Recovery Manager: Release 10.2.0.4.0 - Production on Tue Feb 21 08:58:46 2012
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount pfile='/u01/app/oracle/product/10.2.0/db_1/dbs/initprod2.ora';
    Oracle instance started
    Total System Global Area     603979776 bytes
    Fixed Size                     1268896 bytes
    Variable Size                163578720 bytes
    Database Buffers             436207616 bytes
    Redo Buffers                   2924544 bytes
    RMAN> restore controlfile from '/u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_08n3s02u_1_1.bak';
    Starting restore at 21-FEB-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:05
    output filename=/u01/app/oracle/product/10.2.0/oradata/test1/control01.ctl
    output filename=/u01/app/oracle/product/10.2.0/oradata/test1/control02.ctl
    output filename=/u01/app/oracle/product/10.2.0/oradata/test1/control03.ctl
    Finished restore at 21-FEB-12
    RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    RMAN> catalog start with '/u01/app/oracle/product/10.2.0/backup/test1';
    Starting implicit crosscheck backup at 21-FEB-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 3 objects
    Finished implicit crosscheck backup at 21-FEB-12
    Starting implicit crosscheck copy at 21-FEB-12
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 21-FEB-12
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    searching for all files that match the pattern /u01/app/oracle/product/10.2.0/backup/test1
    List of Files Unknown to the Database
    =====================================
    File Name: /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_07n3rvvq_1_1.bak
    File Name: /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_08n3s02u_1_1.bak
    Do you really want to catalog the above files (enter YES or NO)? yes
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_07n3rvvq_1_1.bak
    File Name: /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_08n3s02u_1_1.bak
    RMAN>
    RMAN> restore database;
    Starting restore at 21-FEB-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /u01/app/oracle/oradata/prod2/system.dbf
    restoring datafile 00002 to /u01/app/oracle/oradata/prod2/usr04.dbf
    restoring datafile 00003 to /u01/app/oracle/oradata/prod2/undo.dbf
    restoring datafile 00004 to /u01/app/oracle/oradata/prod2/sysaux.dbf
    restoring datafile 00005 to /u01/app/oracle/oradata/prod2/p1_01.dbf
    restoring datafile 00006 to /u01/app/oracle/oradata/prod2/p2_01.dbf
    channel ORA_DISK_1: reading from backup piece /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_07n3rvvq_1_1.bak
    ORA-19870: error reading backup piece /u01/app/oracle/product/10.2.0/backup/test1/21_RMAN_BACKUP_07n3rvvq_1_1.bak
    ORA-19504: failed to create file "/u01/app/oracle/oradata/prod2/system.dbf"
    ORA-27040: file create error, unable to create file
    Linux Error: 2: No such file or directory
    failover to previous backup
    creating datafile fno=1 name=/u01/app/oracle/oradata/prod2/system.dbf
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 02/21/2012 09:01:09
    ORA-01180: can not create datafile 1
    ORA-01110: data file 1: '/u01/app/oracle/oradata/prod2/system.dbf'

  • Has anyone used iDrive online backup?

    I've been using a combintation of Mozy and Dropbox for backup and syncing, respectively, and, after doing an exhaustive comparison of many of the alternative online backup services, I've decided that iDrive is the best online backuo alternative for me. It seems to have gotten fairly favorable reviews online and they offer the most competitve pricing (a very generous student discount). However, before I change services, I wondered if anyone has used iDrive and, if so, what their experiences have been. I've pretty much settled on iDrive and so other online backup services are not really an option at this point (and I've looked at many), unless iDrive is a complete dog.
    I am also considering using iDriveSync in place of Dropbox because it has all the features I desire and is much less expensive than Dropbox. Any impressions of iDriveSync would be appreciated as well. Thank you!

    I'm considering iDrive for two college students as well. Now that you have used iDrive for more than a year, are you still happy with your decision?

  • Cloning using RMAN on two different OS

    DB version:10gR2
    Can i clone DB running on AIX 5.3 using RMAN and recreate it in a Solaris (5.9) machine?

    I hope it is possible using transportable database concept for cross platfomr migrations.
    It is simple and fastest procedure.
    http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10gR2_PlatformMigrationTDB.pdf
    Anil Malkai

  • RMAN online backup with dbconsole.

    I want to run an online (hot) backup of a 10g enterprise edition database using dbconsole. There is no option for this on the web page that I can see. I thought I could trick the software by selecting 'whole backup' and then edit the RMAN script and enter the command 'backup database plus archivelog'. That command was documented as the way to run an onlne backup in the Oracle Press book 'Oracle Database 10g, RMAN Backup & Recovery'.
    But there was a message stating that the database would be brought down during the backup, obviously ignoring the command mentioned above.
    1. Can I perform a hot backup with dbconsole?
    2. If so, how?

    You can also review the following;
    OBE
    Performing Backups and Recovering Your Database
    Performing Backups
    http://www.oracle.com/technology/obe/10gr2_db_single/ha/rman/rman_otn.htm#t1
    Adith

  • Database cloning using RMAN using Oracle 11i

    Hi all,
    I am getting error while connecting to clone database after making necessary changes in initDUP.ora file. Any buddy help me out to resolve this problem. I am doing clonning first time.
    C:\Documents and Settings\sanjeevk>tnsping dup
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 25-JUN-2010 11:57:40
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = abc-117.abc
    .com)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = dup)))
    OK (50 msec)
    C:\Documents and Settings\sanjeevk>set ORACLE_SID=dup
    C:\Documents and Settings\sanjeevk>sqlplus "sys/****** as sysdba"
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jun 25 11:59:55 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name: / as sysdba
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Edited by: user13174327 on Jun 25, 2010 12:16 AM

    try to conenct to clone database from target database as sys by sqlplus 'sys/sys@CLONE as sysdba'
    make sure u have remote_login_password_file=exclusive in clone database pfile,,,,
    reload the listener,,, with replacing hostname with the ip address of the machine.....
    also take care of global_db_name ..
    i will post a sample of listener file it may work 4 u..
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/orasoft/10.2.0.4)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = rman_cat)
    (ORACLE_HOME = /oracle/orasoft/10.2.0.4)
    (SID_NAME = rman_cat)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.$$$.###.***)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    if u want proper SOP for duplicating database through RMAN .. post me ur mail id.I did that at last two days back.....
    Regards,
    Sisya....

  • Cloning using rman

    Hi,
    AIX 5.3
    DB 10.2.0.2
    The database is on mount it is showing on rman prompt but when i try it using sqlplus it says "Connected to an idle instance" whereas the database is on mount status.The same envrironment file is using on both of the prompt,
    Thanks

    Hi,
    Find below as required by you.
    $ ps -aef|grep -i pmon
    oracle 569348 1 0 12:11:42 - 0:00 ora_pmon_emgr
    oracle 692276 512216 0 17:07:31 pts/2 0:00 grep -i pmon
    $ echo $ORACLE_SID
    EMGR
    $ env |grep -i oracle_home
    ORACLE_HOME=/vol02/oraclestandby/10.2.0
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Sun Mar 28 17:08:27 2010
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    Connected to an idle instance.
    SQL>
    $ ls -ltr $ORACLE_HOME/dbs/orapwd$ORACLE_SID
    ls: 0653-341 The file /vol02/oraclestandby/10.2.0/dbs/orapwdEMGR does not exist.
    ----I did not create password file yet.
    Many Thanks

  • What to use for online backups.

    I currently run weekly backups with option 21 (Save all).
    Which brings all the subsystems and Sap down.
    What's the best way to run online weekly backups without bringing SAP down and ending al the subsystems.
    THanks
    Joe

    Hi Joe,
    I allways do a save-while active in my own CL save programs, and only very rare it does not find a sync point.
    Here is my save code:
                 SAVLIB LIB(R3PRDDATA)      +
                        DEV(TAP01)          +
                        VOL(*MOUNTED)       +
                        SEQNBR(*END)        +
                        ENDOPT(*LEAVE)      +
                        CLEAR(*ALL)         +
                        SAVACT(*SYNCLIB)    +
                        SAVACTWAIT(900)     +
                        ACCPTH(*YES)        +
                        DTACPR(*YES)        +
                        OUTPUT(*PRINT)
    Guarantee to work without expensive BRMS
    Good luck
    Paul Hoogendoorn

  • Less redo generates at the time of online backup using RMAN

    Hi,
    can someone eleborate that why less redo generates at the time of RMAN online backup in comparison of manual hotbackup.
    Thanks

    A manual hot backup (aka "OS backup" or "scripted backup") cannot handle fractured blocks. This happens when a backup command is copying out blocks from a datafile at the same time as DBWR is updating blocks. The Oracle Block Size (8KB) is generally a multiple of the OS Block size (512Bytes to 4KB or 8KB, depending on the filesystem / raw device and how the OS command copies blocks out). It is possible for DBWR to write 8KB and the OS backup utility to be concurrently reading the same Oracle block as, say, two different 4KB reads. The first half of the Oracle block may be read by one OS call and the second half by another OS call -- the two halves would be inconsistent with each other if Oracle were writing the database block at the same time.
    (Therefore a restore of such a backup would give you an inconsistent -- i.e. fractured -- block, which would be logically corrupt).
    In order to handle such issues, after a BEGING BACKUP is issued, for every first change to a database block, the whole block is written to the redo stream, not just the change vectors. (If the same database block is subsequently modified while in BACKUP mode, it is only the change vectors that have to be written to the redo stream). Once the END BACKUP is issued, the redo stream does not need to capture whole database blocks.
    If such a backup is restored, it still has fractured blocks. However, when applying the ArchiveLogs generated during the Backup, each such fractured block is "automagically repaired" because a whole image is restored from the ArchiveLog. (Subsequent changes are replayed as changes through the change vectors).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Backup procedure using RMAN for 11i Instance

    Hi,
    we have 11.5.10.2 instance
    Node 1 = Application Tier ( 11.5.10.2)
    Node 2 = DB Tier ( 9.2.0.7)
    as of now, we are taking daily cold backup of both instances.
    we want to implement RMAN online backup for DB and take cold backup every week end only.
    so, what are the best procedures for implementing RMAN for 11i Database.
    Please share your experience, if you have anybody implemented?
    which one you prefer in RMAN backup ( backupsets or copy option or backupsets with compressed option) interms of performance.. our db size is 60 GB only.
    we apply apps tier patches very rarely . so we want to take RMAN online backup for DB daily and take cold backup for entire apps and db in the week ends.

    Hi,
    This time, i am going to implement for Oracle 11i Database. thats why, i need you guys advice regarding 11i Database.Well, the same is applicable to 11i/R12 databases. You just need to configure RMAN the same way you configure it on any standalone database.
    If you have implemented any where RMAN, can you share, how you are taking RMAN backup? I can share the scripts we use for backup using RMAN. If you are interested, let me know and I shall send it by email.
    if we want to clone, are you cloning the TEST instance with RMAN backup or using cold backup.We use both, depends on the time frame of the cloning task and whether it is possible to use cold backup for cloning or not.
    Please have a look at the following notes, it should be helpful.
    Note: 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1
    Note: 760772.1 - Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=760772.1
    Note: 362473.1 - Cloning E-Business Suite Using Hot Backup for Minimal Downtime of Source Environment
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=362473.1
    Regards,
    Hussein

Maybe you are looking for

  • After OS clean install I can't get iTunes to recognize library on external drive

    I have a Mac Pro that had an SSD boot drive and a separate hard drive that contains my iTunes Library and Media files.  Because of problems with my boot drive I erased the SSD and did a clean install of Mavericks.  Now I can't get iTunes to recognize

  • Not able to create new users or groups

    hi all, We have configured multiple LDAPs by changing XML file. But now we are not able to create new users or groups.It is giving error saying that "Adapter is configured as read-only" Can anybody help me out in this problem. Thanking You, Amol.

  • Help with the desk clock application

    hi there,  our cell phone sleeps with nothing but a dark screen.  So instead of the dark black screen, I'd like to activate the desk clock so that I can always see the time without having to on the phone. Is it currently possible on the xperia Z1? Th

  • Controls[] Cluster Property slow to run

    Hi, I would like to register controls inside clusters for mouse events. Since there are a lot of controls to register, I want to do it programmatically and I created a VI that searches for control refereces inside cluster with recursion. The problem

  • Web Cam settings

    How do I adjust the settings for the built in web cam on my iMac. When I use it the colour is off and I want to adjust.