Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ocopy80 command not working

Status
Not open for further replies.

amolso

Programmer
Sep 8, 2000
71
IN

I am trying for online backup
My settings are
Database Log Mode -- Archive Mode
Automatic Archival -- Enabled

While taking the backup of tablespaces and I the script I used

Alter tablespace users begin backup;

host ocopy80 d:\oracle\oradata\mydb\users01.dbf h:\backup\user01.bak

Alter tablespace users end backup;

However when I checked in h:\backup directory there is no file
named users01.bak. Then I changed the the command from ocopy80
to simple copy in dos i.e.

host copy d:\oracle\oradata\mydb\users01.dbf h:\backup\user01.bak

Here I can see the file users01.bak in h:\backup.
Is this the correct as I found ocopy80 in oracle 8.0.3 manual
and I am using Oracle 8.1.6 ?

What Is then command to take backup In Linux ?
Do I have to use cp or other command ?

Amol
 
I think that the ocopy command is provided by Oracle. You should be able to find the name of the executable in $oracle_home\bin. On my Windows NT servers the name is ocopy80.exe on my Oracle 8.0.6 servers, and ocopy.exe on Oracle 8.1.6.

If this is the same on Linux you should use "ocopy" instead of "ocopy80".
 
Hello karluk

Thanks, I have just tried it and it's working.

Are there any additional commands related to online backup

which are commonly used while taking backup of database

of a B2B web site.

Amol
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top