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: backup unix script

RE: backup unix script

From: Brian MacLean <bmaclean_at_vcommerce.com>
Date: Thu, 29 Nov 2001 08:44:39 -0800
Message-ID: <F001.003D09A2.20011129081521@fatcity.com>

I believe the it is as follows:

        Run SQL*Plus

| THIS SHOULD NOT BE HERE
| | database username
| | | database password
| | | | Redirect output to file filename.dat
| | | | | Read input up to the next line
starting with "!",
| | | | | | this is what is called a
"here-document", for more
| | | | | | on here-documents see any man
page for sh or ksh
| | | | | |
sqlplus - sys/msd > filename.dat <<!

-----Original Message-----
Sent: Thursday, November 29, 2001 1:10 AM To: Multiple recipients of list ORACLE-L

grace wrote:

> 
> hi gurus,
> 
> I found this unix script ... can any tell me what this means?
> sqlplus - sys/msd > filename.dat <<!
> does anyone have a unix script to perform a database backups?
> 
> Best Regards,
> Grace Lim
> Suy Sing Comm'l Corp.
> (632)-2474134
> 

Your Unix script seems to take as input the output from another process and spooling its own output to filename.dat ... There should be Korn shell Unix scripts to perform both cold and hot backups on the Oriole site, in the toolkit section, and on probably many other sites as well.

-- 
Regards,

Stephane Faroult
Oriole Corporation
Voice:  +44  (0) 7050-696-269 
Fax:    +44  (0) 7050-696-449 
Performance Tools & Free Scripts
--------------------------------------------------------------
http://www.oriole.com, designed by Oracle DBAs for Oracle DBAs
--------------------------------------------------------------
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriole.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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: Brian MacLean
  INET: bmaclean_at_vcommerce.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Thu Nov 29 2001 - 10:44:39 CST

Original text of this message

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