It looks like you did not perform a full import from the full export dump
file.. else roles would have been created.
Now, you can genereate the script to create roles while connected to the
source database:
select 'create role '|| role || ';' from dba_roles;  
Modify it to include passwords, if you have passwords with roles. 

Or run the 'strings' command on the exported dump file:
strings <DumpFileName> | grep 'CREATE ROLE' | sed 's/$/;/' > role.sql 
Edit role.sql if needed. Run it against the target database.

HTH,

Regards

- Kirti Deshpande 
  Verizon Information Services
   http://www.superpages.com

> -----Original Message-----
> From: Ramon Estevez [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, September 22, 2001 10:51 AM
> To:   Multiple recipients of list ORACLE-L
> Subject:      Roles
> 
> Hi folks,
>  
> Scenario 8.0.5 to 8.1.7.
>  
> Testing backup strategies, Murphy's Law, for the 8.1.7 installation of
> tomorrow,
> I made a full export of my DB and made an import in another DB, all the
> data and
> indexes are there, but not my roles.
>  
> How do I move my roles to the another DB in order to import or move them 
> to my new DB.  
>  
> How to keep my roles ?
>  
> Ramon E. Estevez
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> Dominican Republic
> 809-565-3121
>  
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Deshpande, Kirti
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
  • Roles Ramon Estevez
    • Deshpande, Kirti

Reply via email to