Saturday, August 30, 2008

Copy an archivelog file from ASM to disk using RMAN

backup as copy archivelog from logseq=78 until logseq=78 format ‘/tmp/%t%r%s%p’;

# or

backup as copy archivelog sequence between 22804 and 22804 thread 2 format '/tmp/22804.arc';

CATALOG ARCHIVELOG '/disk1/arch_logs/archive1_731.dbf',
'/tmp/archive1_78.dbf';