dbTalk Databases Forums  

restore/Import

comp.database.oracle comp.database.oracle


Discuss restore/Import in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Deon
 
Posts: n/a

Default restore/Import - 07-18-2004 , 08:17 PM






I am running Oracle 9i on Win2003 and am trying to restore a database
that was backed up from a Unix environment. I am far from a Oracle
expert just know a few commands to get around so please be gentile on
me.

I am using the following commands

create user dbo_UT identified by dbo1;
grant dba to dbo_UT;
alter user dbo_UT default tablespace users;

After creating the user and table space I run the flowing

imp userid=system/please file=dbname.dmp fromuser=dbo touser=dbo_UT

this does not always work more often fails with a null error that it
can not import. But some times it does work. I have found that if I
replace the dbname.dmp file with a fresh copy before I start it is
more likely to work however this is no longer the case.

The database is fairly large about 890 Meg can anyone offer me any
advise

DMn

Reply With Quote
  #2  
Old   
Philippe Valentin
 
Posts: n/a

Default Re: restore/Import - 07-30-2004 , 11:58 PM






Hi,

Any error messages?
Did you grant the right to write to user "dbo_UT" in the users tablespace?
(alter user dbo_UT quota unlimited on users

Ph.

deon (AT) usa (DOT) net (Deon) wrote in message news:<500df492.0407181717.5ecd53c5 (AT) posting (DOT) google.com>...
Quote:
I am running Oracle 9i on Win2003 and am trying to restore a database
that was backed up from a Unix environment. I am far from a Oracle
expert just know a few commands to get around so please be gentile on
me.

I am using the following commands

create user dbo_UT identified by dbo1;
grant dba to dbo_UT;
alter user dbo_UT default tablespace users;

After creating the user and table space I run the flowing

imp userid=system/please file=dbname.dmp fromuser=dbo touser=dbo_UT

this does not always work more often fails with a null error that it
can not import. But some times it does work. I have found that if I
replace the dbname.dmp file with a fresh copy before I start it is
more likely to work however this is no longer the case.

The database is fairly large about 890 Meg can anyone offer me any
advise

DMn

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.