Friday, October 3, 2008

RMAN restore datafile

rman
connect target /
catalog backuppiece '/bie_oraexp/rman_P01DIS_20081002_702_1';
run{
allocate channel disk1 device type disk;
set newname for datafile 17 to '/sl02dis/oraarch1/SL02DIS/datafile/o1_mf_disdwh_d_4g9yqvjx_.dbf';
restore datafile 17;
}