Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Cold Backups
[I'm assuming UNIX here]
[sidestep: If you want the TNS listener to export this database as well, update the listener.ora file.]
[Oops: you mention wordpad. I guess you are on NT. Same procedure except that new instances are created using a special command]
Erwin
vmisetich_at_my-deja.com wrote:
>
> If I wanted to do this on the same machine, and I needed to edit my
> controlfiles, what tool would I use to do this? And what pieces of
> information would I need to change? I know pathnames were mentioned
> below, but is there anything else(SIDs, for example)that I would need
> to change? I took a look at a controlfile using wordpad, and I saw
> mostly weird characters and symbols, with a few pieces of intelligible
> information thrown in. So I'm guessing wordpad isn't the ideal tool to
> use.
>
> Thanks,
> Vince
>
> In article <37F8F140.473291F5_at_wxs.nl>,
> Erwin Dondorp <erwindon_at_wxs.nl> wrote:
> > > Suppose I have two Oracle 8.1.5 instances created (I’ll call them A
> and
> > > B). Suppose both instances are in NOARCHIVELOG mode. I want to
> make
> > > instance B a perfect copy of instance A. Could I accomplish this by
> > > taking a cold backup of instance A and restoring the cold backup
> into
> > > the appropriate directories belonging to instance B?
> >
> > Yes, but the copied controlfiles contain all the path names of the
> > datafiles and logfiles.
> > If you plan to do this on the same machine, you will have to rename
> the
> > filenames in the controlfile
> > before opening the database or you will be trying to use the original
> > datafiles.
> > You need to copy the init.ora and config.ora files as well to get
> > exactly the same behaviour.
> > The init.ora file contains the path names to the controlfiles so you
> > will need to change these
> > before mounting the database.
> >
> > If instance B is on a different machine it is much simpler.
> > Just use exactly the same pathnames.
> >
> > Erwin
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
--
Erwin Dondorp
<http://www.wxs.nl/~erwindon>
Received on Tue Oct 05 1999 - 13:48:50 CDT
![]() |
![]() |