ASM--文件系统之间归档日志的拷贝

从ASM中拷贝归档日志到文件系统:


[oracle@rac1 orabak]$ rman target /

Recovery Manager: Release 10.2.0.4.0 - Production on Fri Apr 8 16:30:46 2011

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

connected to target database: ORADB (DBID=2480807860)
RMAN> copy archivelog '+ORADATA_DG/ORADB/ARCHIVELOG/1_81_727543102.dbf' to '/disk/orabak/1_81_727543102.dbf';

Starting backup at 08-APR-11
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=863 instance=oradb1 devtype=DISK
channel ORA_DISK_1: starting archive copy
input archive log thread=1 sequence=81 recid=266 stamp=747931083
output filename=/disk/orabak/1_81_727543102.dbf recid=491 stamp=747937858
channel ORA_DISK_1: archivelog copy complete, elapsed time: 00:00:02
Finished backup at 08-APR-11

RMAN> exit

=================


从文件系统中拷贝归档日志到ASM

RMAN> catalog archivelog '/disk/orabak/1_81_727543102.dbf';

cataloged archive log
archive log filename=/disk/orabak/1_79_727543102.dbf recid=158 stamp=747937512


RMAN> copy archivelog  '/disk/orabak/1_81_727543102.dbf' to '+ORADATA_DG/ORADBSDB/ARCH/1_81_727543102.dbf';

Starting backup at 08-APR-11
using channel ORA_DISK_1
channel ORA_DISK_1: starting archive copy
input archive log thread=1 sequence=81 recid=161 stamp=747938070
output filename=+ORADATA_DG/oradbsdb/arch/1_81_727543102.dbf recid=185 stamp=747938158
channel ORA_DISK_1: archivelog copy complete, elapsed time: 00:00:02
Finished backup at 08-APR-11

RMAN> catalog archivelog '+ORADATA_DG/ORADBSDB/ARCH/1_81_727543102.dbf';

cataloged archive log
archive log filename=+ORADATA_DG/oradbsdb/arch/1_79_727543102.dbf recid=160 stamp=747937552

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/793004/viewspace-691969/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/793004/viewspace-691969/

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值