Solved

Export Roles

Posted on 2006-06-26
1
1,591 Views
Last Modified: 2012-06-27
Hello all,

I have two Oracle 9i servers. I have recreated everything on the backup server from the production server.

I want to recreate the roles from the production box on the backup server, how can I transfer the roles easiest?

Thanks
0
Comment
Question by:TRAININGBSC
1 Comment
 
LVL 14

Accepted Solution

by:
sathyagiri earned 125 total points
ID: 16984260
Do a full export, but with ROWS=N parameter
Find the ROLE commands in the export file using "grep" or something similar. Redirect the output to a file and use that file to create roles on your target database

Or

You could look at the source database's data dictionary views and use dynamic sql to extract and create the DDL for the ROLES.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
passing parameters to sql script oracle 4 42
Oracle SQL Select unique values from two columns 4 54
PL/SQL Two changes 7 27
migration MS SQL database to Oracle 30 61
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question