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

Home -> Community -> Usenet -> c.d.o.server -> Re: Sample cold backup script

Re: Sample cold backup script

From: Alkos <azerty_at_nospam.org>
Date: Thu, 27 Nov 2003 10:00:51 +0100
Message-ID: <bq4eg4$i9u1@news.rd.francetelecom.fr>


Sorry, I forgot part of my answer.
(please don't trash me for that, I'm still sleeping ;)

"eg" <eg.kua_at_felda.net.my> a écrit dans le message news: b05eb676.0311270016.696cc2c1_at_posting.google.com...
> I am new to oracle backup. Can someone show me how to write unix shell
> script to do a cold backup?

You may be new to O's backup but you seems to know what a cold backup is. I suggest that you read a good book on ksh (o'reilly korn shell is pretty good)

Alkos

> I would like to do the following:
>
> 1. Prompt the user to select an option.
> 2. Say option 2 is to do cold backup.
> 3. Connect to db to get datafiles, control files, redolog files'
> names.
> 4. Shutdown db.
> 5. Send the files' name to a file.
> 6. Perform tar -cvf of the files' name.
> 7. Startup db.
> 8. Show option again.
>
> Thanks,
> eg
Received on Thu Nov 27 2003 - 03:00:51 CST

Original text of this message

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