Oracle 817 on Win. 2000
When doing hot backup after putting the datafile in backup mode, OCOPY command gives error, Unable to open input file.
I am copying file from one disk to another disk. Also it displays some junk characters around the file name. File name looks good in V$DATAFILE.
Directory of C:\ORACLE\CORE
05/28/2002 01:14p 524,296,192 SYSTEM_01_TS_01.DBF
1 File(s) 524,296,192 bytes
0 Dir(s) 42,406,957,056 bytes free
c:\ORACLE\CORE>ocopy system_01_ts_01.dbf d:
OCOPY - Unable to open input file ☼.Pì¥╘☼SYSTEM_01_TS_01.DBF.
Does 'copy' or 'cp' work?
what is OCOPY COMMAND ?
the word should be copy in win 2000
cp is on unix
ocopy is the copy command provided by Oracle.
its not D:SYSTEM_01_TS_01.DBF it should be
Can somebody give us more details on this Ocopy command.
When you take a hot backup on NT, and you want to make a copy of the datafiles, the normal copy command will not work because the file has been opened by the Oracle Server.
OCOPY = Open COPY is a program that allows you to copy an open file, so you can take online backups off the datafiles.