How to copy a database to a new database on Windows 32bit?

Hi Gurus,
I have a production database 10g on Windows 32bit and I want to make a copy of this database as Test in same server ?
Please help....
Thanks,

How big is your database?
1)If database size is small, create a blank test db . Export from Production using expdp and impdp onto Test.
2)If database size is hundreds of gb's use rman duplicate command. As you are restoring on to same host
configure db_file_name_convert/log_file_name_convert in your pfile properly
And also control_files parameter to new location in your new pfile.
Refer: http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1006859
Edited by: vreddy on Sep 7, 2012 2:03 PM

Similar Messages

  • I had my iPhone 4S stolen last week and I am going to sync it to my computer to get everything back on it. I have a new computer, i know how to copy music over to the new computer, but where are the contacts stored on the computer?

    Hi there,
    Can anyone help me!? I know how to copy my music library to my new computer but struggling with copying the contacts etc. Where do I find the contacts folder on my old computer?
    Thanks
    K

    I had my iPhone 4S stolen last week and I am going to sync it to my computer to get everything back on it.
    If it is stolen , how are you going to sync it?
    You mean you got a new iPhone and you want to sync it to your computer?
    Plug it in.
    I know how to copy my music library to my new computer
    New computer??? Or new iPhone?
    I know how to copy my music library to my new computer but struggling with copying the contacts etc. Where do I find the contacts folder on my old computer?
    I suggest you simply copy your entire User folder from old computer to new computer. This way all your data (Music, photos, contacts, emails, calendars, documents, etc.)  goes across.

  • Computer crashed - how to copy files from ipod onto new computer

    Dear all,
    My computer crashed and I desperately need some tips on how to copy my music files from my ipod to the new hard disk. Any ideas?
    Thanks so much,
    Patrick
    HP notebook   Windows XP  

    Check out the instructions/suggestions here.
    Music from iPod to computer.
    There's also Yamipod. This is a free program that transfers music and playlists etc from iPod to iTunes.

  • How to copy exitsitng extracter into another new extracter?

    Hello,
    Please some one can tel me how to copy the existing  extracter into another new extracter.
    I have requirment as below
    Currect me if i am wrong ,need to enhance the existing extracter and add some new fields,and need to include some masterdata filds also to it.
    For master data i am going to do write routines at Transfermation so that no need to include in my exter for those filds to extracter.
    Please some one guide me in this scenario.
    Chrs

    Hi,
    you do not have to copy the extractor, you can enhance it with fields and fill them via enhancement coding --> rsa6.
    If you want to copy it, you need to check what kind of extractor you have. Is it a function module or just a table extractor.
    for fm: copy the function module via se37 and copy the extract structure via se11. Add your enhancements in the copied structures and coding. Create a new datasource with rso2.
    for table extractor: create a view adding the additionally needed fields. create a new ds with rso2. Surely you need to add some coding in the relevant enhancement.
    regards
    Siggi

  • How to copy a database to another location in sqlserver 2008 express edition

    Hi,
    Please help for to copy a database to another location in sqlserver 2008 express edition
    With many thanks
    Pol
    polachan

    if you are using SQL Server 2008 express edition
    you are NOT able to use Copy database wizard so the only option you have is to try as mentioned above 
    a) Backup /Restore
    Create a new DB to where you want the copy should go and
    Make a Full Backup with .BAK of your original database and Restore the backup on other system and Right click on the the new DB you created and Restore by navigate to your .BAK and make sure MDF and LDF file match the new.
    http://msdn.microsoft.com/en-us/library/ms190436.aspx
    b) Detach/Attach
    Detach the database and copy the database files to other system; and attach these database files.
    I hope this is more informative for you and Good-luck
    Please remember to click “Mark as Answer” on the post that has answered your question as it is very relevant to other community members dealing with same problem in seeking the right answer

  • How to copy last record to a new record ?

    Hello,
    i have a question pls.
    i want to copy last record to every new record
    say,
    multirecord forms has : Tank_no Last_measured Lab_Denisty
    record1 : 1009aw 1532.94 .5796
    what i want to do next record is copying last record (record1 ) as
    record2 : 1009aw 1532.94 .5796
    so the user may change the Last_measured only and not to have to rewrite the Tank_no and the Lab_Denisty cause it doesn't change.
    May i do this ? if yessss, but How..?
    Regards,
    Abdetu..

    Hello poelger
    i check it then found the following code :
    DUPLICATE_RECORD Examples /*
    ** Built-in: DUPLICATE_RECORD;
    ** Example: Make a copy of the current record and increment
    ** the "line_sequence" item by one.
    DECLARE
    n NUMBER;
    BEGIN
    ** Remember the value of the 'line_sequence' from the
    ** current record
    n := :my_block.line_sequence;
    ** Create a new record, and copy all the values from the
    ** previous record into it.
    Create_Record;
    Duplicate_Record;
    ** Set the new record's 'line_sequence' to one more than
    ** the last record's.
    :my_block.line_sequence := n + 1;
    END; but then which trigger best fit the procedure should i use
    w-c-r or w-n-r-i Triggers
    and what is meant by line_sequence pls. ?
    Regards,
    Abdetu..

  • How to copy recorded live stream to new drive

    I was wondering if anyone out there knows how to copy a recorded live stream to a new drive on the server?  I can copy the file within the virtual app directory but not to another drive.
    The only solution i found was to edit the application.xml:
    <StreamManager>
            <StorageDir>e:\Sync\</StorageDir>
        </StreamManager>
    But unfortunately i need to rename the file once its recorded, and i'm having a hard time accessing that drive/directory where the file is located.
    Any help is greatly appreciated.
    thanks

    Hi,
    What I understood from your query I am providing you a solution:
    1. You can use the below to copy recorded live stream to new drive/directory in Application.xml
    <StreamManager>
            <StorageDir>e:\Sync\</StorageDir>
    </StreamManager>
    2. By default, a script can access files and directories only within the application directory of the hosting application. A server administrator can grant access to additional directories by specifying virtual directory mappings for File object paths. This is done in the FileObject tag in the Application.xml file, as shown in the following example:
    <FileObject>
          <VirtualDirectory>/_definst_;e:\Sync\_definst_\</VirtualDirectory>
    </FileObject>
    3. Create one application folder suppose test and then create main.asc file inside that which will have the below code
    application.onConnect = function(client) {
    application.acceptConnection(client);
    var fileObj = new File("_definst_");
    var fl = new Array();
    trace("File name : " + fileObj.toString());
    if (fileObj != null)
      if (fileObj.isDirectory)
       fl = fileObj.list();
       for (i in fl)
        trace("Directory : " + fl[i].name);
        if (fl[i].isFile)
         trace("File : " + fl[i].name);
         trace(fl[i].renameTo("dvrstream"+i));
        }//if closes
       }// for closes
      }//if closes
    }//if closes
    }// application closes
    This server side application rename files but since the folder which we had to access was outside application directory of the hosting application we had to map it using step 2.
    If this solution does not answer your query please be more ellaborative on what exactly are you trying to achieve. That will help me to answer your query correctly.
    Regards,
    Amit

  • How to copy Palm Desktop data to a PC using Windows 8.1

    If like me you still find the Palm Desktop data (address, calendar, memos, etc.) handy and use it long after throwing away the handset and "sync" ability, you may find this useful.  I bought a new PC using Windows 8.1 and had problems transferring data because of a wrinkle that I figured out, which didn't exist in Windows XP, Vista or 7 versions.  Here's a recap of one way to easily transfer data from those earlier versions if you have a USB flash drive (or Dropbox, Google Drive, whatever) handy :
    1) Download Palm Desktop 6.2 or 6.2.2 to your new PC.  Then give a user name exactly as it exists in your old PC's database.  This name will be used by Desktop software to create a six letter folder name (an abbreviated version of your name) to hold data that Palm Desktop will look up.  Wait a few seconds for this to happen, then close the Desktop application on your new PC.
    2) In your old PC from where you want to transfer data, look for the folder called "Palm OS Desktop" which should exist in "Documents" under "Users" folder and subfolders path like >your name subfolder>Documents in Windows 7 (may be Vista too) or may be under "Documents and Setting" folder in Windows XP. 
    3) In this folder "Palm OS Desktop" look for that six letter subfolder of your name, and select that entire subfolder and choose "Copy" or Ctrl-C
    4) Locate the same subfolder name in your new PC (which will have null data), delete it, and then "paste" the subfolder you "copied" into the same exact location.  If you've done it right, Viola!  Your new PC desktop should show all the transferred data once you again open the application.
    Most of the same procedure works with Windows 8.1 (probably also Windows 8) PCs.  What I found different was that the data subfolder created under "Palm OS Desktop} had 7 instead of 6 characters with a "0" (zero) added as the last character.  So when you finally copy and paste that subfolder into the new PC you have to rename it and add that "0" for the Palm Desktop to locate this data.
    Hope this helps.
    This question was solved.
    View Solution.

    To turn off UAC, go to the Control Panel, then User Accounts.
    Under the header, "Make changes to your user account", there is an entry titled "Change User Account Control Settings".
    Pick it, and drag the slider all the way down to "Never Notify".
    Access of Japan is the company Palm hired to write Palm Desktop 6.2.2.  
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • How to rename oracle9i database in windows 2000

    Hi All,
    I am trying to rename an oracle database on windows 2000. I am having some issues...can anyone help me how to fix it.
    Trace file is created from existing database (ORCLDB) using alter database backup controlfile to trace
    and the following steps are followed....
    Modify (and optionally rename) the created trace file:
    Find the line reading # Set #2. RESETLOGS case
    Remove all lines above this line.
    Change the line containing the database name from CREATE CONTROLFILE REUSE DATABASE "ORA9" RESETLOGS NOARCHIVELOG
    to
    CREATE CONTROLFILE SET DATABASE "CAT" RESETLOGS NOARCHIVELOG
    Note, in my case, the database is running in noarchive log mode. The corresponding line reads ARCHIVELOG otherwise.
    Remove the line reading RECOVER DATABASE USING BACKUP CONTROLFILE.
    Remove lines starting with #.
    the edited .trc file is saved as rename.sql
    STARTUP NOMOUNT
    CREATE CONTROLFILE SET DATABASE "NEWORCLDB" RESETLOGS NOARCHIVELOG
    -- SET STANDBY TO MAXIMIZE PERFORMANCE
    MAXLOGFILES 16
    MAXLOGMEMBERS 2
    MAXDATAFILES 30
    MAXINSTANCES 1
    MAXLOGHISTORY 454
    LOGFILE
    GROUP 1 'd:\oracle\databases\redo1.ora' SIZE 100M,
    GROUP 2 'd:\oracle\databases\redo2.ora' SIZE 100M,
    GROUP 3 'd:\oracle\databases\redo3.ora' SIZE 100M
    -- STANDBY LOGFILE
    DATAFILE
    'd:\oracle\datafile\system.dbf',
    'd:\oracle\datafile\undo.dbf',
    'd:\oracle\datafile\data.dbf'
    CHARACTER SET WE8ISO8859P1
    ALTER DATABASE OPEN RESETLOGS;
    ALTER TABLESPACE TEMP ADD TEMPFILE 'd:\oracle\Ora90\databases\temp.dbf'
    SIZE 104857600 REUSE AUTOEXTEND OFF;
    shutdown the ORCLDB databas from windows services
    Moved the old control file to other location
    The database name are changed in the new initneworcldb.ora
    Bcaz there is no SVRMGRL in 9i....How do i connect ??
    Which instance should i connect?
    I tried from c:\>sqlplus "/ as sysdba"
    Its asking for username and password?
    Which username/password@instnace should i login?
    What is the username and password....should i give for username....while funning sqlplus " / as sysdba"
    Thanks,
    Message was edited by:
    user444626

    As you said added the entry in the sqlnet.ora file
    sqlnet.authentication_services=(NTS)
    C:\>ORADIM -NEW -SID newdb -SRVC OracleServicenewdb -STARTMODE a
    C:\>set ORACLE_SID=NEWDB
    C:\>SQLPLUS /NOLOG
    SQL*Plus: Release 9.0.1.0.1 - Production on Fri Dec 9 20:28:18 2005
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    SQL> @C:\CR_CONTROL.SQL
    ORA-01031: insufficient privileges
    SP2-0734: unknown command beginning "STANDBY LO..." - rest of line ignored.
    SP2-0640: Not connected
    SP2-0734: unknown command beginning "Recovery i..." - rest of line ignored.
    SP2-0734: unknown command beginning "or if the ..." - rest of line ignored.
    SP2-0640: Not connected
    Media recovery complete.
    SP2-0734: unknown command beginning "All logs n..." - rest of line ignored.
    SP2-0640: Not connected
    SP2-0734: unknown command beginning "Database c..." - rest of line ignored.
    SP2-0640: Not connected
    SQL>
    Message was edited by:
    user444626

  • Copying Oracle database on Windows.

    Hi Group,
    I would appreciate your suggestions on the best procedure and alternatives to
    copy an Oracle database 10g r2 (windows 2003 server) from local server to remote server.
    Thanks in advance.

    Here are two Oracle support documents on just this subject:
    Migration of Oracle Database Instances Across OS Platforms 733205.1
    How to Create a Duplicate Database on Windows NT using RMAN #186127.1
    HTH -- Mark D Powell --

  • ADF EBS Integration - How to open the ADF page in new tab or window

    Hi,
        We are building ADF custom applications and want to integrate them with EBS R12 (12.1.3) through Responsibilities and Menus.
    We have achieved session sharing and launching the Custom ADF app from EBS menu. The problem is, the Custom ADF page opens in the same page.
    Is there anyway to open the ADF application in new tab or window while launching from EBS Menu ? 
    Highly appreciate your help on this.
    Thanks,
    Ananthakumar

    Bhaskar,
    Refer old threads by searching for "new window" / "_blank"
    - Senthil

  • How to install 10g database on windows with db block size 16k

    Hi,
    Can somone help me install oracle 10g database on windows xp with db block size as 16k.
    i need this database, because it is one of the recommendations for insalling OWB(Oracle Warehouse Builder).
    Thanks,
    Philip.

    1)     In Initialization parameter pile
    DB_BLOCK_SIZE=8192/16K - One way
    2) The other way once you install Oracle 10 G then at the time when you are creating database with Database Configuration Assistant – you can modify the block size by the[b] Initialization parameter screen.
    -     Sizing Tab
    Block Size 8K/16K
    *** Remember by default Oracle 10 G uses 8K block size.
    You use the options on the Sizing tab to configure the block size of your database
    and the number of processes that can connect to this database. The Block Size setting corresponds to the smallest unit of storage within the Oracle database. All storage of database objects (tables, indexes, and so on) are governed by the block size. The block size defaults to 8KB, but you can modify it. Once the database is created, you cannot modify this setting.
    The maximum and minimum size of an Oracle block depends on the operating system. Generally, 8KB is sufficient for most transaction-oriented applications, and larger block sizes such as 16KB and higher are used in data warehouse–type applications.
    The Processes setting specifies the maximum number of simultaneous operating system processes that can be connected to this Oracle database. You must include at least six processes for each of the Oracle background processes. You can increase this number on the Initialization parameter screen.

  • How to copy Restore database in new server and new domain.

    Hai all,
    I'm trying to backup a database from one SQL server and restore it to another (both are SQL2008 R2) but diff domain. 
    when I try run few query, the output is empty. Please advise.
    noor hafizah

    Hi Noor,
    Filtered views use the Principal Access Object to determine the records to be shown to the current user (the one executing the query). You will not be able to see any results if the account not defined inside CRM.
    Please try to
    assign the correct security role to the user account.
    If you have more questions related to CRM, you can post in the Microsoft Dynamics CRM Forum . More experts there will assist you.
    Regards,
    Fanny Liu  
    Fanny Liu
    TechNet Community Support

  • How to copy  existing  row  value into new row  with a trigger. Same table

    Oracle guru,
    I am looking for a before or after trigger statement that will copy existing values inserted in the previous row into columns A & B. Then insert those values in a new row into column A & B if null? Same table. Hopefully my question is clear enough.
    -Oracle 10g express
    -I have an existing " before insert trigger" that insert id and timestamps when a new row is created.
    -Table is composed of column like id,timestamps,A,B and more.
    Thanks in advance
    Pierre

    957911 wrote:
    Oracle guru,
    I am looking for a before or after trigger statement that will copy existing values inserted in the previous row into columns A & B. Then insert those values in a new row into column A & B if null? Same table. Hopefully my question is clear enough.
    -Oracle 10g express
    -I have an existing " before insert trigger" that insert id and timestamps when a new row is created.
    -Table is composed of column like id,timestamps,A,B and more.
    Thanks in advance
    PierreI will call it a very Wrong design.
    It is a wrong Table Design. You are duplicating the data in table and not complying with the Database Normalization rules.
    How about Verifying if Column A & B are NULL before inserting and inserting another row and avoiding it in Triggers?
    If you are bent to achieve this, below code might be helpful. However, I would never go with this approach. If you would care about explaining the reason for going ahead with such a data model, people could suggest better alternative that might conform with Normalization rules.
    create or replace trigger trg_test_table
    after insert on test_table
    for each row
    declare
      pragma autonomous_transaction;
    begin
      if :new.col_a is null and :new.col_b is null then
        insert into test_table
        select 2, systimestamp, col_a, col_b
          from test_table
         where pk_col = (select max(pk_col) from test_table b where b.pk_col < :new.pk_col);
      end if;
      commit;
    end trg_test_table;Read SQL and PL/SQL FAQ and post the mentioned details.
    Do not forget to mention output from
    select * from v$version;

  • How to copy contents of folder into new folder with Automator?

    What is the simplest, fastest Automator workflow to copy the contents of a folder into a new folder? And without using 3rd party actions.
    I have a template folder structure called .ProjectFolder (to keep it invisible) so I need to copy the contents of this folder into a new folder, preferably with the ability to name the new folder on the fly. I don't want to use 3rd party actions because this is something I then need to maintain. Thanks.

    957911 wrote:
    Oracle guru,
    I am looking for a before or after trigger statement that will copy existing values inserted in the previous row into columns A & B. Then insert those values in a new row into column A & B if null? Same table. Hopefully my question is clear enough.
    -Oracle 10g express
    -I have an existing " before insert trigger" that insert id and timestamps when a new row is created.
    -Table is composed of column like id,timestamps,A,B and more.
    Thanks in advance
    PierreI will call it a very Wrong design.
    It is a wrong Table Design. You are duplicating the data in table and not complying with the Database Normalization rules.
    How about Verifying if Column A & B are NULL before inserting and inserting another row and avoiding it in Triggers?
    If you are bent to achieve this, below code might be helpful. However, I would never go with this approach. If you would care about explaining the reason for going ahead with such a data model, people could suggest better alternative that might conform with Normalization rules.
    create or replace trigger trg_test_table
    after insert on test_table
    for each row
    declare
      pragma autonomous_transaction;
    begin
      if :new.col_a is null and :new.col_b is null then
        insert into test_table
        select 2, systimestamp, col_a, col_b
          from test_table
         where pk_col = (select max(pk_col) from test_table b where b.pk_col < :new.pk_col);
      end if;
      commit;
    end trg_test_table;Read SQL and PL/SQL FAQ and post the mentioned details.
    Do not forget to mention output from
    select * from v$version;

Maybe you are looking for

  • Need to suppress warning message while executing querywith conditions.

    Hi, I have created report in which I have two conditions in report I am showing report data only if keyfigure value is greator than 4. In characteristics I have calmonth and customer I want to suppress result row  so supress result row is always  but

  • Problems with incoming emails

    After going through tons of support discussions and trying all that i could i would like to ask your help guys. As header suggests im having problems with incoming emails on mac mail (4.6)  (outgoing mails are working perfectly) Yesterday evening i n

  • Auto generate cost elements while P&L accounts created

    Hi, Please tell me is there a way for cost elements create automatically after P&L accounts created. ( Config or Enhancement ). Thanks in advance. Regards Sam

  • Data flow of tables  for the FICO Module

    Hi, I am going to develop the reports for the FICO Module but i had checked that it is storing the majority of dat ain the BSEG table which is a cluster table and it will hit the performance of it. The index tables which are there make it complex .I

  • No more memory for notes in palm desktop software

    smkranz I am a volunteer, and not an HP employee. Palm OS ∙ webOS ∙ Android