DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: ocopy commands gives error, Unable to open input file

  1. #1
    Join Date
    Nov 2000
    Posts
    224
    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:
    D:SYSTEM_01_TS_01.DBF
    OCOPY - Unable to open input file ☼.Pì¥╘☼SYSTEM_01_TS_01.DBF.


  2. #2
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    Does 'copy' or 'cp' work?

    Sanjay

  3. #3
    Join Date
    Dec 2001
    Location
    SAN FRANCISCO, CA
    Posts
    306
    what is OCOPY COMMAND ?

    the word should be copy in win 2000
    cp is on unix
    Eat , Drink & Enjoy life -

    pravin_kini@hotmail.com

  4. #4
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    ocopy is the copy command provided by Oracle.

    Sanjay

  5. #5
    Join Date
    Aug 2001
    Location
    chennai,bangalore
    Posts
    840
    its not D:SYSTEM_01_TS_01.DBF it should be
    D:\SYSTEM_01_TS_01.DBF
    anandkl

  6. #6
    Join Date
    Jul 2001
    Location
    Bangalore
    Posts
    33
    Can somebody give us more details on this Ocopy command.

    Thanks,
    Umesh

  7. #7
    Join Date
    Aug 2000
    Location
    Belgium
    Posts
    342
    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.

    Gert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width