Export/import (user mode)

can you help me please,
1- I exported the SCOTT schema (user mode):
exp scott/tiger FILE=D:\scott.dat LOG=D:\scott_exp.log OWNER=SCOTT
then I imported to new created before schema SCOTT_COPY:
imp scott_copy/tiger FILE=D:\scott.dat LOG=D:\scott_imp.log
fromuser=scott
touser=scott_copy
I got in scott_copy only tables from scott (all existed types were not successful imported) WHY only tables (see log)!!.
2- What is the best way to export user and import it with all (objects and privilegs granted to origin user).
thanks
jamil
see scott_imp.log
=================
import done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "ADDRESS_OBJ" TIMESTAMP '2002-02-08:10:15:23' OID '8AB6D00504B0"
"47A9BDAC02E58E4298A0' as object("
"pobox varchar2(20),"
"street varchar2(20),"
"city varchar2(20),"
"state varchar2(20),"
"country varchar2(20))"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "BREAD_LIST" TIMESTAMP '2002-02-08:10:13:03' OID 'D9896A6992394"
"4F58D608A3ED01791D6' as array(10) of bread_obj;"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "BREAD_OBJ" TIMESTAMP '2002-02-08:10:10:55' OID '24F457B9807C47"
"B9B753CEC5E88D584A' as object("
"bread_id number(2),"
"bread_name varchar2(20),"
"sale_price number(5,2),"
"in_stock number(4));"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
IMP-00017: following statement failed with ORACLE error 2304:
"CREATE TYPE "INGREDIENT_OBJ" TIMESTAMP '2002-02-08:10:11:39' OID '8A39AD416"
"8DF411995F0B2B2020BF731' as object("
"ing_id number(2),"
"name varchar(20),"
"price number(5,2),"
"in_store number (8,3))"
IMP-00003: ORACLE error 2304 encountered
ORA-02304: invalid object identifier literal
. . importing table "A" 13 rows imported
. . importing table "ACCOUNT" 5 rows imported
. . importing table "B" 5 rows imported
. . importing table "BONUS" 0 rows imported
. . importing table "DEPT" 5 rows imported
. . importing table "EMP" 13 rows imported
. . importing table "EMP1" 14 rows imported
. . importing table "EMP_SNAPSHOT" 14 rows imported
. . importing table "RECEIPT" 1 rows imported
. . importing table "SALGRADE" 5 rows imported
. . importing table "T" 12 rows imported
. . importing table "TABLE_RESULT" 5 rows imported
. . importing table "TEMP" 3 rows imported
. . importing table "XXX" 0 rows imported
About to enable constraints...
Import terminated successfully with warnings.

Hi Basu,
The source and target database is the same 8.1.7.0.0
more infot about what do i want?export one user with all his objects,priviliges....... by simple words, I would like to have the same copy of source user with new namw of the user one.
thanks.

