Hello,
from the script below
From the script for restore
- rman target /
- startup nomount
- restore controlfile from '/olbackup/rmanbkup/curr.cntl';
- alter database mount;
-
- run {
- allocate channel c1 device type disk;
- allocate channel c2 device type disk;
- allocate channel c3 device type disk;
- allocate channel c4 device type disk;
- set newname for database to new; # if you defined db_file_create_dest
- set newname for tempfile 1 to new;
- set newname for tempfile 2 to new;
- restore database;
- switch datafile all;
- switch tempfile all;
- recover database;
- alter database open resetlogs;
- release channel c1;
- release channel c2;
- release channel c3;
- release channel c4;
- }
line 17, how will RMAN know the location of my backup?
the db_file_create_dest do i need to specify my backup location?
Thanks,
Joe