Solved

how to grant privelege to user on  importing  dump file

Posted on 2009-03-30
3
550 Views
Last Modified: 2013-12-18
I have created a user/schema say XYZ in oracle 10g. I gave the privilege to the user as
grant resource to XYZ ;
 I gave ran all the DDL scripts to generate Table, Sequence, Trigger etc structure.
Then I am importing the dump file(say abc.dmp) into the schema using the command
imp XYZ/password full=y file=abc.dmp ignore=y
When I do that getting error saying
ORA-01031: insufficient privileges

How can i get rid of this error. Is there is a way I can give import operation privilege to this particular user XYZ. Please advise. Any links , resources, ideas highly appreciated. Thanks in advance.

0
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Accepted Solution

by:
LindaC earned 400 total points
ID: 24024586
grant connect, exp_full_database, imp_full_database, select_catalog_role, unlimited tablespace, select any sequence, become user, backup any table, analyze any to backup_user;

Grant exempt access policy to backup_user;  

As sys the following privileges:

grant select on sys.incexp to backup_user;
grant select on sys.incfil to backup_user;
grant select on sys.incvid to backup_user;            

0
 
LVL 23

Assisted Solution

by:David
David earned 100 total points
ID: 24029403
FWIW, you would be amazed at how much better datapump exports are over the older method.  Search the EE knowledge base for prior discussion if intrigued.
 
0
 
LVL 7

Author Closing Comment

by:gudii9
ID: 31564550
Thank you very much. I appreciate it
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

730 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