Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

RMAN restore from remote backup

555356Nov 23 2010 — edited Nov 24 2010
I 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 22 2010
Added on Nov 23 2010
7 comments
840 views