RE: cross node restore

  • From: <genegurevich@xxxxxxxxxxxx>
  • To: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • Date: Tue, 28 Jul 2009 14:54:23 -0500

Thank you, Allen

What I did instead is executed alter database rename file command , which
allowed me to proceed with the recover command

thank you

Gene Gurevich





                                                                           
             "Allen, Brandon"                                              
             <Brandon.Allen@On                                             
             eNeck.com>                                                 To 
                                       "genegurevich@xxxxxxxxxxxx"         
             07/28/2009 11:13          <genegurevich@xxxxxxxxxxxx>,        
             AM                        "oracle-l@xxxxxxxxxxxxx"            
                                       <oracle-l@xxxxxxxxxxxxx>            
                                                                        cc 
                                                                           
                                                                   Subject 
                                       RE: cross node restore              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




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.




Please consider the environment before printing this email.


--
//www.freelists.org/webpage/oracle-l


Other related posts: