RE: cross node restore

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Tue, 28 Jul 2009 09:11:30 -0700
Message-ID: <64BAF54438380142A0BF94A23224A31E11290D0983_at_ONEWS06.oneneck.corp>



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.

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jul 28 2009 - 11:11:30 CDT

Original text of this message