Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

user1755758Mar 25 2013 — edited Mar 26 2013
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
This post has been answered by Dean Gagne-Oracle on Mar 25 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2013
Added on Mar 25 2013
7 comments
2,221 views