首页 > Linux操作系统 > Linux操作系统 > How to Copy Archivelog Files From ASM to Filesystem and vice versa [ID 944831.1]
| 修改时间 15-OCT-2009 类型 HOWTO 状态 PUBLISHED | |||
In this Document
Goal
Solution
References
This note will guide a DBA in copying archivelog files currently located in a ASM diskgroup to a file system. This is commonly useful when a DBA needs to copy archivelog files from a primary to standby database in a dataguard environment.
The article here provides RMAN examples to copy archivelogs files from ASM to filesytem and vice versa.
RMAN allow you to copy archivelog files to a tape or filesystem. The following examples provide RMAN scripts for copying all archivelog files to '/tmp'.
The above RMAN statements create a file in the following format in the destination directory (/etc).
Then, one can restore archive logs that are already located on a filesystem using restore command:
If you do not specify SET ARCHIVELOG DESTINATION, then RMAN restores archived redo log files to the flash recovery area (when FRA is configured ). Refer to RMAN options to restore only the required archive logfiles based on sequence number or creation timestamp.
产品
| ||
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/38267/viewspace-707716/ ,如需转载,请注明出处,否则将追究法律责任。