Solved

Export Roles

Posted on 2006-06-26
1
1,590 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.

Join & Write a Comment

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
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…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now