dbTalk Databases Forums  

Moving 9i DB from PC-A to PC-B in Win 2k

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss Moving 9i DB from PC-A to PC-B in Win 2k in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Richard A. Negron
 
Posts: n/a

Default Moving 9i DB from PC-A to PC-B in Win 2k - 07-15-2003 , 10:40 PM






Anyone -

I need to move an Oracle 9.2.0.2 Database to a new machine. How can I do
this by moving the database files, control files, parameter files, and redo
files ?

thanks in advance.



Reply With Quote
  #2  
Old   
Anna C. Dent
 
Posts: n/a

Default Re: Moving 9i DB from PC-A to PC-B in Win 2k - 07-16-2003 , 06:33 PM






Richard A. Negron wrote:
Quote:
Anyone -

I need to move an Oracle 9.2.0.2 Database to a new machine. How can I do
this by moving the database files, control files, parameter files, and redo
files ?

thanks in advance.


It depends.
It is easier on some OS than others.

In theory, yes; but only if you really know what you are doing.
Even if you succeed you may be in for a nasty surprise in the future.



Reply With Quote
  #3  
Old   
Niall Litchfield
 
Posts: n/a

Default Re: Moving 9i DB from PC-A to PC-B in Win 2k - 07-17-2003 , 06:51 AM



"Richard A. Negron" <rnegron (AT) cox (DOT) net> wrote

Quote:
Anyone -

I need to move an Oracle 9.2.0.2 Database to a new machine. How can I do
this by moving the database files, control files, parameter files, and
redo
files ?
If the filesystem layout is the same then yes it is simple

close down db on PC-A
move all files across
create new service for db on PC-B using oradim
startup

If you wish to change names, file locations etc the process is more
difficult. What you are doing is known as cloning a database so you could
search for that on google.


--
Niall Litchfield
Oracle DBA
Audit Commission UK




Reply With Quote
  #4  
Old   
oscar_1
 
Posts: n/a

Default Re: Moving 9i DB from PC-A to PC-B in Win 2k - 07-22-2003 , 02:53 PM




Hey there,

I'm trying to do the same thing. Is it possible to do with
full/import export?

--
Posted via http://dbforums.com

Reply With Quote
  #5  
Old   
Anna C. Dent
 
Posts: n/a

Default Re: Moving 9i DB from PC-A to PC-B in Win 2k - 07-22-2003 , 07:36 PM



oscar_1 wrote:

Quote:
Hey there,

I'm trying to do the same thing. Is it possible to do with
full/import export?

--
Posted via http://dbforums.com
Yes, if you know what you are doing.

Please keep in mind that the import utility REQUIRES
a functioning and opened INSTANCE to be avialable &
against which it connects & logs into it.

So the real challenge is to create the "empty" DB
into which the data gets imported.



Reply With Quote
  #6  
Old   
Karsten Farrell
 
Posts: n/a

Default Re: Moving 9i DB from PC-A to PC-B in Win 2k - 07-24-2003 , 12:32 PM



Hi oscar_1, thanks for writing this:
Quote:
Thanks Anna.

I am a little rusty and would like to pick your brain a bit more, if
you're willing?

The import is actually on a Windows Server 2000 box. I'm not that
familiar with process (creating empty dbs, that is), other than I know
I need to use oradim initially to set the stage for using svrmgr to
create the dbs. Questions: What is the password used for in parameter
INTPWRD in oradim and enlight of the fact that you have to have sysdba
privs to do a full import, are default sysdba's created upon creation
of empty dbs?

Appreciate your help.

--
Posted via http://dbforums.com

It can get pretty confusing, can't it? I'm with you. But maybe this will
help.

You use oradim to administer the Windows service for Oracle (or you can
simply get to it thru your control panel - as I prefer - as a member of
the Admistrator group).

You probably then want to create an "empty" database with the Database
Config Assistant (DBCA) off your start menu (and copy the "starter" db
from the CD when DBCA asks - so you don't have to wait for Oracle to
compile and resolve those 8000+ java classes). You will get the standard
userids - sys, system, etc. BTW, you should not get in the habit of using
svrmgr since it disappears with 9i.

Then create your tablespaces (manually or with OEM). Then create the
appropriate schema user accounts.

Then import into them with something like:

imp system/manager ... fromuser=<src_userid> touser=<dst_userid>

Then immediately change the password for the SYS and SYSTEM userids (you
are "forced" to do this for 9i).

--
[:%s/Karsten Farrell/Oracle DBA/g]


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.