oracle11g rman恢复到另一台服务器,【RMAN】oracle11g单机数据通过RMAN恢复至RAC

RMAN> run{

3> set newname for datafile

'/oracle/oradata/XYSOUL/datafile/o1_mf_system_9jhz3xx6_.dbf' to

'+DATA/oradata/xysoul/system01.dbf';

4> set newname for datafile

'/oracle/oradata/XYSOUL/datafile/o1_mf_sysaux_9jhz4vkj_.dbf' to

'+DATA/oradata/xysoul/sysaux01.dbf';

5> set newname for datafile

'/oracle/oradata/XYSOUL/datafile/o1_mf_undotbs1_9jhz5gsj_.dbf' to

'+DATA/oradata/xysoul/undotbs1_01.dbf';

6> set newname for datafile

'/oracle/oradata/XYSOUL/datafile/o1_mf_users_9jhz6fw2_.dbf' to

'+DATA/oradata/xysoul/user01.dbf';

7> set newname for datafile

'/oracle/oradata/XYSOUL/datafile/xysoul01.dbf' to

'+DATA/oradata/xysoul/xysoul01.dbf';

8> restore database;

9> switch datafile all;

10> }

executing command: SET until

clause

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

executing command: SET NEWNAME

Starting restore at 2014-02-24

16:53:13

using target database control file

instead of recovery catalog

allocated channel: ORA_DISK_1

channel ORA_DISK_1: SID=27 device

type=DISK

channel ORA_DISK_1: starting

datafile backup set restore

channel ORA_DISK_1: specifying

datafile(s) to restore from backup set

channel ORA_DISK_1: restoring

datafile 00001 to +DATA/oradata/xysoul/system01.dbf

channel ORA_DISK_1: restoring

datafile 00002 to +DATA/oradata/xysoul/sysaux01.dbf

channel ORA_DISK_1: restoring

datafile 00003 to +DATA/oradata/xysoul/undotbs1_01.dbf

channel ORA_DISK_1: restoring

datafile 00004 to +DATA/oradata/xysoul/user01.dbf

channel ORA_DISK_1: restoring

datafile 00005 to +DATA/oradata/xysoul/xysoul01.dbf

channel ORA_DISK_1: reading from

backup piece /oracle/backup/full_02p1e2cu_1_1.bak

channel ORA_DISK_1: piece

handle=/oracle/backup/full_02p1e2cu_1_1.bak tag=TAG20140224T121629

channel ORA_DISK_1: restored

backup piece 1

channel ORA_DISK_1: restore

complete, elapsed time: 00:02:45

Finished restore at 2014-02-24

16:55:59

datafile 1 switched to datafile

copy

input datafile copy RECID=6

STAMP=840387360 file name=+DATA/oradata/xysoul/system01.dbf

datafile 2 switched to datafile

copy

input datafile copy RECID=7

STAMP=840387360 file name=+DATA/oradata/xysoul/sysaux01.dbf

datafile 3 switched to datafile

copy

input datafile copy RECID=8

STAMP=840387360 file name=+DATA/oradata/xysoul/undotbs1_01.dbf

datafile 4 switched to datafile

copy

input datafile copy RECID=9

STAMP=840387360 file name=+DATA/oradata/xysoul/user01.dbf

datafile 5 switched to datafile

copy

input datafile copy RECID=10 STAMP=840387360 file

name=+DATA/oradata/xysoul/xysoul01.dbf

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值