Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using OCOPY utility in Windows

caesar duttaJul 30 2010 — edited Jul 30 2010
Dear Sirs:

I have setup a Oracle 10G RAC in VMware where the two guest operating systems are Windows 2003.

The VOTING DISK, DATABASE DISK, and the OCR DISK are as /device/Hardisk1/Partition1, /device/Harddisk2/Partition1, and /device/Harddisk3/Partition1
respectively. These are all virtual devices.

Now when I query the V$Controlfile view for locations I am getting result as:

NAME
-----------------------------------------------------------------------
+DATA/rac/controlfile/Controlfile123456.7889
+DATA/rac/controlfile/Controlfile16361.737982

If I am using " C:> OCOPY \\.\PHYSICALDRIVE2 C:\ " the whole ASM drive (that is disk2) is getting copied.

If I mention " C:> OCOPY \\.\+DATA\rac\controlfile\Controlfile123456.7889 C:\" the utility says that input file not found. I am making lot of permutations
and combinations for the input file path such as back slash to front slash, getting rid of the + sign before DATA etc etc, but no useful result.

I know that using OCOPY for backup is never the best practice. RMAN should be used. But my problem is that I want to learn OCOPY learn the concepts of
ASM, RAC.

Please let me know that if I want to take manual backup of specific files (data file, control file, log file) then how should I use OCOPY?

Even if I want to use RMAN for specific files only then what is the command.

I am extremely new to RAC. Thanks in advance

Best regards,

Caesar
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2010
Added on Jul 30 2010
4 comments
1,642 views