Maybe a very dummy question, but I'm not finding the answer
I'm doing some testing try to learn a little about move file on ASM, so did the following: I spin a database CHQA (chicago quesiton&answer), which create the files on +DATAC1/CHQA/DATAFILE. My goal was to practice with file location, space, etc, but my mind as set for database file store on file system.
So, for experiment i shudown the chqa database and cp the SYSAUX.nnn.nnnnnnn file from ASM to file system, and deleted from ASM (was trying to play with ASM disk space)
Now, I'm not finding a way to put it back to ASM … when I do cp inside the asmcmd (remember that CHQA is down), the file goes to DATAC1/ASM/DATAFILE, even if I specify the destination as DATAC1/CHQA/DATAFILE (i understand that the destination is using ORACLE_SID that is necessary to connect to ASM been set as +ASM)
What am I missing?