Ashraf - I don't see where you have an export script. You are just
specifying the username and password and the file to send the export, but
you aren't telling export what to do, unless there is more information you
haven't provided. Try running your backup.ksh script from the command line
(interactively) and you will receive more error messages.

Dennis Williams
DBA, 40%OCP
Lifetouch, Inc.
[EMAIL PROTECTED] 


-----Original Message-----
Sent: Tuesday, November 12, 2002 1:04 AM
To: Multiple recipients of list ORACLE-L


Dear List,

We are working with Oracle 8i Database under UnixWare
Plateform.

My question is How to do Schedule Backup?

I tried to do Schedule backup but it does not work.
I'll show u the steps that I did...

1) I wrote my batch.
2) cd /var/spool/cron/crontabs
3) crontab -e oracle
   it will open a text file.
----------------Oracle-------------------------
#
5 14 * * * /usr/oracle/backup.ksh 2>&1 1>/dev/null
#                                             
-----------------------------------------------

4) cd /usr/oracle

5) I did write backup.ksh like this:
----------------backup.ksh-----------------
#
# This Procedure for ORACLE export
#
exp payroll/pay file=/usr/oracle/pay111102.dmp
#
exit
-------------------------------------------

Any clues why this is not working ...

regards,

Ashraf 



__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: ASHRAF SALAYMEH
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to