Link to home
Start Free TrialLog in
Avatar of rsolomon
rsolomonFlag for United States of America

asked on

RMAN restore from disk with files in a new location

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 Oracle9i.
 
BTW, this IS just a test and not a real recovery.
 
ASKER CERTIFIED SOLUTION
Avatar of baonguyen1
baonguyen1

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial