This content has been marked as final. Show 2 replies
Have a look into this
888442 wrote:Its not possible copy with same name because you are using different filesystem, and ASM does not allow that.
OS to ASM copy.
After this copy the file gets appended with some nubmer...
ASMCMD>cp -ifr /u07/backup/2_51551_733696727.dbf +FLASHBACK/archivelog/2_51551_733696727.dbf
How do i copy with the same name. I am on 11gR1
Don't use ASMCMD command to manipulate database files (such as BACKUPSET,DATAFILES,DATAFILE COPY and so on)
The RMAN is recommended to perform this kind of task.
It will move all backupset from filesystem to ASM and keep catalog/controlfile updated.
backup backupset completed after 'sysdate -xxx' format '+FLASHBACK' delete input; ## move archivelog to ASM BACKUP AS COPY ARCHIVELOG ALL FORMAT '+FLASHBACK' DELETE INPUT;
Edited by: Levi Pereira on Oct 30, 2012 4:53 PM