RE: cross node restore

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: "genegurevich@xxxxxxxxxxxx" <genegurevich@xxxxxxxxxxxx>, "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 28 Jul 2009 09:11:30 -0700

I think the db_file_name_convert parameter is only used for the duplicate 
command.  In this case, I think you need to use the "set newname" and "switch" 
commands instead.  Here is an example from the 10g docs:

http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta061.htm#i86534

RUN
{
  ALLOCATE CHANNEL dev1 DEVICE TYPE DISK;
  ALLOCATE CHANNEL dev2 DEVICE TYPE sbt;
  SQL "ALTER TABLESPACE tbs_1 OFFLINE IMMEDIATE";
  SET NEWNAME FOR DATAFILE '/disk7/oracle/tbs11.f'
    TO '/disk9/oracle/tbs11.f';
  RESTORE TABLESPACE tbs_1;
  SWITCH DATAFILE ALL;
  RECOVER TABLESPACE tbs_1;
  SQL "ALTER TABLESPACE tbs_1 ONLINE";
}

Regards,
Brandon



Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.
--
//www.freelists.org/webpage/oracle-l


Other related posts: