Export DB from tablespace to other tablespace

Hi,
Is possible to do an export DB indicating tablespace?
like..
exp myuser/mypass@mySID TABLES=MY_TABLE TABLESPACES=TS_ONE FILE=EJ.dmp log=file.logbecause, after this I need import the EJ.dmp to other schema whith other tablespace (TS_TWO)
thanks
pd: my oracle is: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
Edited by: cat on 12-mar-2009 17:17

Hi, I try to do:
expdp myuser/mypass@mysid dumpfile=example.dmp directory=dmpdir tables=(tbl_city) logfile=filedp.logI execute this from c:\temp directory in Windows, where I have created the dir dmpdir and I have this error:
Export: Release 10.2.0.1.0 - Production on Viernes, 13 Marzo, 2009 13:03:54
Copyright (c) 2003, 2005, Oracle.  All rights reserved.
Conectado a: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-39087: directory name DMPDIR is invalid

Similar Messages

  • Export schema from tablespace

    Hello Everyone,
    I work with an enterprise application that uses oracle to store meta data and objects as well as BLOB's in the tablespace.
    I have a question about exporting schema's from a table space.
    I have Oracle 9.2.0.8 in Windows 2003.
    I have a tablespace called TestData02, I created 2 users (orauser1 and orauser2) both with this table space as the default. From within my enterprise application I would use it's tool to initialize the tablespace and create a schema.
    What I did was create 2 schema's under one tablespace, one schema owned by 'orauser1' and another by 'orauser2'.
    Now I'd like to export everything owned by the user 'orauser2' and create a new tablespace called TestData03 and import this schema and all associated data and BLOBS into here.
    I've been reading about the exp and imp tools, but just can't figure out how to export a schema ... I did figure out (i think) how to export the entire table space, but thats not what I want.
    Can anyone help me ... I am quite new to oracle.

    Hi Pavan,
    Before 10g expdp and impdp (this is one of the reasons why versions are really important), any ''dependent' objects will not be 'remapped'.
    Let's say you have T1 in TS1, and a primary key in IX_TS1.
    Now you move the table to a different user with different tablespaces.
    You can 'move' the table, using the default tablespace of the new owner, however, the index will be created in the old tablespace.
    This is why you often need to precreate objects.
    Without seeing the definition of the LOBsegment, there is no conclusive evidence, but you probably do have a LOBsegment in TS1, which isn't going to be 'remapped'
    expdp and impdp will take care of this with the remap_tablespace clause.
    Sybrand Bakker
    Senior Oracle DBA

  • Cannot export video from iphoto to other location

    Hello ,
    i could not move video from iphoto to external hard disk or desktop. I'm using Mac Pro with RD. The steps I did as below:
    1. Select the video
    2. File, export , select origin, ok
    3.  error message appear stated that video could not be prepared .
    Any way to do it ?

    The problem is that iPhoto is looking in the wrong place for the file:
    / Volumes/Sagate/Iphoto_Library_2014.photolibrary/Previews/2014....... "
    It should be looking in the Originals folder.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Export mail from iMac to other iMac ,including archive maps

    I want to transfer my mail items, including archive maps, to my second iMac on an other location.

    1) Moving from 2.5 year old MBPro to a new one.
    2) Have Time Machine
    3) Digging how fast the machine is and had a rental unit for a while (on which I just took everything using TM) and well, the rental machine "felt" like I just had my old computer back...but I wanted a faster computer
    4) Now I have a much faster computer, and I don't want to bring all my "old stuff" with me.
    5) But I want to bring in a few iMovie files, my email (I use both Mail and Entourage), certain other files, and a few apps
    So, the main thing I don't know how to do is how to import all my email into Mail.
    I tried moving Mail into a temp folder and restoring my Mail app from June 29th into the current Applications folder. When I started mail, the error message was "you cannot use that version of Mail with this build..."
    I just don't want to "weigh down" my new computer with all my "old stuff." But I do need my email, some apps, and some files.
    Files: easy, find and import
    Apps: easy, find and restore
    email: please help!
    Best, and I figured I'd ask, since I've tried the steps outlined in this thread...
    Sincerely,
    Dainis
    Hmm...maybe because I updated my system on the rental, the Mail app needs 10.6.4 instead of 10.6.3. I kinda wish this would be better explained and I'm feeeling like this is a bit microsoftesque.

  • How to exclude undo and temp from "Tablespace Space Used (%)"

    Dear All
    Is it possible to exclude undo and temp tablespace monitoring from "Tablespace Space Used (%)" matric?
    Thanks & Regards
    Quazi Abdur Rab

    If you use TEMP >=100 as Warning, this warning can still be raised.
    What version of the database is it? If Oracle 10g, Grid Control (the agent) searches the alert table in the database for alerts, so the database raises the alert and the agent just passes this alert to Grid Control.
    If you are using Oracle 10g, you can use the following statement (connected as sys):
    DBMS_SERVER_ALERT.SET_THRESHOLD(
    metrics_id => DBMS_SERVER_ALERT.TABLESPACE_PCT_FULL,
    warning_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
    warning_value => '90',
    critical_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
    critical_value => '100',
    observation_period => 1,
    consecutive_occurrences => 1,
    instance_name => NULL,
    object_type => DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
    object_name => 'TEMP');
    This will create the GT (Greater Than) instead of GE (Greater Equal).
    Kind regards,
    Dave
    ps. I'm using GC 10.2.0.3.0, so thanks for the note that 10.2.0.4 doesn't take 100+ values.

  • Drop one datafile from Tablespace

    Hi,
    I have 9i Database on Linux. I want to drop one datafile from tablespace. I have tried to drop datafile through following command but it gave no effect.
    alter database datafile <datafile name> offline drop;
    What should i have to do for dropping datafile?
    Do the needful
    Thankx in advance.

    Hi
    since you dont specify the database version or if you have it setup as archivelog or noarchivelog mode, i paste the drop specs for dropping a datafile, from SQL Reference manual of 9i
    DROP If the database is in NOARCHIVELOG mode, you must specify the DROP
    clause to take a datafile offline. However, the DROP clause does not remove the
    datafile from the database. To do that, you must drop the tablespace in which the
    datafile resides. Until you do so, the datafile remains in the data dictionary with the
    status RECOVER or OFFLINE.
    If the database is in ARCHIVELOG mode, Oracle ignores the DROP keyword.
    Regards
    Message was edited by:
    pcambra

  • My Images won't open in Photoshop CS5 when I click on Edit in Lightroom - even though this option has been selected?  To edit in Photoshop I have to export image from Lightroom then import into Photoshop.  I have other programmes such as NIK and if I wish

    My Images won't open in Photoshop CS5 when I click on Edit in Lightroom - even though this option has been selected?  To edit in Photoshop I have to export image from Lightroom then import into Photoshop.  I have other programmes such as NIK and if I wish to edit in these everything works fine.

    Same here. I've never had trouble with this function before.
    It opens the Photoshop application with all the menus/windows, but it never opens the actual image I chose to work on.
    I'm on a Mac, using OS X Yosemite, 10.10.1  Lightroom is version 5.7  Photoshop is CS5, version 12.0.4
    FWIW, I also can't automate>Photomerge ... . Makes me think Photoshop, not Lightroom, is all wacky. I tried dumping PS preferences

  • Would like to export data from PDF form as plain text for other applications.

    If this has been answered, I apologize and hope that someone will point me to the right place to see the answer.
    PROBLEM: I have created a PDF form to be filled out and returned via email to specific email addresses. I want that email to show the data being returned as plain or rich text (either will do) in a simple email. I need this because the information will be used in  different applications (print, web, etc...). I just need text that can easily be cut and pasted by people not that sophisticated in their use of computers.
    I understand this may be a javascript function in the Actions menu of the Submit button. But, I rarely do forms through Acrobat and this is new to me.
    Any helpful response is as always, greatly appreciated.
    --C

    GKaiseril wrote:
    "You could export the from data as a tab delimited text file and then import that data into an SQL database"
    I could say as I have to do, in detail?
    As could do (adobe acrobat) a button(tab delimited text file) to export a completed form from the adobe reader?
    greetings and thanks.

  • Since update to 10.6.8 can't export images from powerpoint and also other programs

    Ever since I updated my software to 10.6.8 I can't export images from Powerpoint or from a graphing software GraphPad Prism.  It's really frustrating.  I had no problems at all until this update. Is there any way to revert my version to the old OS 10.6?
    I can't work when I can't put images into illustrator!
    Thanks, AOH

    I just contacted Final Draft and they helped me with it. If you have FD and are going to upgrade an OS, Deactivate Final Draft first then re-activate it once the new OS is installed.

  • Is it possible to export schema from one HANA server to other

    Hi,
    Is it possible to export schema from one HANA DB server and import it on another HANA Server?
    Thanks & Regards,
    Kumar

    Hi Gaurav,
    Yes you can Export Schema and Import Eported Schema in New Schema if you have HANA Rev 69.
    Please check below links.
    Backup particular database on B1H HANA
    SAP HANA restore and backup single schema
    SAP Business One 9.0, version for SAP HANA PL04 available
    SAP Business One 9.0, version for SAP HANA PL03 available now
    Hope this helps
    Regards::::
    Atul Chakraborty

  • How do I export contacts from my iPhone to other smart phone

    How do I export contacts from my iPhone to other smart phone?

    When you plug you iphone back up to you itunes itll back it up completly your pics your contacts your messages etc. it wont erase it because itll back it up first..
    You may loose music though im not sure if it backs that up or not i cant remember that part.
    Besides i share you a article about how to transfer contacts from iPhone to computer, which can help you backup all iPhone contacts and contact photos from iPhone to your computer and keep them safe on the computer.
    Hopefully this works for all of you like it just worked for me!

  • Export schema from one machine to other machine by datapump

    can I export 10g schema from one machine other machine (10g) if how
    thanks

    In the same manner as You ould use expdp/impdp on the same machine.
    expdp needed data on one server.
    copy dmp file to another
    impdp on another server
    Read documentation:
    http://www.oracle-base.com/articles/10g/OracleDataPump10g.php

  • Exporting Data from one Server to Another server w/ Version Enabled Tables

    Hi,
    I'm currently having a problem with regards to Exporting data to another server. This is the Scenario:
    Source Server is Production Server with all of its Tables in the Schema are Version-Enabled.
    Destination Server is a Test Server.
    I exported data from Production Server using EXP command. Then in my Test Server I imported my data using IMP command (I already created tablespace and user for the Schema).
    Import is successful in my Test server but when I execute my queries, There are no rows returned.
    I checked my _LT tables and it contains my data. but when I query from the View created when version was enabled, no result is returned.
    Am I missing something when I exported and imported my Schema? Should I have included the WMSYS schema when I created the .dump file?
    Thanks in advance.

    Hi Stefan,
    we tried using Export and Import using Data Pump.
    expdp system/password@orcl full=y directory=dmpdir2 dumpfile=FULL_DB.dmp
    impdp system/password@orcl full=y table_exists_action=truncate directory=dmpdir2 dumpfile=FULL_DB.dmp
    Still the same result as using exp and imp. _LT tables have data but when you query using the View, no results are found.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to export tables from development server to production server

    HI,
    Any body plz let me know how to export tables from development server to production server. what are the user names and password i need to ask my manager to do that. what are the requirements i need to ask him.
    Plz reply me ASAP.
    Thanks in advance.

    hi buddy
    first of all you should let us know the environment of production and development servers
    database versions
    and you need to have userid which has privilege to export tables of other schema. userid(owner) of the tables you want to export.
    Traditional way
    export tables in development server and then ftp to production and then import
    in the above case you should have similar database structure(tablespace etc) to avoid errors...
    if there are few tables only , you can use dblink instead of export and import...

  • Simple:How is Copying table space from instance to other?

    Please .. Can u give me the complete way to Copy table space from instance to other using imp/exp???

    Given you didn't post a version you seem to assume there is only one way ... there are at least four I know of so you need to look up the answer for your version yourself.
    http://tahiti.oracle.com
    look up transportable tablespaces
    http://www.psoug.org/library.html
    Working demos under Transportable Tablespaces
    http://www.caleb.com
    look under the DBA scripts

