Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Cloning a database
Ban Spam wrote:
> marko mikulicic <marko_at_seul.org> wrote in news:3B7F589A.5070701_at_seul.org: > >
> > Below is a SQL script that generate a Korne Shell script > which I use to clone any DB. FWIW "pandora" is my test box. > > set pages 0 feedback off lines 255 > spool clone-db.ksh > select 'rcp ' || file_name || ' pandora:' || file_name || ' &' from > dba_data_files; > select 'rcp ' || name || ' pandora:' || name || ' &' from v > $controlfile; > select 'rcp ' || member || ' pandora:' || member || ' &' from v > $logfile; > spool off >
Can this database run on the same machine or will have conflicting instance name ?
(If just coping would be necessary why just not recursiveliy copy the database directory?)
Marko Received on Mon Aug 20 2001 - 02:03:53 CDT