Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: batch file for oracle
Hi,
you could try this:
svrmgrl << EOF
connect internal
shutdown
EOF
You should keep in mind that you can shutdown your database only with no
connections open or you have to do a *shutdown immediate*.
After backup:
svrmgrl << EOF
connect internal
startup
EOF
Regards
Dirk Mika
marishen_at_my-deja.com schrieb:
>
> how do you write a batch file to stop and start the oracle engines at a
> specific time in order to backup the database, etc?
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Tue Jan 18 2000 - 00:44:41 CST
![]() |
![]() |