How to copy a schema in another

I need to copy a schema in another. This means that all tables, views, constraints, etc. and all of the data as well.
I have a dmp source-schema file (created by day with expdp by our backup schedule).

Can I use impdp to import this dmp file to dest-schema? I am thinking something like this:

The dmp file was created with:
expdp DIRECTORY source-schema/pwd = dmpdir DUMPFILE = myproject.dmp

Create the copy on the dest scheme with:
Impdp DIRECTORY dest-schema/pwd = dmpdir DUMPFILE = myproject.dmp

(dest-diagram is a diagram on the same computer. I'll delete all tables before running the command. Is there anything else I need to do first?)

If this approach is not possible, please suggest me an alternative.

Thank you.

Edited by: mgro on April 16, 2010 03:22 (changed 2nd order: expdp with the impdp)

If the schema name is different you must use the option of remapping scheme in impdp

Tags: Database

Similar Questions

  • The fastest way to copy one schema to another.

    Hi guys

    Oracle11gr2
    OEL 5

    I have a requirement to copy one schema to another. I don't have access to linux for the server hosting the database. So I guess that the datapump cannot be used. exp/imp conventional takes too long. Another way I can achieve the goal? What is the best way. is it possible to copy all the object using a dblink (triggers to tables, views, procedures etc.)

    PS: Both the schema are in the same database.

    Thank you
    Ankurk

    They are in the same database, so no db connection is necessary; Fatest? It depends on my factors;
    Why no loop all the sources of the tables in the schema and do;

    insert into target_schema.target_table
    select * from source_schema.source_table;
    

    You are 11 GR 2, datapump could be a solution...

    Directory user/pwd Impdp = DMP_DIR dumpfile = source_schema_dmp.dmp logfile = impdp.log remap_schema = source_schema:target_schema

  • How to copy a macro in another iMac?

    Hello!

    I made a macro (in photoshop CC 2015) to my MacBookPro and would also like to use it in my iMac

    -If the macro can be copied/sent from one mac to another?

    Thanks in advance!

    BR

    -minna

    Hello

    Can you be more explicit? Are you talking about an Action or another kind of Automator?

    For stocks, in general:

    1. open the Actions tab.

    2. each of your custom action belongs to a set. Move to the top of the list until you find the whole. It will be a 'folder' icon and an arrow pointing down, showing that it is open. The default set is labeled 'Actions by default'. Click the folder to select it.

    3. at the top of the actions palette, there is a small arrow. Click it to display a menu of options. Choose "Save Actions" and save the file to your desktop. Call it something meaningful.

    Now, copy the file to another computer. Place it in a folder related to Photoshop, such as Presets > Photoshop Actions folder.

    1. click on the small arrow in the actions palette, and then choose "Load Actions". Choose the file that you saved earlier. It will be added as a new value to your palette of Actions and should be available every time.

    Note: If you have copied to certain actions you don't want with your expensive custom you can simply remove these overall once you have loaded on your other computer.

    Stone

  • How to copy virtual servers on another ESX host?

    Hello

    I have a single ESX Server with SAN storage in location A. I also have another unique ESX Server with SAN storage B instead.

    I need to copy a virtual ESX Server server in site A to ESX server to the location B. How can I do this from the ESX service console? And I can copy the virtual server while it is still in progress?

    Thank you

    Hello

    If you have ssh enabled for root on two PCs, you can use the command.

    CD in the data store where the virtual machine resides, then use

    SCP - r REQUIRED_VM_DIRECTORY_NAME root@IP_OF_DESTINATION: / vmfs/volumes/NAME_OF_DATASTORE /.

    There are ways to do the same by the valid Linux user as well, but it requires a few steps more {this is used when the root is disabled for SSH}

    Concerning

    Anil

    Save the planet

  • How to copy and paste on another layer in the same location as the previous layer

    I am trying to copy a part of a chart and put it on a different layer while keeping it's exact location as to how I see it I'm him?

    Command-shift-J would have done in a single step.

    If the selection has smooth edges, lift the part with a layer of it will cause naturally these edges.

    Two 50% transparent pixels on top of one another are not 100% strength.

    "You can try to create the selection with" anti-aliasing "off.

  • How to: copy a CD to another CD which is empty

    Original title : where is the command "copy disc"?

    With the help of Windows Explorer (in Windows 7 64Pro) I see no command "copy disc" familiar to automatically make a backup copy of a CD or a DVD that is currently in my DVD burner.  How can I use Windows Explorer to copy a disk in drive D: (DVD)?

    (I've tried different combinations of this question in the Help menu installed with Win 7 w/o any response which responds to distance this very simple [and I have to assume common] question..., I found no answer to the Windows 7 home page...)

    With the help of Windows Explorer (in Windows 7 64Pro) I see no command "copy disc" familiar to automatically make a backup copy of a CD or a DVD that is currently in my DVD burner.  How can I use Windows Explorer to copy a disk in drive D: (DVD)?

    (I've tried different combinations of this question in the Help menu installed with Win 7 w/o any response which responds to distance this very simple [and I have to assume common] question..., I found no answer to the Windows 7 home page...)

    Diskcopy is BACK. Because Windows happened 25 years ago, you do these things with a GUI rather than a command.

    Open the two images in Windows Explorer, then drag the DVD item where you want it on your hard drive. That's all.

  • How to copy the values to another scene lighting effects

    Cs6 pro working, how can I copy the effects emna values to the next scene? The scenes are long from 5 to 10 seconds and I was reset values of scene by scene lighting effects. Is it possible to copy the values from one scene to the next?

    Normally, copy 'Effect' to clip and paste to the other will work just fine.

  • How to copy a layer to another photo?

    My photos are all consolidated in tabs.

    I thought it was possible for example, select a text layer click and hold, then drag it to a different photo tab and release. This would copy the text layer from the first, on the second.

    Well I can't make it work. If instead to consolidate in tabs, I select float all in windows, THEN I can drag and drop my layers on another photo.

    Surely, this is still possible if all the photos are on legs?

    Bob

    Be sure to drag the image, not the layers panel

  • How to copy a page to another project?

    I have several websites and I want to put the same page on several sites, but let me make minor changes to every page to test... is there an easy way to move a page to a project?

    Hello

    I recommend you to visit the Muse idea and after this idea.

    Ideas for features in Adobe Muse

    Concerning

    Vivek

  • How to copy the message filters for an email to another account email account

    have a filter of msg in a single email counts with many entries - how to copy this msg filter to another account

    If you want to duplicate a filters of accounts to another account, you don't need to create them again. Output of Thunderbird and copy the file "msgFilterRules.dat" instead. If the account is in a different profile and it uses custom headers, you will also need to copy the parameter mailnews.customHeaders to prefs.js.

  • How to copy contact from another list? No traveling.

    How to copy contact from another list? No traveling.

    Same way you do in most of the applications when you use slide it / move. You hold down the CTRL key while dragging the file or contact. You will see a sign more seem to indicate a copy and not move. Hold the control key until releasing the contact in the new location.

  • How to copy settings on another photo?

    How to copy adjustments in another photo in the Photos App?

    Thank you

    I don't think there is any way - suggests Apple - http://www.apple.com/feedback/photos.html

    LN

  • How can I copy Firfox bookmarks from another computer to this one?

    How can I copy Firefox bookmarks from another computer Windows running Firefox (which is also a Windows machine)?

    The profile is a file that store your personal information in a safe place
    Here explain how to save the profile

    Here explain how to restore

  • How to copy the numbers in a cell to another cell and gets their total

    500.40

    192932.90

    231838 * 90

    290414 * 15

    222312 * 15

    222314 * 5

    141722 * 20

    Hello, can I ask how to copy the numbers after the period/asterisk to another cell and then add up all the numbers copied without having to type them.thank you

    Hi mirijin,

    Break the problem into small steps:

    Step 1. All separators (periods and asterisks) convert the asterisks.

    Formula in B2 (fill down)

    = SUBSTITUTE(A2,".","*")

    Step 2. Find the position of an asterisk in each cell.

    Formula in C2 (fill down)

    = FIND("*",B2)

    Step 3. Extract everything to the right of the asterisk.

    Formula in D2 (fill down)

    = RIGHT (B2, LEN (B2) −C2)

    Step 4. Convert the text to numbers re using the VALUE function.

    Formula in E2 (fill down)

    VALUE = (D2)

    This table has a header row and footer of the line, so the SUM in E9 apply to all cells in the body.

    = SUM (E)

    You can combine the individual forms in a unique and complex formula, or simply to hide intermediate columns B, C and D:

    Kind regards

    Ian.

  • How to copy a file in real time each 5minus from a PC to another PC via LAN network?

    Hello Labviewers,

    Is it possible can labview auto copy drop every 5 minutes from PC1 to another PC in real time?

    Say in the laboratory classroom I have PC1 labview run in real time, collecting data dump in the folder c:\test\testing.xslx

    Then in my Office PC how can copy file in PC1 every 5 minutes. Is it possible Labview is possible? Please help me IV thanks

    How about something like this?

    First map a network location to a 'reader' in Windows.

    Then just use LabVIEW primitive file copy to copy the file.

    Wait five minutes.

    Do it again.

    Yes, it's the bare minimum, and probably not the best way to do as you can't stop the loop with the stop button once the period has begun. But you can see it's pretty simple, if all what you need to do is to copy a file and location, you can map.

Maybe you are looking for