RMAN restore from disk with files in a new location

  • From: Keith Moore <kmoore7@xxxxxxxxxxxx>
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Wed, 02 Jun 2004 10:24:48 -0500

Is it possible to restore from a backup set where the set is in a different 
disk location from where it was originally created.

For example:
replace script test_full_recovery {
  allocate channel d1 type disk format '/backup/df_%d_t%t_s%s_p%p';
  allocate channel d2 type disk format '/backup2/df_%d_t%t_s%s_p%p';
  restore database;
  ...
}

The backup sets were created in the /u17/backup and /u18/backup directories and 
the script give me the following error:

RMAN-10035: exception raised in RPC: ORA-19624: operation failed, retry possible
ORA-19505: failed to identify file "/u17/backup/df_DMS_t527180414_s4967_p1"
ORA-27037: unable to obtain file status
HP-UX Error: 2: No such file or directory
Additional information: 3
ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 925
RMAN-10031: ORA-19624 occurred during call to 
DBMS_BACKUP_RESTORE.RESTOREBACKUPPIECE

Is there any way to tell RMAN that the backup set is now in a new location? 
This is Oracle8, but if it can't be done in Oracle8, can it be done in 9i?

BTW, this IS just a test and not a real recovery.

Thanks,

Keith Moore
Oracle Certified Professional
972-431-5126
kmoore7@xxxxxxxxxxxx
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  If the reader of this message is not the intended recipient,
you are hereby notified that your access is unauthorized, and any review,
dissemination, distribution or copying of this message including any
attachments is strictly prohibited.   If you are not the intended
recipient, please contact the sender and delete the material from any
computer.

Other related posts: