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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving an export log

Status
Not open for further replies.

joeythelips

IS-IT--Management
Aug 1, 2001
305
IE
Hi,

I check my export log for an oracle database every morning.

its located in /u02/oracle/export/export.log.

The file is read only, but how can i move it to a floppy disk, for example?

Joe
 
If it's read-only, you can still copy it anywhere you have write permission.
Tony Lawrence
SCO Unix/Linux Resources tony@pcunix.com
 
Thanks Tony,

could you give me the instructions to ftp it to a floppy?

JOe
 
Hi Joe,

If the floppy disk drive is on the same server where your oracle database is then no need to ftp the log file. Just mount the floppy drive and copy the log file to it. Use mount command like this ..
#mount -t<filesystem on floppy> /dev/fd0 /mnt/floppy

then, use cp command to copy the file.
#cp <fullpath of log file> /mnt/floppy/

then, unmount the floppy drive using,
#sync
#umount/mnt/floppy

I hope that's you are looking for,

regards,
Mahesh
 
Hi Mahesh,

Unfortunately, the floppy is on my pc. I am using dos to get into the server
 
Joe,

Try this from dos prompt;
a:
ftp <server>
login to the oracle account
cd /u02/oracle/export
bin
hash
get export.log

Later!
DT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top