标签:
参数文件指名几个最简单的就行,我的参数文件如下:
如果是把备份集从别的服务器拷贝到本地恢复的服务器的目录,使用下面的语句指定rman恢复目录
RMAN> catalog start with ‘/data_back/racbk/‘;
select ‘alter database rename file ‘||chr(39)||member||chr(39)||‘ to ‘||chr(39)||replace(member,‘+DG0/db/onlinelog/‘,‘/home/oracle/data2/‘)||chr(39)||‘;‘ from v$logfile;
执行上面的语句,查看已修改
select ‘set newname for datafile ‘||chr(39)||name||chr(39)||‘ to ‘||chr(39)||replace(name,‘+DG0/db/datafile/‘,‘/home/oracle/data2/‘)||chr(39)||‘;‘ from v$datafile;
rman中执行list backup;找出需要恢复到的scn
标签:
原文地址:http://www.cnblogs.com/haoxiaoyu/p/38c92c0adfe3447b6b5166c47265aaf2.html