How to clone of pre-production to the production database in Oracle 10g?

I'm a newbie DBA and gave me this task to clone a primary DB environment preprodcution of Production environment. I tried Googling, but all other positions have different and confusing steps. Can someone help me get the exact steps please?

sweetritz wrote:

Hi EdStevens,

I'm a newbie Oracle DBA. Yes prod server has a database running on it and I want to clone a DB of preproduction on the Prod as an extra DB server (fusion has not any data with any DB existing).

then I would say rman DUPLICATE DATABASE is your best choice.  And it does not require the Pb of pre-production to be arrested, only that you take backups rman (Yes, online backups work as long as you have the necessary archivelog files.)

Tags: Database

Similar Questions

  • How to find the site to download oracle 10g

    Hello

    I need to find the site to download oracle 10g. Please, help me.

    Respect of
    Natalia

    10g is no longer available for download - you need to open an SR with Support and they will provide a download link, assuming you paid for extended support.

    PL see the previous discussions on this topic

    year https://forums.Oracle.com/forums/Search.jspa?threadID=&q=10g+and+Download&objid=C18&DateRange=This & userID = & numResults = 15

    HTH
    Srini

  • How to clone a virtual machine with the drive?

    Hello

    Previously, I used VMware Workstation and has a mastery of "clone". Now I use the reader and I would like to clone my current VM and there is no special orders. Simply copy the directory would probably not there a lot of information such as DNS name, etc. that are likely to be changed. Is it possible to clone a virtual machine with player or do I Workstation?

    Many thanks in advance,

    Nicolas

    In my computer a full clone is nothing more then is not a copy that was made unique in the process and the players of VMware capacity but there is nothing stopping you from manually making a copy and then manually by making the changes to make it unique.

  • How to create the new database in oracle 11g

    Hello
    I m new in oracle 11g, I downloaded oracle 11g and with the help of the guide of the developer-2 days, I learned all the SQL queries, but I worked with human resources database.
    Now, I want to create my own database with the required tables. Can anyone help me how I can make my own database in oracle 11g.

    Thank you
    Manna

    870692 wrote:
    Hello
    I m new in oracle 11g, I downloaded oracle 11g and with the help of the guide of the developer-2 days, I learned all the SQL queries, but I worked with human resources database.
    Now, I want to create my own database with the required tables. Can anyone help me how I can make my own database in oracle 11g.

    Thank you
    Manna

    Be sure to distinguish between the terms and the database schema. Other products, make them bad. It would be a HR diagram (or a user, which is the same in Oracle). If you do not need to use the database Wizard, unless you are working with a new host with no database.

    A simple way would be to get the DDL to create the HR schema and modify it for your own. It can be extracted from your database in several ways, or you can copy the hr_cre.sql to your own script and change. The two ways are educational, and you can google for instructions.

  • How to use refcursor type returned from the remote database in the local database

    Can anyone say is how they use the refcursor use type returned from remote database in the local database using dblinks.

    See MOS ID 750126.1 doc ORA-24338 when trying to return a Refcursor over a database link.

  • How to reconnect the new database with oracle and oracle mid infrastructure

    course oracle environment;
    Database; 10gr 2 (10.2.0.1) old-SID: gtxprod host: 10.30.100.199
    new database; 10gr 2 (10.2.0.1) - SID: gtxprod2 host: 10.40.110.199
    application sever. 10.2.0.1 (oracle mid level.) and oracle infra SSO, forms, reports, portal.

    problem;
    I try to reconnect from the application to the new database server. I do not know how?

    I went to /opt/oracle/10ggtxinf/network/admin/tnsnames.ora
    # tnsnames.ora Network Configuration File: /opt/oracle/10gasr2inf/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    
    asdb.gtx.com =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = isdev.gtx.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME =asdb.gtx.com)
        )
      )
    
    
    gtxprod.gtx.com =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = gtxprod.gtx.com)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SID = gtxprod)
        )
      )
    
    gtxprod2.gtx.com =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = gtxprod2.gtx.com)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SID = gtxprod2)
        )
      )
    In application of the oracle infra. How Asian Bank of development of database instance can connected with the new data base gtxprod2?

    In Forms Server, based on a Web site, if go to Forms Server, I can see tns.ora but I can't see anything to update to the new database.

    you could give me information how understand this problem?

    Thank you very much in advance

    Hi Wen,

    As you have created a new database 'gtxprod2' so the Stanley database should be in place
    cmd--> lsnrctl status
    That you have even made changes to 10ggtxinf/network/admin/tnsnames.ora
    do the same entry in the oraclebi/network/admin/tnsname.ora file

    You can check if your new entry is rite of
    tnsping gtxprod2 (>)
    Now you ask how the application will come to know what database to point to
    Go to oracle AS
    As using your forms and reports go to oraclebi/forms/server/formsweb.cfg

    At the end of the file, there might be a few entries
    for example
    [test]
    envFile = test.env
    Form = LOGIN_ENT.fmx
    LookAndFeel = oracle
    separateFrame = true
    UserID=nrs_fd/nrs_fd@fixdep
    SplashScreen = NO
    logo = NO
    Background = No.
    color = auto
    make = yes
    Archive = frmall.jar
    archive_jini = frmall_jinit.jar, frmwebutil.jar, Jacob.jar, icons.jar
    ImageBase codebase =
    term = frmpcweb.res
    baseHTML = webutilbase.htm
    baseHTMLjinitiator = webutiljini.htm
    baseHTMLjpi = webutiljpi.htm
    WebUtilArchive = frmwebutil.jar, jacob.jar

    "userid=nrs_fd/nrs_fd@fixdep" IE (username) / (password) @tnsname
    the following entry specifies what database, the application must point to

    If your using a war file, you must create a data source and as datasource, you must specify the tnsname input

    Concerning
    Fabian

  • How can I access apex_admin by using the configured services to oracle rest glassfish

    am new to APEX so please forgive my ignorance.

    I'm trying to access apex_admin to start to create workspaces. but can't seem to get the screen to apex_admin

    try to access using

    ADR / http://hostname:8080 / apex_admin

    We get the message that installation has not yet been configured...

    Hi Celtpinoy,

    It is a popular problem. Him more often cause one or the ORDS.war is not the same as the settings of the current database using the

    > java-jar ords.war of installation

    OR the configuration directory is not indicated on the right directory using

    > java-jar ords.war configdir

    I suggest that check it out you.

    Kind regards

    Benjamin.

  • How can I include a link to the remote database as a variable in pl/sql?

    I am writing a new procedure for the parcel and it can be run on different environments. Excerpts from the main query in a table via a database link. I created variables to identify the owner of the current scheme, the owner of the remote table and the database link remote. The problem I have is to put this together in the main query for example.

    PROCEDURE check_table
    AS

    v_schema_owner varchar2 (30);
    v_database_link_owner varchar2 (30);
    v_database_link_value varchar2 (128);
    v_table varchar2 (500);


    BEGIN

    -Download the current schema owner-
    V_schema_owner INTO SELECT username
    Of user_users;

    -The owner of the link database download-
    Master_owner SELECT INTO v_database_link_owner
    OF dba_mview_refresh_times
    WHERE name = 'TEST_MV '.
    AND the owner = v_schema_owner;

    -Download database - link chain
    Substr(master_link,2) SELECT INTO v_database_link_value
    OF dba_mviews
    WHERE mview_name = 'TEST_MV. '
    AND the owner = v_schema_owner;

    v_table: = v_database_link_owner |'. ' |' test_table@'|| v_database_link_value;


    INSERT INTO check_table
    SELECT trunc (sysdate) as check_date, 'Error of Test' as check_reason
    OF v_table-* this is where he fails to compile * -.
    WHERE texte_erreur like '% Test Failed ";

    COMMIT;

    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    NULL;

    END check_table;


    I get "table or view does not exist" on v_table. I tried to not have a variable v_table and set the string for the name of the table directly in the query, but it does not work. Only when I hardcode the owner of the table and the link doesn't it works but ideally I'd rather not have to do that.

    Does anyone have any suggestions?

    Thank you
    GB

    >
    INSERT INTO check_table
    SELECT trunc (sysdate) as check_date, 'Error of Test' as check_reason
    OF v_table-* this is where he fails to compile *.
    WHERE texte_erreur like '% Test Failed ";
    >

    Hi, you use an EXECUTE IMMEDIATE to execute dynamic sql code

    vSql := 'INSERT INTO check_table' ||
                    ' SELECT TRUNC(sysdate) as check_date, ''Test Error'' as check_reason'||
                       ' FROM '||v_table||
                          ' WHERE error_text like ''Test Failed%''';
    EXECUTE IMMEDIATE vSql;
    

    Check this too
    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14261/dynamic.htm#i14500
    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14261/dynamic.htm#CHDGJEGD

    Concerning
    johnxjean

  • How to operate the same instance of oracle 10g on another computer

    Hello all, sorry for my ignorance. I downloaded oracle 10g express edition on 2 computers but when I login using sql developer I get two different instances of oracle databases. This file should I change on one of the computers so that when I connect through sql developer im always on the same database. Is there is tns.ora of files that I have to do the same thing on my other machine? Any help would be appreciated.

    user633029 wrote:
    I downloaded oracle 10g express edition on 2 computers but when I login using sql developer I get two different instances of oracle databases. This file should I change on one of the computers so that when I connect through sql developer im always on the same database.

    Hello!

    I don't know I understand your condition?

    But, if so:

    You have 2 computers and the two you want to access a single Oracle database.

    If this fix then you should only on a single machine to install server XE and another machine THAT XE Client.

    After that, you have to copy the file tnsnames.ora to computer where XE server resides at according to the directory where client XE.

    HTH

  • clone of database with Oracle 10g RMAN

    content of Script memory:
    {
    clone of judgment;
    startup nomount clone;
    }
    execution of Script memory

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 2009-08-26 15:55:39
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06136: the auxiliary database ORACLE error: ORA-01013: user requested canc
    El of the current operation

    How to solve this error?

    Kushal

    Hi Kushal

    During the cloning process the rman session must be exclusively connected to the instance auxiliary (no other sessions are allowed).

    Kind regards

    Tycho

  • Connection to the remote database using Oracle 11 g Builder

    Hi all

    This could me stupid question, but I have installed Oracle Forms and reports 11g on Win 7 machine. I copied the file "tnsnames.ora' on the record ' ORACLE_HOME/Network/Admin". We use Oracle EBS R12 and I want to create a new report using 11 g.

    Using the report wizard after providing a simple query, we need to connect to the database. And even after the entry of TNS, I am getting error connecting to the database, following
    "REP-0501: the specified database can be connected.
    "ORA-12154: TNS: could not resolve the connect identifier specified.

    I am able to connect to the same database using the Report Builder (10.1.2.0). Is there another place where I need to set the TNS entry? How can I solve this error? Please guide...

    Kind regards
    Priyanka

    Hello

    In forms and reports 11g, default defined in tnsnames.ora is: ORACLE_INSTANCE\config.
    Please note that the ORACLE_INSTANCE is not the same as ORACLE_HOME.
    Example:
    ORACLE_HOME = D:\Oracle\Middleware\as_1
    ORACLE_INSTANCE = D:\Oracle\Middleware\instances\asinst_1

    If you set the admin TNS_ADMIN variable in the registry, you can point to a new location for tnsnames.ora

    Kind regards
    Alex

    If someone useful or appropriate please mark accordingly.

  • connect the form builder to oracle 10g express?

    Hello

    How to connect the 10 form builder to oracle 10g express?

    Developer suite Home use Net Configuration Assistant to create an alias TNS (tnsnames.ora entry).

  • schedule the automatic start of oracle 10g R2 on RHEL5

    Hi master,

    I use oracle 10g R2 on RHEL 5. I want to program the automatic start of the oracle on linux start database.

    for that I have referefed the docs and plan its in the file/etc/rc3.d. but it does not work.

    It is written in the docs that this charger friub fron of process this file and start their beds according to their number.

    the file is as follows...

    #! / bin/sh
    #chkconfig: 346 99 10
    Description #: Oracle automatic start-stop script.
    #
    # Change the value of ORACLE_HOME to specify the right Oracle home
    # To your installation directory.

    ORACLE_HOME=/U01/app/Oracle/product/10.2.0/Db_1
    #
    # Change the value of the ORACLE of the connection of the
    owner of oracle # on your site.
    #
    ORACLE = oracle

    PATH = ${PATH}: $ORACLE_HOME/bin
    HOST = "hostname".
    Platform = 'uname '.
    export ORACLE_HOME PATH
    #
    If [!] "$2" = "ORA_DB"]; then
    If ['$PLATFORM' = "HP - UX"]; then
    Remsh $HOST-l $ORACLE n ' $0 $ 1 ORA_DB.
    output
    on the other
    rsh $HOST-l $ORACLE $0 $ 1 ORA_DB
    output
    FI
    FI
    #
    case $1 in
    'Start')
    $ORACLE_HOME/bin/dbstart $ORACLE_HOME
    ;;
    'stop')
    $ORACLE_HOME/bin/dbshut $ORACLE_HOME
    ;;
    *)
    echo "use: $0 {start |}". stop}.
    output
    ;;
    ESAC
    #
    output

    What should I look for?

    my listening service is also not automatically get started. I have to manually...

    any suggestion?

    Thanks and greetings
    VD

    Published by: vikrant dixit on December 23, 2008 21:58

    VD,
    This link willl helpp
    http://www.Oracle-base.com/articles/Linux/AutomatingDatabaseStartupAndShutdownOnLinux.php
    HTH
    Aman...

  • Take the backup of the user database using oracle forms 6i

    I need backup user database using oracle forms 6i. Is this possible?

    Yes.

    Try

    When press the button trigger

    DECLARE
        un                VARCHAR2(30);
        pw                VARCHAR2(30);
        db                VARCHAR2(30);
        con_str        VARCHAR2(100);
        --
        data_file    VARCHAR2(100);
        log_file    VARCHAR2(100);
        cmd_line    VARCHAR2(200);
        ALT NUMBER;
    BEGIN
        IF :CONTROL.file_name IS NULL THEN --- take a file location
            IF SHOW_ALERT('FILE_NAME') = ALERT_BUTTON1 THEN
                RAISE FORM_TRIGGER_FAILURE;
            END IF;
        END IF;
        --
        un    := GET_APPLICATION_PROPERTY(USERNAME);
        pw    := GET_APPLICATION_PROPERTY(PASSWORD);
        db    := GET_APPLICATION_PROPERTY(CONNECT_STRING);
        con_str    := un||'/'||pw||'@'||db;
        --
        data_file    := :CONTROL.file_name||'\'||un||
                                 TO_CHAR(SYSDATE, 'DDMMYYYY')||'.dmp';
    
        cmd_line    := 'exp userid='||con_str||' file='||data_file;
        HOST(cmd_line);
        --
    
        ALT:=SHOW_ALERT('MULTI_BACKUP');
        IF ALT=ALERT_BUTTON1 THEN
            RAISE FORM_TRIGGER_FAILURE;
        ELSE
            EXIT_FORM;
        END IF;
    
    END;
    
  • What is the reason for creating the directory database in oracle instead of oracle could use;

    Hi all

    I want to know why oracle gave the concept of directory as a database object while a file on the operating system can be accessed directly by this last full qualified name. as we use the directory object in outer table and expdp etc.

    655734 wrote:

    Hi all

    I want to know why oracle gave the concept of directory as a database object while a file on the operating system can be accessed directly by this last full qualified name. as we use the directory object in outer table and expdp etc.

    In addition to the above-mentioned security issues, there is the question of the independence of the OS.  By having the ability to refer to an alias that is not specific to the operating system, the application code doesn't have to worry about the physical (and so, os-dependent) mapping of a file.  Makes the code portable, which is one of the great features of Oracle vs everybody.

