How to Copy ASM Files Across Nodes [ID 1147859.1]

本文介绍如何使用Oracle RMAN Active File Copy特性在网络间复制ASM文件。适用于Oracle Server Enterprise Edition 11.1.0.6至11.2.0.2版本。通过指定AUXILIARYFORMAT选项实现归档日志、数据文件等的复制。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

How to Copy ASM Files Across Nodes [ID 1147859.1]

--------------------------------------------------------------------------------

修改时间 13-DEC-2011 类型 HOWTO 状态 PUBLISHED

In this Document
Goal
Solution

--------------------------------------------------------------------------------

Applies to:
Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.2.0.2 - Release: 11.1 to 11.2
Information in this document applies to any platform.
Database - RMAN
***Checked for relevance on 14-Dec-2011***
Goal
You have a database (controlfiles, datafiles and archivelog files) on Node 1 residing on ASM and you wish to copy some of these files (or all) to another node. This second node may be using filesystem or ASM.

Solution
Oracle 11g Release 1 and Release 2 allows you to copy files across the network with the RMAN Active File Copy feature. This feature is controlled with the 'AUXILIARY FORMAT' option to the backup command.

For example, you can copy an archivelog like:

connect target SYS/...@srcinst # source system
connect auxiliary SYS/...@destinst # destination system
backup as copy reuse
archivelog like "/u01/oracle/archivelog/arc_des/arch%.arc"
auxiliary format "+RCVAREA" ;
Or copy a datafile like:

connect target SYS/...@srcinst # source system
connect auxiliary SYS/...@destinst # destination system
backup as copy reuse datafile "/u01/oracle/datafiles/system01.dbf"
auxiliary format "+DATA" ;
Oracle� Database Backup and Recovery Reference 11g Release 2 (11.2)
Part Number E10643-02:

AUXILIARY FORMAT: Copies the files on the target database to the specified location on the auxiliary instance. RMAN can only generate image copies when AUXILIARY FORMAT is specified. RMAN must be connected to both TARGET and AUXILIARY instances and have access to auxiliary channels.
You can use the BACKUP AUXILIARY FORMAT command to copy datafiles over the network between primary and standby databases. For example, if a datafile on a primary database was lost, you could CONNECT to the standby database as TARGET and the primary database as AUXILIARY, and copy an intact datafile from the standby host to the primary host.

formatSpec Specifies a pattern for naming the output image copies on an auxiliary instance. The path must be valid on the auxiliary host.

NEW Creates an image copy in the directory specified in the DB_CREATE_FILE_DEST initialization parameter of the auxiliary instance. The image copy is an Oracle-managed file.

REUSE Enables RMAN to overwrite an already existing backup or copy with the same file name as the file that BACKUP is currently creating.

See documentation for further details.

相关内容

--------------------------------------------------------------------------------
产品
--------------------------------------------------------------------------------

•Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition
关键字
--------------------------------------------------------------------------------
ASM; AUXILIARY; COPY FILING; DATAFILES; DB_CREATE_FILE_DEST; FILES; FILESYSTEM; ORACLE DATABASE; ORACLE-MANAGED FILES



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值