从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
[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/