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.
you can also use the bang ! operator in linux/unix..
alter tablespace <ts> begin back up;
! cp /absolute path of source /destination
alter tablespace <ts> end back up;
Ocopy is not a command of oracle buta command for NT . It is for operating system .
The difference between copy and Ocopy is that when you say copy it locks the access of teh files and does not let anyone else use it which may create a problem during a hot backup . Hence fo that teh ocopy command is there . It minimises locking of these files at the operating system level.
thanks for reply ,
I found the ocopy command in my NT with 8.1.6
However I found no such command in Linux with 8.1.5
Which command I should use in my script for it
!cp orany other
Bookmarks