Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: 10gR2 (10g Release 2) RMAN Duplicate database which has tempfiles?
Yeah, that is what I thought as well, although the duplicate command
complicates it. I don't do the switch the command at all and all the
datafiles are fine, however, the tempfiles don't work as I have
explained. To do the switch command, you must have the database mounted,
but to duplicate the database you must have the database in UNMOUNT. So,
I haven't been able to do it. Hopefully someone will be able to point me
in the right direction?
yong321_at_yahoo.com wrote:
> Snewber wrote:
>> run { >> set until time = '02-NOV-2005 10:26:36'; >> set newname for tempfile 1 to '/a01/o/DUP/temp.dbf'; >> set newname for datafile 1 to '/a01/o/DUP/system.dbf'; >> set newname for datafile 2 to '/a01/o/DUP/undo.dbf'; >> set newname for datafile 3 to '/a01/o/DUP/sysaux.dbf'; >> duplicate target database to DUP >> LOGFILE >> GROUP 1 ('/a04/oradata/DUP/redo_01a.log') SIZE 100M, >> GROUP 2 ('/a04/oradata/DUP/redo_02a.log') SIZE 100M; >> }
![]() |
![]() |