How to do this Export / Import

Calling all database gurus,
I Have database_1 on Windows which has a particular schema / user tables I want to copy to a different database on Linux (which does not have the schema, tables, users),
Put simply How do I export the relavent schema/users/tables from database1 and how do I import the same into database 2
Thank you

At a minimum you can do this:
Let say the username is data_owner, run the following command on windows to take the export
exp userid=system/password file=c:\data.dmp owner=data_owner direct=y log=c:\data_exp.log
FTP this "C:\data.dmp" file to the linux box.
Create the same user (you can change the name if you want) on linux box using following command:
SQL>create user data_owner identified by password;
After that run the following command to import that data from windows:
imp userid=system/password file=/home/oracle/data.dmp fromuser=data_owner touser=data_owner log=data_imp.log
Daljit Singh

Similar Messages

  • I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file  in that edit  how  to change user roles in that xml it will generate automatic id.h

    I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file  in that edit  how  to change user roles in that xml it will generate automatic id.how to do that in xml file ?

    Thanks john for you are reply.
    I had tried what you sad.I open shared service in that foundation project i had export shared service.after that in import-export file.In that role.csv,user.csv,group.csv.Like this file have.When i open user file added some users after i trying save in excel it shown messgse
    I click yes and save the .csv file and import from share servie. i got error like this
    am i doing right way john.or explain clearly

  • Condition type value is uploaded in inventory ,how can avoid this in import

    Dear Friends,
    I am doing Import , in import pricing  having two condition type which are copy of FRB2 .
    Where i am putting Amount and vendor name.
    ex.
    1) CUSTOM VAT - AMOUNT - AND - VENDOR AS SRILANKAN CUST,
    2) CUSTOM NBT - AMOUNT - AND - VENDOR AS SRILANKAN CUST,
    Both are recoverable.
    Now my question is that what ever amount i am putting here that is going to load on inventory . But I dont want this. how to achieve this???
    Regards,
    Mahesh.

    Hi,
    Cost of  (CUSTOM VAT & CUSTOM NBT) both take to two different G./L account.In import calculation schema in M/08 ,check your CUSTOM VAT & CUSTOM NBT condition types and see account key & accrual must be assigned {say example account key FRE and accrual key FR6 & FR7 ( a copy of FR1)}
    Now use t.code M/06, select CUSTOM VAT & CUSTOM NBT condition type, go to details & select accrual flag in control data 2 TAB & keep B in condition category in control data 1 segment save. Again in OBYC , just assign FR6 accrual key with your  CUSTOM VAT G/L account  and assign FR7 accrual key with your  CUSTOM NBT G/L account  with your chart of account, valuation class & valuation modifier & save.
    Now do transaction and see both are posted to separate G/L account not added to inventory material cost.
    NOTE:
    Cost of  (CUSTOM VAT & CUSTOM NBT) can post Material Inventory Account :
    Use t.code M/06, go to details of CUSTOM VAT & CUSTOM NBT condition types & keep BLANK in condition category in control data 1 segment and do not select accrual flag in control data 2 TAB  for both condition types & save. Do not keep / assign any account key & accrual key are assigned {Keep BLANK} to both CUSTOM VAT & CUSTOM NBT condition types in import calculation schema in M/08.
    Regards,
    Biju K

  • How to speed up export import

    Database 10.2.0
    While doing export/import operation what are factors effecting the speed of operation..?

    Below are the points which I collected from different links in my Oracle Notes:
    Faster Export:
    1. direct=y
    2. subsets by query option
    3. proper buffer size by rows in array * max row size
    4. place the dump file to another disk (which is not having any datafile; to avoid I/O contention)
    5. when database activity is low (in the morning or late eve)
    6. PARALLEL
    Faster Import:
    1. indexes=n
    2. constraints=n
    3. user large buffer parameter
    4. increase recordlength
    5. commit=n
    6. statistics=none
    7. enough undo size
    8. enough pga/sort_area_size
    9. enough / Increase db_cache_size/db_block_buffers size and share_pool_size
    10. when database activity is low (in the morning or late eve)
    11. PARALLEL
    Now check how your import is going on:
    select
    substr(sql_text,instr(sql_text,'into "'),30) table_name,
    rows_processed, round((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60,1) minutes,
    trunc(rows_processed/((sysdate-to_date(first_load_time,'yyyy-mm-dd hh24:mi:ss'))*24*60)) rows_per_minute
    from
    sys.v_$sqlarea
    where
    sql_text like 'insert %into "%' and command_type = 2 and open_versions > 0;
    Regards
    Girish Sharma

  • How to wrap the export/import utility using perl

    Hello,
    How to user perl to wrap the export/import utility? Thanks.

    If you are using DBMS_SCHEDULER, I would expect that you would just invoke export directly. I'm not sure I see the benefit to putting a Perl wrapper on top in that case. Of course, DBMS_SCHEDULER could invoke a Perl script just as it can invoke a shell script if there was some particular need to have a Perl layer there.
    Of course, I assume that you're not trying to invoke export on a regular basis as your primary backup method... Exports should be a complement, not a supplement, to a proper physical backup (i.e. via RMAN).
    Justin

  • How to log BIAR export/import from command line

    Hello
    Can anyone please tell me how to log the actions during the import (or export) of a BIAR file when it is executed from the command line
    OR
    If this type of logging is enabled by default then can anyone tell me where the log files would typically be found
    Best regards and thank you
    Patrick
    C:\Program Files\Business Objects\common\4.0\java\lib>
    java -jar biarengine.jar MyCMSImport.properties

    Hi,
    We can get the log files for the actions that happen during the import / export via Import Wizard.
    Complete these steps to create a log file:
    1. Create the following Windows system variables:
    BO_TRACE_CONFIGDIR = C:\Botrace
    BO_TRACE_CONFIGFILE = C:\Botrace\BO_trace.ini
    BO_TRACE_LOGDIR = C:\Botrace
    2. Copy the BO_trace.ini file to the c:\Botrace folder.
    3. Run the Import Wizard and then view the BO_trace.ini file in the c:\Botrace folder.
    Additional Information
    The following are the default values in the BO_trace.ini file:
    active = true;
    importance = xs;
    size = 1000000;
    keep = true;
    Hope this helps.
    Regards,
    Deepti Bajpai

  • Does anybody know how to solve this exporting issue?

    I am trying to export my video and this message keeps coming up and failing my export. I have never had a problem before and have been using Premiere for over 6 years now and have never seen this before. I have changed settings here and there, but regardless what I try to export into I get the same error message. Tried opening a new sequence and copying over my project to then export by still nothing.
    On a few instances it did export some of my video, but only about half of it, even though it was set to export the entire video.
    I can't find a solution to this issue. I have enough disk space, so that isn't the issue.
    Please can someone help?

    Error Compiling Movie... some past discussions and ideas
    -http://helpx.adobe.com/premiere-pro/kb/error-compiling-movie-rendering-or.html
    -http://helpx.adobe.com/premiere-elements/kb/error-error-compiling-movie-render.html
    -and nested sequences http://forums.adobe.com/thread/955172

  • Export/Import integrator metadata between instances

    Hi all
    We have hit recently a situation with some customers who would like to migrate integrator related metadata from one instance to another (integrator, components, mappings, layout, parameter list).
    They are doing this using FNDLOAD. For example
    Download phase on the source.
    FNDLOAD apps/apps 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bneint.lct XXCOHR_Integrators.ldt BNE_INTEGRATORS INTEGRATOR_ASN="XXCOHR" FNDLOAD apps/apps 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bnemap.lct XXCOHR_mapping.ldt BNE_MAPPINGS MAPPING_ASN="XXCOHR" FNDLOAD apps/apps 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bnelay.lct XXCOHR_Layouts.ldt BNE_LAYOUTS LAYOUT_ASN="XXCOHR" FNDLOAD apps/apps 0 Y DOWNLOAD $BNE_TOP/patch/115/import/bnecont.lct XXCOHR_bnecont.ldt BNE_CONTENTS CONTENT_ASN="XXCOHR"
    Upload phase on the target.
    FNDLOAD apps/apps 0 Y UPLOAD $BNE_TOP/patch/115/import/bneint.lct XXCOHR_Integrators.ldt FNDLOAD apps/apps 0 Y UPLOAD $BNE_TOP/patch/115/import/bnelay.lct XXCOHR_Layouts.ldt FNDLOAD apps/apps 0 Y UPLOAD $BNE_TOP/patch/115/import/bnemap.lct XXCOHR_mapping.ldt FNDLOAD apps/apps 0 Y UPLOAD $BNE_TOP/patch/115/import/bnecont.lct XXCOHR_bnecont.ldt
    The problem is that after trying to create a document using the new BNE elements they are getting various errors.
    No parameter list definition at parameter list idor No Mappings exist for the specified Content.
    I have had a look at some patch delivering integrators via the same LCT files , and the unified driver has for example the following sequence which is executed during the patch
    exec fnd bin FNDLOAD bin &phase=last+1 checkfile:pay:patch/115/import/D:pyinfcmp.ldt &ui_apps 0 Y UPLOAD @BNE:admin/import/bnecomp.lct @PAY:patch/115/import/D/pyinfcmp.ldt - UPLOAD_MODE=NLS WARNINGS=TRUE
    exec fnd bin FNDLOAD bin &phase=last+1 checkfile:pay:patch/115/import/D:pyinfcnt.ldt &ui_apps 0 Y UPLOAD @BNE:admin/import/bnecont.lct @PAY:patch/115/import/D/pyinfcnt.ldt - UPLOAD_MODE=NLS WARNINGS=TRUE
    exec fnd bin FNDLOAD bin &phase=last+1 checkfile:pay:patch/115/import/D:pyinfint.ldt &ui_apps 0 Y UPLOAD @BNE:admin/import/bneint.lct @PAY:patch/115/import/D/pyinfint.ldt - UPLOAD_MODE=NLS WARNINGS=TRUE
    exec fnd bin FNDLOAD bin &phase=last+1 checkfile:pay:patch/115/import/D:pyinflay.ldt &ui_apps 0 Y UPLOAD @BNE:admin/import/bnelay.lct @PAY:patch/115/import/D/pyinflay.ldt - UPLOAD_MODE=NLS WARNINGS=TRUE
    exec fnd bin FNDLOAD bin &phase=last+1 checkfile:pay:patch/115/import/D:pyinfmap.ldt &ui_apps 0 YUPLOAD @BNE:admin/import/bnemap.lct @PAY:patch/115/import/D/pyinfmap.ldt - UPLOAD_MODE=NLS WARNINGS=TRUE
    exec fnd bin FNDLOAD bin &phase=last+1 checkfile:pay:patch/115/import/D:pyinfpar.ldt &ui_apps 0 Y UPLOAD @BNE:admin/import/bneparamlist.lct @PAY:patch/115/import/D/pyinfpar.ldt - UPLOAD_MODE=NLS WARNINGS=TRUE
    I couldn' find anywhere this process being documented in an official document or Note.These customers have used some external non-oracle references fordoing so.
    Is there anywhere a document giving more information on how this export/import is supposed to work?
    Please reply to me directly as I am not part of this mailing list.
    Thank you and best regards,
    Dan

    Looks like you have not transferred your parameter list. Please use following code to download and upload your parameter list.
    Download
    FNDLOAD apps/$FNDPWD 0 Y DOWNLOAD $ BNE_TOP / admin / import / bneparamlist.lct GENERAL_201.ldt BNE_PARAM_LISTS INTEGRATOR_ASN = "HX" INTEGRATOR_CODE = "GENERAL_201_INTG"
    Upload
    FNDLOAD apps/$FNDPWD 0 Y UPLOAD $BNE_TOP/admin/import/bneparamlist.lct GENERAL_201.ldt
    For mapping there is a possibility that you might have migrated wrong content. You need to migrate content which is none instead 'text'
    HTH

  • Issue with Memory ID export / import

    Hi Experts,
    We are facing strange issue during export/import from memory ID.
    We are exporting value to Memory ID from module pool program and trying to import same value in SAP workflow method.
    While importing the value from memory ID it is failing to import and gives sy-subrc =4.
    Any idea how can we do export/import in module pool program to Workflow method?
    Regards,
    Sanjana

    Hi sanjana,
    Please check the link. Here you can find some examples also.
    http://wiki.scn.sap.com/wiki/display/Snippets/Import+and+Export+to+Cluster+Databases
    P.S
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bf8358411d1829f0000e829fbfe/content.htm
    You just need to create a key and an ID to save data into INDX table.Once its saved you can use same key and id to import .
    Again mentioning , dont forget to delete using same key and ID once you have imported else it may give error.
    Regards,
    Sandeep Katoch

  • Exporting & Importing Physical & Logical schemas, data servers, agents

    Hi,
    I am using ODI 10g.
    I want to export Physical & Logical schemas, data servers, agents from my ODI test environment and to import them to ODI production environment.
    My requirement is to do this export import through some scripts instead of doing it manually.
    Please guide for this.
    Thanks,
    Divya

    Hi Divya,
    Personally i feel rather than exporting individual components/objects, its suggested to export master repository as such.
    You can make use of ODI utility OdiExportMaster (under <ur package>->Tools->Oracle Data Integrator Objects) for exporting and Import Master Repository wizard (All Programs->Oracle-> Oracle Data Integrator->Repository Management-> Master Repository Import )for importing.
    Thanks,
    Guru.

  • Official oracle stance on portal 9.0.2 migrate/export/import

    i have been working with oracle support, scouring the forums and deja and metalink, applying patches, standing on my head... trying to export my 9.0.2 portal applications, reports, pages and such from a 9.0.2 implementation into an exact same 9.0.2 implementation. i have run into issues with the reports, issues with the pages, corrupt objects that can't be deleted, most everything stated on this forum, plus more. i have asked oracle time and again when the migrate scripts [the FAQ still posted at technet and portalcenter STILL says the scripts will be available august/september] will be ready and have gotten no meaningful response. surely oracle cannot pretend that this export/import works and I NEED A REPLY FROM ORACLE AS TO THEIR OFFICIAL STANCE on this and as to when we can expect a working solution. i am going to have to recommend against oracle portal because we cannot get from our development environment into a testing one.

    thanks... i do hope they can give us some expectation of when this will be ready for primetime. i couldn't get my pages across because i get a region not found error, so i tried just to import my provider applications that include rwreps with parameters. i figured worst case i could manually recreate the pages. the export indicates no errors, the import check mode indicates no errors, but the actual import gives me a warning on every portlet parameter and none of my reports come across:
    sample warning i receive:
    Importing portlet preferences ..........
    Importing category/perspective info ..........
    ---------- Before Importing Pronto Tables ----------
    *** Warning: no corresponding portlet parameter ID found on target for 295 for BUSINESS_UNIT
    so i applied patch 2617359 per oracle support but no luck. apparently this is another bug being worked on by support [Bug:2644937 Abstract: IMPORT:PAGE:PRONTO:REPORT:SECURITY:PORTLET PARAMETER ID NOT FOUND IN LOG] but in the meantime i face the prospect of having to manually recreate 40 plus reports on each instance. this may or may not be related to bug 2426089 from version 3.0.9.x [Bug 2426089 Abstract: PARAMETERS ARE NOT VISIBLE AFTER REGISTERING THE REPORTS ON PORTAL]. i am still trying to come up with some way to get my reports across. i'm going to try exporting/importing just a report with nothing else and see what happens.

  • How to invoke the exported function of odbc32.dll

    Hi,
    I am unable to find the dll (SQLAllocHandle.dll) in our system. Its mentioned that the ‘SQLAllocHandle’ is one of the exported function of odbc32.dll
    I want to find out how to invoke this exported function and make use of the same in our system?
    Regards,
    Jay

    Your question leads me to believe you're not sure what you're asking.
    SQLAllocHandle is an ODBC api call, and you use it in your ODBC API program, the same way you use other ODBC api calls.
    Here's an example of a simple ODBC API program that uses SQLAllocHandle.
    Hope it helps,
    Greg
    #include "windows.h"
    #include "stdio.h"
    #include "sql.h"
    #include "sqlext.h"
    void GetSQLError();
    #define checkforerrors if (rc!=SQL_SUCCESS){GetSQLError();exit(1);}
    static      HENV     henv;
    static      HDBC     hdbc;
    void main(int argc, char *argv[])
         SQLRETURN rc=0;
         SQLCHAR* uid="SCOTT";
         SQLCHAR* pwd="tiger";
         SQLCHAR* dsn="orcl32";
         rc = SQLAllocHandle(SQL_HANDLE_ENV,SQL_NULL_HANDLE,&henv);checkforerrors
         rc = SQLSetEnvAttr(henv,  SQL_ATTR_ODBC_VERSION,(SQLPOINTER)SQL_OV_ODBC3,0);checkforerrors
         rc = SQLAllocHandle(SQL_HANDLE_DBC, henv, &hdbc);checkforerrors
         rc = SQLConnect(hdbc, dsn, (SWORD)strlen(dsn), uid,(SWORD)strlen(uid),pwd,(SWORD)strlen(pwd));checkforerrors
         printf("connected\n");
         rc = SQLDisconnect(hdbc);checkforerrors
         rc = SQLFreeConnect(hdbc);checkforerrors
         rc = SQLFreeEnv(henv);checkforerrors
    void GetSQLError()
    long    llDbErrCd = 0;
    short   llRetMsgLen = 0;
    char    lszSqlErrMsg[255];
    char    lszSqlMsg[255];
    SQLError(henv,hdbc,0,(SQLCHAR*) lszSqlErrMsg,&llDbErrCd,(SQLCHAR*) lszSqlMsg,255,&llRetMsgLen);
    printf(lszSqlErrMsg);
    printf(lszSqlMsg);
    }

  • How do you produce both Customs Export & Import documentation in an STO?

    Hello All -
    How do you produce both Customs Export & Import documentation in an STO scenario? For instance, if a company would like to create a STO in SAP to move materials from one plant to another and would like to produce both the Export & Import paperwork in GTS, what documents would be needed in R/3 to make this possible?
    Would the following be needed, or is there some other way?
    - STO
    - Outbound Delivery & F8 Invoice to generate the Customs Shipment in GTS for the Export documentation
    - Inbound Delivery to generate the Customs Declaration in GTS for the Import documentation

    Thanks Sameer -
    Yes, for the Import documentation, I think we will be declaring prior to Goods Receipt, so we will first use the Inbound delivery, and then the GR document later on once the materials have been received. (I believe you and I were talking about some of this in another thread actually.) Thank you for confirming this.
    As for the Note, I have also seen this - but thought that this was to more or less give visibility to the sending plant up-front at STO of what export licenses might be needed. (According to the note, currently they would only be able to check if licenses were needed at the outbound delivery, and not on the PO)
    Per the note: "Given a Stock Transport Purchase Order scenario: Plant A in Germany issues a STO PO against vendor plant US10 in the US. GTS looks at the PO in terms of importing from the US (departure country) coming into Plant A in Germany and performs compliance checks. Meanwhile, exporting plant US10 only has visibility at outbound delivery creation to see if am Export License is needed. Exporting plant US10 may want to know if they need a license to the country of destination, in this case Germany, at STO PO creation."
    However with the proper country-level export/import activation of the legal regulations, I believe that you can still have the STO check export-related licenses even though it is mapped to GTS as IMPORD. I have done some testing on this and it appears to work (you just need to ensure that you are activating the relevant countries for export/import properly in the legal regulation, and you can have both export & import documents check the same legal regulation and deliver the correct license determination). I was just wondering if you had any experience with this that was contrary to what I have found, or if there is something you think I am missing..
    Thanks

  • How to Export/Import/Create a VM with an existing OS-Drive.

    How do I do the same things that these Power Shell command do with the REST-Based API?
    Export-AzureVM
    Remove-AzureVM
    Import-AzureVM
    New-AzureVM
    Eventually I want to be able to export and import Virtual machines in a similar way to this:
    Export and Remove machine
    Export-AzureVM -ServiceName <ServiceName>  -Name <Name> -Path <FileName>
    Remove-AzureVM -ServiceName <ServiceName>  -Name <Name>
    Import Machine
    Import-AzureVM -Path <FileName> | New-AzureVM -ServiceName <ServiceName> -Location <Location>

    No, still not enough information.
    What I need is a direct mapping between PowerShell commands and rest API calls.
    Something like this:
    Export-AzureVM -ServiceName <ServiceName>  -Name <Name> -Path <FileName>
    MAPS TO
    Rest API and the XML to go with it(with the parameters from the powershell command clearly marked in the xml)
    I thought the intention of the BETA/Preview was to have users/developers test the stuff. But if you want users to do it without any help/documentation
    you can't really be serious about it. And to use a tool like reflector (which
    I now days have to buy) to try to reverse engineer Microsoft code
    to try to figure out how it is done is just so wrong in so many ways.
    If you guys at Microsoft don't get your shit together very soon, than developers will start using documented platforms where stuff actually works.

  • How to get existing library imported to new itunes install, old library was  not backed up or exported

    How to get existing library imported to new itunes install, old library was not backed up or exported.  This occured due to Win 7 user profile was corrupt.

    I know that in Mac OS X one can pick which library to use by holding down the option key while starting iTunes. What's the Windows equivalent?
    Press the Shift key.
    WIll the fact that the music is now on another physical drive make a difference
    No.
    I know the previous install is at least 7.0, but I have no idea about which point release.
    Try checking the content of the iTunes Music Library.xml file.
    Finally, what's the expected behaviour (or required procedure) with respect to reauthorization of this computer to use the same ITMS-purchased files?
    You will be asked to reauthorize the computer.
    (28446)

Maybe you are looking for