Maybe you are looking for

  • Satellite C660-1NF - HARD drive problem - I want if the guarantee

    Hello I'm trying to find my model of laptop on the support page, but it does not appear in any list.I bought the thing (+ PSC1LE-00400KGR +) in July 2011 at Media Markt. It was said at the time:"Toshiba warranty 2 years international workshop with sh

  • Epson Desktop HP 2050 printer does not install

    Recently, I had a virus on my laptop and had to get it reprogrammed. Well, now my printer (Epson HP Desktop 2050) will not be installed. I tried the cd of installation, troubleshooting, and nothing works. Any advice?

  • 1545 Dell Webcam Central no audio Solution

    I have a Dell 1545 running with Vista 64 and Dell Webcam Central for the web cam. I experienced a lot of problems with the web cam. The web cam would not work & then wouldn not audio. I would like to record a video & there is no sound. My microphone

  • BlackBerry smartphones needs DESPERATE HELP!

    My daughter for a year, got a hold of my phone today.  She erased ALL MY DATA.  Years of business information is gone!  My phone is locked and I expect she pushed too many buttons. It's not his fault, but he absolutely ruined my summer and will take

  • Windows 7 Premium Dreamspark through my University

    My University gave me Windows 7 through dreamspark, it was written in the EULA that I could install it on two computers. But now when I install on the second PC, it tells me that it is the valid product key. What to do now? This second PC is on anoth