Copying or Cloning a local Oracle Database on a remote Server

Hi,
I am NOT a database administrator. A requirement came up such that I had to take up the Database Administrator role. The problem is like this...
I have an oracle 10gR2 (Development) database on a Windows 2003 Server situated locally (in India). I need to copy or clone this Oracle Database to another Windows 2003 Server located remotely (in USA).
How do I do this? Well I have done some websearch and found out various methods like RMAN DUPLICATE and so on. I don't understand RMAN - I am not an Administrator.
Please do give me the proper step-by-step functions that I need to perform to solve my problem.
Thanks in advance for your help and support.
Renj
----------

http://www.akadia.com/services/ora_duplicate_database_rman.html
How to clone database, using rman file from a differnt location.
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1006672
DB Cloning using RMAN

Similar Messages

  • Connect to local oracle database at form design with Win98 or Me

    Hi all,
    Is there a possible way to connect to a local oracle database when you design a form in Win98 or Me?
    Thank you

    is ur database up and running?
    are u able to log on personal oracle database?
    if so u can log on from forms to database..

  • Oracle 11G Linux ( Oracle Database Gateway for SQL Server 11.1.0.6.0. )

    Hi,
    I am tring Gateway for SQL Server ..
    I want to Select Oracle Database Gateway for SQL Server 11.1.0.6.0 at the time of installation, but It is not coming in the Avaliable Components List..
    Is there any prerequisite for SQL server ?
    Any Help please ?

    Are you following the "Step Through the Oracle Universal Installer" section under
    http://download.oracle.com/docs/cd/B28359_01/gateways.111/b31043/sqlserver.htm#CCHEDECC
    ?

  • Migrate  oracle database to Microsoft sql server 2005

    Hi All,
    I have to migrate production oracle database to Microsoft sql server 2005. Below are the details:
    Oracle database version: 8.1.7.4
    Platform : Aix
    Kindly help me out

    Well, the traditional way would be to dump out all your data from Oracle tables as comma delimited flat files and import into SQL server. Plenty of examples online, like this is one by Mark Powell: http://www.jlcomp.demon.co.uk/faq/flatfile.html
    Or if you have the budget you could think about buying a data mapping tool like File-Aid
    As mentioned by another poster, you will still need to figure out how to replace all your triggers, stored procedures, etc on your new platform of course.

  • Upload image into mysql database residing on  remote server is not working?

    hello to all,
    i need ur help,we hav online site .
    i have to upload image(which can b from any pc) into mysql database residing on remote server of which we (don't hav actual path of that server).
    the solution i'm using is working correctly on local bt when transfer it to server it shows
    java.io.FileNotFoundException: (No such file or directory)
    i have used multipartRequest to access parameter of file type input.
    all variables and related packages r imported properly.no prblm in that.
    code is here....................................
    try {
    MultipartRequest multi = new MultipartRequest(request, ".", 500000 * 1024);
    File f = multi.getFile("uploadfile");
    out.println(f.getName());
    filename = f.getName();
    String type = multi.getContentType(f.getName());
    fis=new FileInputStream(filename);
    byte b[]=new byte[fis.available()];
    fis.read(b);
    fis.close();
    Blob blob=new SerialBlob(b);
    Class.forName("com.mysql.jdbc.Driver");
    Connection con=DriverManager.getConnection("jdbc:mysql://10.1.52.206:3306/test?user=root&password=delhi");
    String query="insert into uploads (FILENAME,BINARYFILE,) values (?,?)";
    pstmt=con.prepareStatement(query);
    pstmt.setString(1,filename);
    pstmt.setBlob(2,blob);
    int i=pstmt.executeUpdate();
    if(i>0)
    out.println("Image Stored in the Database");
    else
    out.println("Failed");
    } catch (Exception ex) {
    out.print("*******************"+ex);
    ex.printStackTrace();
    please suggest me the way to upload image to remote server** not on local server.
    its urgent.
    Edited by: JavaDevS on Jul 28, 2008 11:41 AM

    i need ur help,we hav online site .Please don't use these juvenile abbreviations. It's impolite when you're asking for assistance not to make the effort to spell out all of the words. Moreover in a forum with an international readership the use of standard English will reduce the possibility of confusion.
    I presume that your file upload is being placed in a different directory from that which you were expecting. I would suggest logging all paths (specifically filename) to see if this is an unexpected value.
    Please explain further what you mean by "local" - is this a stand-alone application, or merely running a copy of the server on your local machine and doing the transfer (via the browser) to that? Are there any other differences such as the browser used?

  • DW Procedures to connect to MS ACCESS database located on remote server

    I am confused about the procedures within Dreamweaver CS3 to connect to a MS ACCESS database on a remoter server.
    I am working through a tutorial book, "Dreamweaver 8 with ASP, Cold Fusion and PHP Training from the Source", but the instructions are unclear concerning the procedures to connect to a MS ACCESS database located on a remote server. 
    The book indicates that the server administration has to create the DSN for you and screen shots indicate that you will result in a list of DSNs to choose from when creating the connections .asp file.
    I went through the procedures to create a connections .asp and resulting in a connection without and tables (of course) because I do not initially have any connection information from my remote site.
    I have generated the required two lines of code as follows for my MS ACCESS database connection on my remote server:
    'Database connection info and provider
    strCon="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&_
    Server.MapPath("database\trans.mdb") & ";" &_
    "User ID=xxx;Password=xxxxx"
    The question that I have is:
    How does this connection coding relate to the "connections/conn_newland.asp" file that was create within the Dreamweaver screens?  How do I merge the ASP coding?  The file (/connections/conn_newland.asp) generated within Dreamweaver is as follows:
    <%
    'FileName="Connection_odbc_conn_dsn.htm"
    'Type="ADO"
    'DesignationType="ADO"
    'HTTP="true"
    'Catelog=" "
    'Schema
    Dim MM_conn_newland_STRING
    MM_conn_newland_STRINT = "dsn=newland;"
    %>
    Any advice would be appreciated.  I know that this is simple but debugging an error from an  ASP coding merge would be a "bear" to debug!

    I have not used MS Access myself (fortunately) but I believe it works much like the old, old way of achieving a multi-user database in FileMaker.
    That is, it is not a true client-server database but more a peer-to-peer database and that each peer opens the same database file which is available to multiple user via file sharing. Therefore as elikness said it should just be a matter of putting the files on your Lion Server and then sharing that folder/volume using SMB sharing.
    However one thing to be aware of, since MS Access is not a true client-server database I would imagine it uses record locking to manage simultaneous direct access to records in the same files. File or Record locking is something that has historically been a bit flakey when using Windows clients with a Mac file server (and probably vice versa).
    While I am not proposing it as a solution to consider seriously, it is worth you knowing that FileMaker Pro is a database system that is available for both Mac and Windows and depending on how you configure things can be considered to stretch from a configuration very similar to MS Access at the low end all the way to a high-end MS SQL Server style setup at the top end. See http://www.filemaker.com for details.
    There is also a a third-party tool available for migrating databases to or from FileMaker Pro and it can convert MS Access databases to FileMaker Pro see http://www.fmpromigrator.com/
    You could use FileMaker Pro just on Windows machines if you wish.

  • Copy data from mysql to oracle database help?

    Im an sql newb and trying to understand how I can automatically copy data from one dtabase to another systems database on the same server.
    We have two differnt applications, but both share customer information, but one is on a win server, while the other is on oracle.
    Each time a customer contacts us via online chat (win server, mysql), we want to copy their entire chat transcript into our CRM's (oracle) customer account. So the folks that use the CRM can see the past chat histories. I hope this makes sense.
    Where can i look to get started on this?
    Thanks

    You could look at Heterogeneous Services (see the forum here Heterogeneous Connectivity but if you want to push data from mysql to oracle you might be better looking at it from the mssql side. I don't know what they offer.
    It might be simpler to do it at the client end. ie cut and paste from the online chat application into a new utility which inserts into the oracle database.
    Incidentally, this forum is specifically for the SQLDeveloper tool. You might get more general help in the "database - general" or "sql and pl/sql" forums

  • HTTP post data from the Oracle database to another web server

    Hi ,
    I have searched the forum and the net on this. And yes I have followed the links
    http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/
    http://manib.wordpress.com/2007/12/03/utl_http/
    and Eddie Awad's Blog on the same topic. I was successful in calling the servlet but I keep getting errors.
    I am using Oracle 10 g and My servlet is part of a ADF BC JSF application.
    My requirement is that I have blob table in another DB and our Oracle Forms application based on another DB has to view the documents . Viewing blobs over dblinks is not possible. So Option 1 is to call a procedure passing the doc_blob_id parameter and call the web server passing the parameters.
    The errors I am getting is:
    First the parameters passed returned null. and
    2. Since my servlet directly downloads the document on the response outputStream, gives this error.
    'com.evermind.server.http.HttpIOException: An established connection was aborted by the software in your host machine'
    Any help please. I am running out of time.
    Thanks

    user10264958 wrote:
    My requirement is that I have blob table in another DB and our Oracle Forms application based on another DB has to view the documents . Viewing blobs over dblinks is not possible. Incorrect. You can use remote LOBs via a database link. However, you cannot use a local LOB variable (called a LOB <i>locator</i>) to reference a remote LOB. A LOB variable/locator is a pointer - that pointer cannot reference a LOB that resides on a remote server. So simply do not use a LOB variable locally as it cannot reference a remote LOB.
    Instead provide a remote interface that can deal with that LOB remotely, dereference that pointer on the remote system, and pass the actual contents being pointed at, to the local database.
    The following demonstrates the basic approach. How one designs and implements the actual remote interface, need to be decided taking existing requirements into consideration. I simply used a very basic wrapper function.
    SQL> --// we create a database link to our own database as it is easier for demonstration purposes
    SQL> create database link remote_db connect to scott identified by tiger using
      2  '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=dev)(SERVER=dedicated)))';
    Database link created.
    SQL> --// we create a table with a CLOB that we will access via this db link
    SQL> create table xml_files( file_id number, xml_file clob );
    Table created.
    SQL> insert into xml_files values( 1, '<root><text>What do you want, universe?</text></root>' );
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> --// a local select against the table works fine
    SQL> select x.*, length(xml_file) as "SIZE" from xml_files x;
       FILE_ID XML_FILE                                                                                SIZE
             1 <root><text>What do you want, universe?</text></root>                                    53
    SQL> --// a remote select against the table fails as we cannot use remote pointers/locators
    SQL> select * from xml_files@remote_db x;
    ERROR:
    ORA-22992: cannot use LOB locators selected from remote tables
    no rows selected
    SQL> //-- we create an interface on the remote db to deal with the pointer for us
    SQL> create or replace function ReturnXMLFile( fileID number, offset integer, amount integer ) return varchar2 is
      2          buffer  varchar2(32767);
      3  begin
      4          select
      5                  DBMS_LOB.SubStr( x.xml_file, amount, offset )
      6                          into
      7                  buffer
      8          from    xml_files x
      9          where   x.file_id = fileID;
    10 
    11          return( buffer );
    12  end;
    13  /
    Function created.
    SQL> --// we now can access the contents of the remote LOB (only in 4000 char chunks using this example)
    SQL> select
      2          file_id,
      3          ReturnXMLFile@remote_db( x.file_id, 1, 4000 ) as "Chunk_1"
      4  from       xml_files@remote_db x;
       FILE_ID Chunk_1
             1 <root><text>What do you want, universe?</text></root>
    SQL> --// we can also copy the entire remote LOB across into a local LOB and use the local one
    SQL> declare
      2          c               clob;
      3          pos             integer;
      4          iterations      integer;
      5          buf             varchar2(20);   --// small buffer for demonstration purposes only
      6  begin
      7          DBMS_LOB.CreateTemporary( c, true );
      8 
      9          pos := 1;
    10          iterations := 1;
    11          loop
    12                  buf := ReturnXMLFile@remote_db( 1, pos, 20 );
    13                  exit when buf is null;
    14                  pos := pos + length(buf);
    15                  iterations := iterations + 1;
    16                  DBMS_LOB.WriteAppend( c, length(buf), buf );
    17          end loop;
    18 
    19          DBMS_OUTPUT.put_line( 'Copied '||length(c)||' byte(s) from remote LOB' );
    20          DBMS_OUTPUT.put_line( 'Read Iterations: '||iterations );
    21          DBMS_OUTPUT.put_line( 'LOB contents (1-4000):'|| DBMS_LOB.SubStr(c,4000,1) );
    22 
    23          DBMS_LOB.FreeTemporary( c );
    24  end;
    25  /
    Copied 53 byte(s) from remote LOB
    Read Iterations: 4
    LOB contents (1-4000):<root><text>What do you want, universe?</text></root>
    PL/SQL procedure successfully completed.
    SQL> The concern is the size of the LOB. It does not always make sense to access the entire LOB in the database. What if that LOB is a 100GB in size? Irrespective of how you do it, selecting that LOB column from that table will require a 100GB of data to be transferred from the database to your client.
    So you need to decide WHY you want the LOB on the client (which will be the local PL/SQL code in case of dealing with a LOB on a remote database)? Do you need the entire LOB? Do you need a specific piece from it? Do you need the database to first parse that LOB into a more structured data struct and then pass specific information from that struct to you? Etc.
    The bottom line however is that you can use remote LOBs. Simply that you cannot use a local pointer variable to point and dereference a remote LOB.

  • Moving oracle database to a new server with an upgraded oracle software

    Hi Guys,
    Here is the scenario, we have an existing Oracle 9.2 demo database on a Solaris 5.9 server. I was asked to transfer this to another server with same OS but with an Oracle 10g software installed. The original plan was to mount the exisiting Oracle home from the original server to the new server and from there copy all the database files and bring up the database.
    Here are the steps:
    - Issue an "alter database backup controlfile to trace", get the script from the trace file
    - Copy all database files to the new server
    - Edit parameter files
    - Do a startup mount recreate the control files, do a recover database, and startup the database on the new server.
    I suggested that we to a transport tablespace but due to limited resources and that the 9.2 database does not have this feature we can't perform this process. I also can't do a exp/imp of the database since we really have limited resources on a disk. I was wondering if the steps I enumerated above are correct? Or would result in an error?

    Hi,
    why you want to recreate the controlfile, does the mount point locations are changing from old server to new server?
    if you recreating controlfile new incarnation starts, keep in mind.
    you have the downtime to upgrade.. :)
    shutdown
    take cold backup and move to new server.
    create the directory structure as exist in PFILE including CRD files.
    install software
    startup upgrade
    upgrade database(need to add sysaux TBS)
    shut immediate
    startup
    *@?/rdbms/admin/utlrp.sql*
    change hostname in listner.ora/tnsnames.ora files.
    Thanks

  • Oracle database XE - Configure HTTP Server

    Goodmorning,
    I've installed Oracle database 10g Express Edition ona linux server.
    Now I can navigate with my browser to the url
         http://xxx.xxx.xxx.xxx:8080/apex
    and this is ok to manage my db.
    My problem is that I can navigate to the url
         http://xxx.xxx.xxx.xxx:8080/sys
    and other subdirectories using my browser.
    I want configure my Oracle HTTP server to allow navigation to APEX but prevent navigation to sys direcotries.
    I can't change configuration in
         APEX->Administration->Manage HTTP Access
    setting "Available only from local server" becuse in this way I couldn't access to APEX too from my client workstation.
    Any ideas?

    Hi,
    the usual way would be to install an Apache http server in front of XE and configure it to be a proxy.
    Using an Apache2 you would change the httpd.conf like this:
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
      RewriteEngine On
      ProxyRequests Off
      SetEnv force-proxy-request-1.0 1
      SetEnv proxy-nokeepalive 1
      RewriteCond %{REQUEST_URI} /(([^/]+)(/.*)*)$
      RewriteCond %2 =apex [OR]
      RewriteCond %2 =i [OR]
      RewriteCond %2 =public
      RewriteRule ^/(.*) http://localhost:8080/%1 [P]Or you can search the XE-forum for 'proxy'.
    If you cannot use an Apache for any reasons (but it is definitely recommended) then you might be able to change the acls for the xmldb folder SYS.
    http://www.google.com/search?hl=de&client=firefox-a&rls=org.mozilla%3Ade%3Aofficial&hs=tb3&q=change+acl+xmldb+sys+folder&btnG=Suche&lr=
    Regards,
    ~Dietmar.

  • Oracle database 12c on Windows Server 2012

    Hello,
    Is it Oracle database 12c compatible with Windows Server 2012. What are the system requirements needed for Windows server 2012 on Oracle database 12c?
    Thanks
    Voitto

    Hi Voitto,
    Actually , it is not a windows related question .
    But I found some infomation :
    Oracle Database for Windows x64 is supported on the following operating systems:
    Windows Server 2008 x64 and Windows Server 2008 R2 x64 - Standard, Enterprise, Datacenter, Web, and Foundation editions.
    Windows 7 x64 - Professional, Enterprise, and Ultimate editions
    Windows 8 x64 and Windows 8.1 x64 - Pro and Enterprise editions
    Windows Server 2012 x64 and Windows Server 2012 R2 x64 - Standard, Datacenter, Essentials, and Foundation editions
    http://docs.oracle.com/database/121/NXDQI/toc.htm#NXDQI111
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • Two Oracle databases on one AIX Server - Note working, Pls Help

    Dear Friends,
    I have installed Two SAP systems with Two Oracle Databases on one AIX machine, The Installation of both the systems went fine without any errors, and also i have been able to login to both the systems seperately. (that means i cant start both the systems at a time, its one at a time)
    But the problem is of the Oracle Listener, i am not able to start both the systems with single Oracle Listener processes(tnslistener). I tried all the possible scenarios as mentioned in note 98252 but nothing seems to be of any use so far.
    the thing is i can start either one of the SAP Systems, But my objective is to start both the SAP Systems with one listener processes (LISTENER) and one listener port (1527)
    Or
    you can say i am also ready to keep two different listeners for TWO seperate Oracle databases, I tried doing so as per one of the sap notes in which you have to keep different names of listener and different numbers for listener port for second ORACLE database. I tried doing exactly mentioned in the note but yet unsuccessful...
    Now i am completely lost as what is to be done since its critical i want you to immediately look into it and suggest me the appropriate solution so that i can set up both of my DEVELOPMENT and QUALITY system running...
    To troubleshoot this if you require anything from my side then please feel free to ask me since our functional consultants have to soon start working on the SAP systems.
    Regards
    Ayush

    The note you specified talk about 2 database instances not 2 databases... (I was starting to wonder how you deploy 2 databases), you can have multiple database instances on a DB. The note also give you detailed explanation of the configuration of listener.ora
    Now, if this is the case and you have installed 2 instances (not databases) on the same host and configured the listener according to the note, then you should be able to call R3trans -d from both SID's.. if the R3trans fails please post the contents of trans.log here.
    the thing is i can start either one of the SAP Systems, But my objective is to start both the SAP Systems with one listener processes (LISTENER) and one listener port (1527)
    Then, the configuration of your listener.ora file must be incorrect.
    Regards
    Juan

  • Oracle Database on win 2003 server 64bits

    HI all
    which file in oracle download's page I can take for This operation system?
    Oracle Database 10g Release 2 (10.2.0.1.0) for Microsoft Windows (x64)
    or
    Oracle Database 10g Release 2 (10.2.0.4) for Microsoft Windows Vista x64 and Microsoft Windows Server 2008 x64 ?
    No have specific choice for 2003.
    Regards
    Paul

    Oracle 10.2.0.4 is much more stable and less problematic than 10.2.0.1. I would strongly suggest not using 10.2.0.1.
    If those were your only choices, I would chose 10.2.0.4 (assuming it is a certified combination with the OS software (win server 2008) and/or Vista. I didn't think it was a certified combination, (but I have not checked).
    Only run certified combinations.

  • Oracle database missing in OracleManagement Server

    Hello!
    I created a Database.
    And Successfully Created it.
    But when i now logged to my Oracle9i database as
    management server i cant see or the database
    i created is missing.
    but when i logged as Stand Alone, i see my database..
    How can i put my database to my Oracle Management Server
    Do anybody knew?
    Pls help.
    Thanks
    LJ

    Hi Lebron,
    You will have to create a Repository by using Oracle Database Assistant Wizard.
    Warm Regards
    Sunil

  • 10g R2 64-bit Oracle Database for MS Windows server 2003

    we are upgrading our 10.2.03 32 bit Oracle Enterprise DB on 32 bit MS windows server 2003 to 10.2.0.3 64 bit Oracle Enterprise DB 64 bit MS windows server 2003
    I got this Metalink ID
    Doc ID: 403522.1 How to Migrate Oracle 10.2 32bit to 10.2 64bit on Microsoft Windows
    I have searched for 10g R2 64 bit Oracle databases versions on MS windows server 2003 but din't gent any
    I am not sure whether this database works for 64 bit MS windows server 2003
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winx64soft.html
    please let me know from where I can download 64-Bit 10g R2 Oracle Enterprise DB for 64-bit MS windows server 2003
    Have posted in       
    English » Technology Network Community » Downloads section haven't seen any replies
    thought of posting here
    Thanks in Advance

    If you are running the x64 version of Windows 2003 and not the Itanium version, you will find 10.2.0.1 here:
    http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winx64soft.html
    You may then patch it to 10.2.0.3 by downloading the patch from Metalink.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

Maybe you are looking for