RMAN restore from remote backup
555356Nov 23 2010 — edited Nov 24 2010I need to test the restore from the backup which is copied to the remote server. I backup the database to the local disk and copy the backup set to the remote server. Then I delete the local backup and restore from remote but it fails. RMAN still tries to find the backup from local server.
RMAN> run{
2> allocate channel c1 device type disk format '\\RemoteBackup\%U';
3> restore datafile 1;
4> recover datafile 1;}
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: SID=154 device type=DISK
Starting restore at 23-NOV-10
channel c1: starting datafile backup set restore
channel c1: specifying datafile(s) to restore from b
channel c1: restoring datafile 00001 to D:\ORADATA\HCMTRN\DBS\SYSTEM01.DBF
channel c1: reading from backup piece \\LocalBackup\1SLTN8A4_1_1
channel c1: ORA-19870: error while restoring backup piece \\LocalBackup\1SLTN8A4_1_1
ORA-19505: failed to identify file "\\LocalBackup\1SLTN8A4_1_1"
ORA-27041: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.