Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Schedule Backup in UNIX

RE: Schedule Backup in UNIX

From: DENNIS WILLIAMS <DWILLIAMS_at_LIFETOUCH.COM>
Date: Tue, 12 Nov 2002 04:28:54 -0800
Message-ID: <F001.00500C5B.20021112042854@fatcity.com>


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.
dwilliams_at_lifetouch.com

-----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: ashraf_salaymeh_at_yahoo.com

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: ListGuru_at_fatcity.com (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: DWILLIAMS_at_LIFETOUCH.COM

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: ListGuru_at_fatcity.com (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).
Received on Tue Nov 12 2002 - 06:28:54 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US