Imlement Clone Database

Hi everybody...
i am new to the oracle.
I got a Clone database with extension with ctl, dfb, dbc.
May i know how to attach the database into my oracle .
Clone was created in Oracle 10G R2 10.2.0.1 and Windows 2003
My System Configuration
OS : Windows 2003
Database : Oracle 10G R2 10.2.0.1
Service : orcl
If possible, please give me an step by step instruction to attach the database into the oracle.
Thanks in advance
Thanks and Regards,
Prema Selvam

A clone database is a specialized copy of a database that can be used for tablespace point-in-time recovery. When you perform tablespace point-in-time recovery, you mount the clone database and recover the tablespaces to the desired time, then export metadata from the clone to the primary database and copy the datafiles from the recovered tablespaces.
Cloning a database needs knowledge of understanding on how Oracle database works and how it validates file consistency, checkpoints, etc. If you are attempting to clone a production database to perform a PITR, I would suggest you to consult it with an experienced DBA.
If you are doing it for the purpose of learning and experimental basis, then start from scratch by reading on Oracle manuals/documents (Concepts) or even take up an Oracle course.
Oracle Database Concepts
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/toc.htm

Similar Messages

  • Is it possible to create a Clone database with the same name of source db ?

    Is it possible to create a Clone database with the same name of source db using RMAN ...
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....

    user11919409 wrote:
    Is it possible to create a Clone database with the same name of source db using RMAN ...
    yes
    >
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....yes
    Handle:     user11919409
    Status Level:     Newbie (10)
    Registered:     Dec 7, 2009
    Total Posts:     102
    Total Questions:     28 (22 unresolved)
    why do you waste time here when you rarely get any answers to your questions?

  • Export/import to clone database -- please advise

    Hi All,
    Need help especially from exports that are strong in export/import.
    can someone advise me how to use export/import to clone a database?
    I know how to clone database using cold backup and hot backup.
    But wish to know the full steps in using export/import to do cloning.
    I'm going to do a full export on my "TEST" database, drop the database, create a database and import using the full export.
    After doing a full database export, full=y. What are the steps to follow. Have a few doubts about it.
    1) export the database (full=y)
    2) drop the database
    3) re-create the database, will be using the same name "TEST".
    4) create the users (IDs created by DBA, eg: schemas), tablespace and datafiles. --> import doesn't do it right?
    5) do a full import (full=y). In this step, will i encounter any problems? As in understand that all the oracle-owned objects (example SYSTEM, SYS, AUX) are already in the newly created database, will import full=y cause any problems?
    6) do i have to re-create the roles, SYNONYMS and grant role,sys,obj privileges to IDs not created by oracle. (example schema owner)
    in short i would like to know what EXPORT will export and not export
    what IMPORT will import and not import.
    Please advise.

    Hi zetabouy,
    thanks for ur input, definately helpful for me.
    just to confirm. am i right to say that only a full database level (full=y) export/import will export/import out roles as well as public synonyms? because i have tried also exporting a user from the database, and imported that user into a different database, but public synonyms and roles were not imported.
    one more question:
    For example we are going to do port data from production to uat database using export and import for only the schema.
    After exporting from production with such syntax (owner=OWNER01),
    is is better to drop all objects beloging to the schema owner in UAT before importing it (touser=OWNER01, ignore=y) using the production dumpfile?
    I'm asking this question as I'm afraid that if we did not drop all the pl/sql objects in UAT database, the updated procedures/fuctions/triggers exported from the production database will not get imported to the UAT database as UAT database have the same procedures/fuctions/triggers names (but not updated code) .
    will profiles be exported and imported too duing full database level exp/imp?
    please kindly advise.
    thanks
    Message was edited by:
    chew

  • Create database on RAC environment - DBCA hangs on clone database creation

    Hi, friends!
    I have two vm´s (vmware 2) with OEL 5 installed.
    I´ve installed OGI and database software sucessfully. So, my crs stack is working fine in both two nodes.
    However, when i use DBCA to create a database in this RAC environment, it hangs when it gets on "clone database creation", about 52% of the progress bar.
    My DBCA logs don´t point any error out. It just hangs on..
    I wait about 4 hours and it doesn´t move on.
    I searched and found many cases like that, including here in OTN. But it seems nobody could find a resolution to this issue.
    Is there any bug about OEL 5 and database 11gR2??
    More details:
    I apllied the patch "p8670579_112010_LINUX" on both OGI installation (before root.sh) and databae software install (also before root.sh).
    Everything worked fine.
    Sorry for the grammar errors.

    you can trace dbca, and you can found witch step is occurs problem.
    can you paste here last 15-20 sentence of dbca trace file?
    Mahir

  • Stuck at "Clone database creation in progress...."

    Anyone could please tell me why?
    I've tried to install Oracle9i on Solaris8...by its Default Configuation via ./runInstaller (GUI)
    I just fill DB name....
    ,but now I stuck at "Creating and starting Oracle instance"(that is,Clone database creation in progress,50%)

    Hi,
    have u follow all required steps before starting the installation?
    Takes help from tahiti.oracle.com site.
    if u r not getting any sucess then restart the installation and this time install it without creating the database.(choose software only option).
    after completing the installation ,create the database by dbca tool and choose custom option.
    Thanks
    Kuljeet

  • "clone database creation in progress" hangs

    I am attempting to install Oracle 9i personal on an XP machine. When the install gets to "clone database creation in progress, it hangs. I cannot successfully stop that part of the install. I have to click the close button at the top right of the window to stop the install. I found the installActions.log in which I found the following:
    Unable to read C:\Oracle\Inventory/Contents/OracleHomesList.ser. Some inventory information may be lost.Unable to read C:\Oracle\Inventory/Contents/LibsList.ser. Some inventory information may be lost.
    The installer version is 2.0.1.6.0
    and
    # Not all the dependencies for the component Oracle Starter Database 9.0.1.0.1 are found. Missing Component oracle.rdbms.seeddb.compoltp 9.0.1.0.1.
    # Not all the dependencies for the component Oracle Starter Database 9.0.1.0.1 are found. Missing Component oracle.rdbms.seeddb.compdss 9.0.1.0.1.
    Does this tell me anything useful? Can anyone give any advice?

    Hi, I am new to the Oracle Database. I had recently installed Oracle 9i (9.2.0) on Redhat 9 a couple times and everytime the installation hung at the "clone database creation in progress (46%)" stage. I had also tried to install 9i with software only then use "dbca" to create database but still hung at the exact same stage. Installation of my 9i was from the hard-disk; my PC has 256MB of RAM but I gave 2GB of space to swap. I had a successful installation of Oracle 9i (9.2.0) on SuSe Enterprise 9 and the DB was running smoothly. Can anyone please give me some idea on how to resolve this problem? Your help is greatly appreciated!

  • Install hangs in "Clone Database Creation"

    I try to install Oracle 11g on my computer. The installation pass all the checks and completes installing the files, then go to "Oracle Database COnfiguration Assistant".
    In the "Database Configuration Assistant" dialog, it displays the progress bar to 46% and said "clone database creation in progress", and then the whole progress hangs for 8 hours without any changes. So I think the installer is dead.
    I shutdown the installer and computer. Then restart. Then stop all the Oracle services, then call the deinstall to deinstall everything, remove all the registry entries and installed files.
    I then restart computer and reinstall Oracle, but the installation hangs on the same progress again. I repeat this for several times. But always cannot complete the installation.
    I think maybe there are some problems in cloning the database, so I check the log file, which is appended in this article. One problem is that the creating time of the log is about 8 am, but when I wait to 16 pm, the progress is still hangs and the creating/updating time of the log file is still 8 am, means Oracle does not update for about 8 hours.
    The computer environment: Lenovo T500 laptop with WIndows XP(SP3) installed.
    Log file:
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SP2-0640: Not connected
    Database closed.
    SP2-0640: Not connected
    Database dismounted.
    ORA-28056: Writing audit records to Windows Event Log failed
    OSD-792246492: Message 792246492 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) ??????????????????
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    ERROR:
    ORA-28056: Writing audit records to Windows Event Log failed
    OSD-216442576: Message 216442576 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) ?????????????????? ORA-28056: Writing audit records to
    Windows Event Log failed
    OSD-216442576: Message 216442576 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) ??????????????????
    specify password for SYS as parameter 1:
    specify password for HR as parameter 2:
    specify password for OE as parameter 3:
    specify password for PM as parameter 4:
    specify password for IX as parameter 5:
    specify password for SH as parameter 6:
    specify password for BI as parameter 7:
    specify INPUT metadata import file as parameter 8:
    specify INPUT database backup file for tablespace EXAMPLE as parameter 9:
    specify OUTPUT database file for tablespace EXAMPLE as parameter 10:
    specify OUTPUT log directory as parameter 11:
    Sample Schemas are being plugged in ...
    ERROR:
    ORA-28056: Writing audit records to Windows Event Log failed
    OSD-216442576: Message 216442576 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) ?????????????????? ORA-28056: Writing audit records to
    Windows Event Log failed
    OSD-216442576: Message 216442576 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) ??????????????????
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    Edited by: 1006616 on 2013-5-18 下午3:08

    1006616 wrote:
    The event log problem is not fatal. It will popup a warning said cannot write into the event log, and I click "Ignore" to continue. But the installation still hangs at 46%. I try to purge the event log, and try again. The install will still hangs.
    ORA-28056: Writing audit records to Windows Event Log failed
    you are entitled to your opinion, regardless of how misguided it may be.
    You don't have to convince me, about your reality.
    If you want Oracle to install correctly, you need to make sure that NO errors get thrown.
    Only you can fix what is wrong on your system.

  • Oracle 11g Install hangs when "creating clon database"

    hi, i'm new with all this stuff, i'm trying to install oracle 11g on a windows 2003 standard edition and the installation hangs in this point:
    http://img233.imageshack.us/img233/1458/installni7.jpg
    it's almost an hour and it's stuck in 45% when trying to create clon database in "Creating and starting oracle instance".
    I checked the log file but it says nothing weird, just that everything went well and a "restore" was made.
    what can i do?
    thanks!!!

    If someone still needs an answer to this:
    I had a similar problem with 10g. If you use certain special characters in the password for the database during its creation, some script will hang forever at 45% of the database creation. Just use a plain password without special characters. At the end of the database creation you can change all passwords. At that stage you can use special characters without any problem.
    I don't know if this is the same in 11g, but it sounds very similar.
    JD

  • Steps to clone database in other server with restore daily

    Hi,
    I think i know what is the steps but need a guru that give me the ok.
    I have been asked to perform a clone database (11.2.0.3 with ASM) in another server. The original database (call PROD) has full backup everyday that it automatically (with crontab and a script i guess) restore the second database. The problem i see its that the original database is a RAC (2 nodes) but the second database is standalone (call TEST)
    I think the steps are:
    1) create a standalone database in second server with same number of diskgroups and same directories
    2) copy full backup to TEST server.
    3) duplicate with rman:
    connect auxiliary sys/password@TEST
    connect target /
    startup auxiliary nomount;
    run {
    allocate auxiliary channel ch1 type disk;
    duplicate target database to 'TEST' nofilenamecheck;
    release channel ch1;
    4) copy PFILE from PROD and modify (like standalone database) at TEST
    5) startup nomount; --test database
    6) restore controlfile from '< backup piece name of controlfile auto backup copied in step 2>'; --at test database
    7) alter database mount; --test database
    8) recover, restore from full backup and open database-->
    run {
    allocate channel d1 device type disk format ' <path of the copied backup in step 2 >';
    set until sequence < sequence> thread < thread# >;
    restore database;
    recover database;
    SQL> alter database open resetlogs;
    9) like its a backup that has 2 undo tablespaces, should i drop 1?:
    SQL> drop tablespace UNDOTBS2 including contents and datafiles;
    All this steps at first time, are they right?, to do it automatically in the script i should use 2) 5) 6) 7) 8)?
    -- like the databases names are different, should i have any problem when restore de controlfile? if yes, how to avoid it?
    Thanks in advance and sorry for the inconveniences
    Edited by: Me_101 on 30-jul-2012 5:46

    Me_101 wrote:
    Hi,
    I think i know what is the steps but need a guru that give me the ok.
    I have been asked to perform a clone database (11.2.0.3 with ASM) in another server. The original database (call PROD) has full backup everyday that it automatically (with crontab and a script i guess)Why guess? Can't you look at the crontab schedule and see for yourself?
    restore the second database. The problem i see its that the original database is a RAC (2 nodes) but the second database is standalone (call TEST)
    That should not be an issue. Even with RAC there is still only a single database to duplicate.
    I think the steps are:
    1) create a standalone database in second server with same number of diskgroups and same directories
    2) copy full backup to TEST server.
    3) duplicate with rman:
    connect auxiliary sys/password@TEST
    connect target /
    startup auxiliary nomount;
    run {
    allocate auxiliary channel ch1 type disk;
    duplicate target database to 'TEST' nofilenamecheck;
    release channel ch1;
    4) copy PFILE from PROD and modify (like standalone database) at TEST
    5) startup nomount; --test database
    6) restore controlfile from '< backup piece name of controlfile auto backup copied in step 2>'; --at test database
    7) alter database mount; --test database
    8) recover, restore from full backup and open database-->
    run {
    allocate channel d1 device type disk format ' <path of the copied backup in step 2 >';
    set until sequence < sequence> thread < thread# >;
    restore database;
    recover database;
    SQL> alter database open resetlogs;
    9) like its a backup that has 2 undo tablespaces, should i drop 1?:
    SQL> drop tablespace UNDOTBS2 including contents and datafiles;
    All this steps at first time, are they right?, to do it automatically in the script i should use 2) 5) 6) 7) 8)?
    -- like the databases names are different, should i have any problem when restore de controlfile? if yes, how to avoid it?
    Thanks in advance and sorry for the inconveniences
    Edited by: Me_101 on 30-jul-2012 5:46Take a look at the DUPLICATE DATABASE command in rman. Key is to connect to the production db as target, duplicate databse as auxiliary
    connect catalog rman/cat@rmcat
    connect target sys/pswd@proddb
    connect auxiliary /
    run {                        
    duplicate target database to NEWDBSID;
    }                                        where NEWDBSID is the name of the new database
    Put together what you think is the correct procedure and give it a shot. If you have specific problems, bring them to the forum.

  • Clone database with no archive log mode and downtime with new file structure

    We need to clone database with following business requirements :
    No downtime at all can be afford
    databases are in no archive log mode
    data-file locations need to be change to new mount points while cloning for space management factor
    Please suggest the best possible methods for same ?

    Can you post your version of oracle in 4 digits and OS for better understandig
    I dont think you can move the No Archive database to a new location without shutting down.
    You just want to move them to the new mount points is it?
    1. How big are your datafiles are?
    2.How do you backup this DB?
    When you move the datafilles then it becomes inconsistent and you need redo logs and probably archive logs to be there to make the file consistent or else it would be prompting for recovery. The chances are your redolog will be overwritten and hence you wont be able to recover.
    You need downtime.

  • Attach Clone Database

    Hi everybody...
    i am new to the oracle.
    I got a Clone database with extension with ctl, dfb, dbc.
    May i know how to attach the database into my oracle .
    Clone was created in Oracle 10G R2 10.2.0.1 and Windows 2003
    My System Configuration
    OS : Windows 2003
    Database : Oracle 10G R2 10.2.0.1
    Service : orcl
    If possible, please give me an step by step instruction to attach the database into the oracle.
    Thanks in advance
    Thanks and Regards,
    Prema Selvam

    Duplicate thread
    Attach Clone Database

  • Clone database...applying correct log

    Hi All,
    I am doing a clone from 10.2.0.3 to 11.1.0.6.0. I have successfully created the controlfile on the clone database, but when I give the RECOVER DATABASE USING BACKUP CONTROLFILE and try to apply the last log it tells me that it needs an earlier log. But before I moved over all the files to the clone db I did a log swtich and the current log at that time was the one that I was applying.
    SQL> recover database using backup controlfile;
    ORA-00279: change 78731479 generated at needed for thread 1
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /u01/oradata/FPRCEDGE/REDOG8L2_FPRCEDGE.LOG
    ORA-00326: log begins at change 84998990, need earlier change 78731479
    ORA-00334: archived log: '/u01/oradata/FPRCEDGE/REDOG8L2_FPRCEDGE.LOG'
    If I try to apply a log from SCN 78731479, then that would take me all the way back to November. This is weird. Why is it asking for a log with SCN of 78731479 or earlier when the last log at 84998990??
    Please advise.
    THanks

    To clone your 10g database to 11g, you should have shutdown the database and copied all the files and recreated them in the 11g database.
    Why to give using backup controlfile here?
    Or you should have exported the 10g database and imported them in 11g.(if exact physical structure not required.)

  • Why cannot find data movement for clone database option on OEM 11gr2

    Hi Expert,
    I have Oracle 11gr2 11.2.3 normal OEM install to monitor our RAC database. When i go click data movement option, i can't find the clone database option. Any idea why ? Thanks

    Hi;
    Similar question mention in below links:
    Clone Database: Select Destination in OEM 10g Database Control
    Also see:
    http://www.stanford.edu/dept/itss/docs/oracle/10g/em.101/b12016.pdf << part 6-6
    Regard
    Helios

  • Registering Clone database in Recovery catalog

    Can we able to register the clone database in recovery catalog database without changing dbid?
    I don't want to use dbid utility.
    Is that any parameter?
    Regards,
    Latha

    Well you can register it without changing any parameters in oracle 10.2
    That does not mean you should do it.
    I would have answered as follows:
    It is not a good idea to register a clone database in the same recovery catalog as the original database as the recovery catalog uses the dbid to identify the database and having two databases with the same dbid essentially corrupts the recovery catalog.
    If you change the dbid then it is perfectly okay to store the cloned database in the same recovery catalog.

  • The Clone Database process has not finished 12 hours later!

    On my WindowsXP system,I have made a Data Guard configuration with DGMGRL tool(without EM Grid Control). The current database is the primary database. I want to add a standby database. So, At first, I clone the current database using EM Clone Database tool. But the clone process has not finished after renning for 12 hours.
    What is the reason? Is it normal?

    To answer your question then. No, you do not need an SGA size >=800MB to clone the database. You may want to increase the SGA on the clone database to speed up the clone process if possible. 500MB isn't much memory for a database server. What is the size of the SGA on the source database?

Maybe you are looking for