Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Duplicating DB with RMAN
On Fri, 30 Apr 2004 17:36:33 +0200, Forte Agent wrote
(in message <ohs490h0b6k7flbh2lqdpunbn84qt45lnu_at_4ax.com>):
>>> OS is HP/UX 11.11 and DB is 9.2.0.4.
What I do miss is a backup of the archivelog files. I expect a different
error but give it a try.
Here is a piece of one of my scripts that do succesfully run on macosx,
solaris and tru64:
rman catalog rman/catalog_at_ab2 target system/manager_at_ab auxiliary / <<eof |
run {
allocate channel x type disk format='/Users/oracle/oraback/%d/%T_%U'; # backup database include current controlfile for standby; # backup database include current controlfile ; # sql 'alter system archive log current'; # not needed backup archivelog all delete input; allocate auxiliary channel y type disk; # duplicate target database for standby dorecover; duplicate target database to $ORACLE_SID;}
not much differences with your script but it does have archivelog backup in it and you do need it.
-- With kind regards, Ronald http://ronr.nl/unix-dbaReceived on Fri Apr 30 2004 - 15:53:54 CDT
![]() |
![]() |