Similar Messages

  • Export/Import User Page custimizations in V2

    This is a common question customers have about Portal V2. If we have 2 portal environments with same user base and want to export a page group and or page from 1 to the other, how can we bring over user customizations of the page as well?
    thanks

    I go with the assumption that you now know how to create transport sets. After having created a transport set containing the objects you want to be exported, go to the administer tab under the main page of portal. There you will find the Export/Import portlet. Here you need to choose your transport set from the first LOV and then click EDIT to choose the "Security Option". Now you export out the stuff. This will export all the user page customizations for you.
    Thanks.

  • Export/Import Users.

    My requirement is to create users with the same privileges in database B referencing database A. so Whatever users and their respective preveleges i need to have them exactly in database B what parameters should i specify in my exp/imp command just to export import the users and privileges. My requirement is not to export the objects of the users but just the usernames and their privileges.

    Hi,
    i tried to import the user database from one LMS server to another with the following command:
    C:\CSCOpx>"C:\CSCOpx\bin\perl C:\CSCOpx\bin\AddUserCli.pl -import HTTP 172.18.3.
    38 1741 admin ***"
    The filename, directory name, or volume label syntax is incorrect.
    I keep getting this error message and i don't have a clue why its not working.
    I've imported the certificate from the source LMS Server into common services->peer server certificate setup.
    Any hints are much appreciated.

  • Export Import users / groups from repository

    Hi,
    how can i export users from the repository and import it in another one.
    regards,
    Osman
    Edited by: Ossy81 on Jan 18, 2010 2:30 PM

    Hi Osman,
    Here is a command to extract security objects from an OBIEE repository using the UDML command:
    C:\OracleBI\server\bin\nqudmlgen -U Administrator -P Administrator -R C:\OracleBI\server\Sample\samplesales\samplesales.rpd -O C:\OracleBI\server\Sample\samplesales\samplesales.udml -S
    nqudmlgen: This is the actual export command
    -U: This is the user flag, in my case Administrator
    -P: This is the password flag, in my case Administrator since I'm using sample sales
    -R: Is the source repository. I am sourcing from samplesales.rpd on a Windows box
    -O: Is the output file. I am populating a file called samplesales.udml in the same folder as the source
    -S: Exports only security objects
    Here is the command to import the objects
    nqudmlexec -U Administrator -P Administrator -I C:\OracleBI\server\Sample\samplesales\samplesales.udml -B C:\OracleBI\server\Sample\samplesales\samplesales.rpd -O C:\OracleBI\server\Sample\samplesales\samplesales2.rpd
    nqudmlexec : This is the actual import command
    -U: This is the user flag, in my case Administrator
    -P: This is the password flag, in my case Administrator since I'm using sample sales
    -I: This is the input script. In this case, the input to this is the output from the first command
    -B: This is the base repository. In this case, your base repository will be your target repository, the one where you want to migrate the users to.
    -O: This is the output repository. This command makes a copy and applies the changes in the UDML to that copy. So you need to specify an output file. This is the file that will have the changes. The base file will not have the new users since it is just used to make this copy.
    Good luck and if you found this post useful, please reward points!
    Best regards,
    -Joe

  • Export in user mode?

    Questions:
    1. I need to export all object of auser named "target" if I make the following command line the data in the tables (rows) will be exported?
    "exp SYS/password@instance AS SYSDBA FILE = export_target.dmp LOG=export_target.log OWNER=target"
    2. If I want to export it in a target schema named "target", have I to specify TOUSER parameter or just import it, will import in a schema named target?
    3. This command, from where I have to execute it (SQL Plus or Prompt)? where will put the file ".dmp" in the export.
    Thanks in advance.

    1. Do not export with sys account. ;-)
    Consider using SYSTEM instead.
    BTW, the exp command seems to be ok
    2. Export is exporting. The Fromuser/toUser has sense only during import.
    3. Run this at the prompt. The file will be generated in current folder.
    4 and most important : make the tests by yourself !!!! you'll learn more and faster...
    You can try those 3 points alone, without this forum... ;-)

  • Export/Import Parameters dissapear when using user-exit

    I am using some import/export parameters in a dynamic action when I create a new record (infotype). I am also using a user exit to avoid modifying BEGDA and ENDDA when I modify the record (IPSYST = 'MOD'). Using this user-exit, the parameters dissapear from memory so the dynamic action does not execute well. What can I do to use the user-exit?? Anything to add?

    In the dinamic actions when I create, I delimit records on infotype with export/import parameters defined in infotype Module Pool. When I delete, I avoid deleting the record if it is not the last one. With the user-exit the modification of begda endda in infotype is not allowed. If I use the user-exit, the dinamic actions which use export/import parameters, don't work.
    I have tried to do in MP what I do in user-exit but it is not easy because I haven´t got in PSAVE what I want.

  • Export / import tablespace with all objects (datas, users, roles)

    Hi, i have a problem or question to the topic export / import tablespace.
    On the one hand, i have a database 10g (A) and on the other hand, a database 11g (B).
    On A there is a tablespace called PRO.
    Furthermore 3 Users:
    PRO_Main - contains the datas - Tablespace PRO
    PRO_Users1 with a role PRO_UROLE - Tablespace PRO
    PRO_Users2 with a role PRO_UROLE - Tablespace PRO
    Now, i want to transfer the whole tablespace PRO (included users PRO_MAIN, PRO_USER1, PRO_User2 and the role PRO_UROLE) from A to B.
    On B, I 've created the user PRO_Main and the tablespace PRO.
    On A , i execute following statement:
    expdp PRO_Main/XXX TABLESPACES=PRO DIRECTORY=backup_datapump DUMPFILE=TSpro.dmp LOGFILE=TSpro.log
    On B:
    impdp PRO_Main/XXX TABLESPACES=PRO DIRECTORY=backup_datapump DUMPFILE=TSpro.dmp LOGFILE=TSpro.log
    Result:
    The User PRO_Main was imported with all the datas.
    But i 'm missing PRO_USER1, PRO_User2 and the role PRO_UROLE...
    I assume, i 've used wrong parameters in my expd and / or impdp.
    It would be nice, if anybody can give me a hint.
    Thanks in advance.
    Best Regards,
    Frank

    When you do a TABLESPACE mode export by specifying just the tablespaces, then all that gets exported are the tables and their dependent objects. The users, roles, and the tablespace definitions themselves don't get exported.
    When you do a SCHEMA mode export by specifying the schemas, you will get the schema definitions (if the schema running the export is privied) and all of the objects that the schema owns. The schema does not own roles or tablespace definitions.
    In your case, you want to move
    1. schemas - which you already created 1 on your target database
    2. roles
    3. everything in the tablespaces owned by multiple schemas.
    There is no 1 export/import command that will do this. This is how i would do this:
    1 - move the schema definitions
    a. you can either create these manually or
    b1. expdp schemas=<your list of schemas> include=user
    b2 impdp the results from b1.
    2. move the roles
    expdp full=y include=role ...
    remember, this will include all roles. If you want to limit what gets exported, then use:
    include=role:"in ('ROLE1', 'ROLE2', ETC.)
    impdo the roles just exported
    3. move the user information
    a. If you want to move all of the schema's objects like functions, packages, etc, then you need to use a schema mode
    export
    expdp user/password schemas=a,b,c ...
    b. If you want to move only the objects in those tablespaces, then use the tablespace export
    expdp user/password tablespaces=tbs1, tbs2, ...
    c. import the dumpfile generated in step 3
    impdp user/password ...
    Hope this helps.
    Dean

  • Export/Import with apps user or EUL schema owner ?

    Hi,
    I am working with a migration plan to move Discoverer 9 to Discoverer 10.
    It is an apps mode EUL, where business areas and workbooks have been granted to Apps Users & Responsibilities.
    Customer has only maintained the EUL with the database user of the EUL owner.
    What is recommended for exporting/importing the EUL from 9 to 10.
    To connect to Administrator as the EUL owner, or to connect as an apps user ( SYSADMIN ? )
    Will all the grants to apps users/responsibilities work when importing as schema owner ?
    I tried to create a entire EUL export file connected as EUL owner, and for the workbooks the export log contained :
    1234#.Workbook name1
    2345#.Workbook name 2
    1234 is the user_id for the workbook owner ( All workbooks have been created by an apps user )
    Will the import process manage to convert this user_id, and set the correct owner for the imported workbooks ?
    ( I will use the option Only take ownership if original owner not found )
    I am not sure, but I think I have seen the following syntax in other projects when exporting an apps mode EUL
    SYSADMIN.Workbook name 1
    SYSADMIN.Workbook name 2

    >
    What is recommended for exporting/importing the EUL from 9 to 10.
    To connect to Administrator as the EUL owner, or to connect as an apps user ( SYSADMIN ? )
    Will all the grants to apps users/responsibilities work when importing as schema owner ?
    Hi,
    The best that i know is that you should export using the DB user so that you will not have problem with workbooks or BA that you are not granted for (or any other grants or privileges).
    The import should be done using the APPS user (the super user you use).
    That way if you import a workbook that the owner will not be found then you will get the ownership and you can after migration deal with it.
    If you'll do that with the DB (EUL owner) user after migration you will not have access to those workbooks.
    Any way about the workbooks i suggest you'll save them as DIS files for cases that the import of the workbooks or the owner association for them fail.

  • 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

  • Export and Import User Command Line

    Hi,
    I would like to export a user on my Xserver via command line. I know it's the nidump command but not sure how to use it for a proper export. After the export I want to import that user on a second macosx server with niload or whatever command is needed.
    Please can somebody post some examples for me.
    Thanks heaps,
    Christian

    I would like to export a user on my Xserver via
    command line. I know it's the nidump command but not
    sure how to use it for a proper export. After the
    export I want to import that user on a second macosx
    server with niload or whatever command is needed.
    To export all users on the old server:
    sudo nidump passwd . > myExportFile
    Then open the file with TextEdit (or the like) and clear out all the users you do not want to import. Then copy the file to your new server and do:
    sudo niload passwd . < myExportFile
    Note: this only works with local NetInfo users, not LDAP ones.<br>
    MacBook Pro   Mac OS X (10.4.6)  

  • EXPORT Problem. when i choose USER mode, it is exporting full database

    Dear OTN Members,
    we have a system ORacle 8i, 8.1.3 database, we created a user with DBA role, when we want to export data for a perticular user, after giving USER MODE Option, it is doing full database export including sys, system etc.
    what is the reason?
    Thanks in advance

    Any ideas please,
    Still im looking for this solution. I have a " user" with DBS role, we are trying to export only this user, it is coming up to type of mode like
    1)E ntire database 2)U 3) T ables >
    we are choosing user mode, but all the time it si taking Entire databse, including, Systtem and other users eetc.
    im struggling since 20 days. no success. Please

  • Export & import weblogic 7 users

    Hey,
    I'm currently migrating a Weblogic 7.0.1 installation from
    a Windows 2000-system to a RedHat-Linux 7.3-system.
    I've been successfull at doing the installation on Linux and
    installing all the applications.
    Now 1 small problem still remains. On my current Weblogic installation (W2K) I've
    got currently about 80 users created and a couple of roles. Now I have to create
    all those users again on the Linux-installation.
    Instead of recreating every user again, I was hoping there was a way to export
    the users to a file and import them on the linux-installation.
    Can anybody help me find a way to tackle this small issue ???
    Thanks in advance.
    Bart Laeremans

    Hi Martin
    Here's another possible approach (I haven't tested it though)
    1. Export the DEV workspace(s) before the clone
    2. Comment out the wwv_flow_fnd_user_api.create_company statement and any groups/users that already exist in prod e.g. ADMIN
    3. After the clone Run the export.sql files from the SQL*PLUS command line, which hopefully will just create your users
    There's a few manual steps modifying the files, and it's probably not supported but it might be the simplest/quickest way (if it works)
    Cheers
    Matt

  • How to export/import apex user ?

    Hi All,
    I am using APEX 3.1. How to export apex users and import into different workspace. Basically I am trying export APEX users from dev workspace into Prod. Is it possible to include as part of application export?
    Anyone's help is much appreciated.
    Regards

    apex_util.export_users
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#BABCDACJ
    This function was available with 3.2, I didn't confirm for 3.1
    Scott

  • HT1338 I have macbook without a firewire port, I have usb 2.0 port, now my os is not working I can not get through apple logo loading , I can not enter safe mode, I can only enter one user mode, how can I backup my data, I have very important data in my h

    I have macbook without a firewire port, I have usb 2.0 port, now my os is not working I can not get through apple logo loading , I can not enter safe mode, I can only enter one user mode, how can I backup my data, I have very important data in my hdd

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

  • Export AD users to csv and import them to Exchange using shell

    I'm implementing Exchange 2013 on a Windows server 2012R@ network.
    Now i want to import the users from the AD on the server into the Exchange server.
    I've created a csv from the AD users, but there begins the problem.
    I can't seem to get past some isseus..... The following script is where i'm at at the moment.
    C:\Windows\system32> $list=import-csv "C:\users......." |foreach {new-mailbox $_.emailaddresss}
    when i run this script in the shell of exchange i'm missing some parameters.
    I need a password and a userprincipalname.
    Can i include this in my script? And which password do i need?

    Are you implementing Exchange 2013 into an existing AD environment or are you trying to import users that exist in a separate AD forest into your environment?
    If you are implementing Exchange into an existing AD forest where the AD user accounts already exist, do use the Enable-Mailbox cmdlet instead as this adds a mailbox for an existing AD user.  The New-Mailbox cmlet will create a new AD user account,
    which would be a problem if the accounts already exist.
    If you are trying to bulk create mailboxes in a new AD environment where these AD accounts do not already exist, then you will need to create a password to assign to all the new accounts being created.
    This link has information on creating new mailboxes using an input CSV and assigning passwords via the EMS.
    http://exchangepedia.com/2006/11/exchange-server-2007-bulk-creation-of-mailboxes-using-exchange-management-shell.html

Maybe you are looking for