Maybe you are looking for

  • HT2589 How can I set up an apple I'd with no credit card on an ipad mini?

    I have set up an apple I'd but I can't put any free apps on my ipad mini as it won't let me choose the none option when I get to card details as I don't have a credit card and can't use a bank card. How can I do it without a card plz can someone help

  • Changing speakers on IMAC G4 Flat panel

    I want to change the speakers thqat came with the IMAC G4 Flat panel to a pair of Klipsch that have an RCA plug...The plug in for the original speakers seems to be some kind of special miniplug...Can someone help me find an adapter for Klipsch RCA pl

  • "Disable" Sound Check

    There has been much discussion about the pros and cons of Sound Check, and some excellent details are provided about how it works and how difficult a process it is to standardize volume. Generally, I'm happy with the feature with one exception: live

  • Strange email messages

    For some reason my emails are coming up with all sorts of messages i.e. by 10.229.223.129 with SMTP id ik1cs34512qcb; Wed, 25 Aug 2010 07:51:25 -0700 (PDT) Received: by 10.216.54.9 with SMTP id h9mr916892wec.34.1282747883597; Wed, 25 Aug 2010 07:51:2

  • Chats won't connect

    I have this annoying behaviour of my iPhone 4 even after upgrading to IOS5. Facebook chat won't work, skype chat won't work...any app that uses chat won't work unless am connected to a wifi. Even though for most of the time, I have good 3G reception.