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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Shutdown from OS Batch File (NT40), and Backup

Re: Shutdown from OS Batch File (NT40), and Backup

From: Nathan D. Hughes <nhughes_at_well.com>
Date: 1997/12/16
Message-ID: <676oui$881$1@was.hooked.net>#1/1

svpett_at_online.no (Svein-Egil Pettersen) writes:

>Does anyone know how to make an OS Batchjob to shutdown
>the DB before backup, and then start the DB after
>Backup. I am using Cheyenne Arcserve backup SW. Cheyenne
>has the possibility to do 'Before backup job' and
>'After Backup job' in the backup task.
>This shutdown and startup has to go without any
>user action. This is a fullvolum backup job of all
>partitions and all disks.
>Perhaps even an export before backup starts.

Write a batch script using svrmgrl (server manager line mode). For example,

svrmgr23 @do-backup.sql

Where do-backup.sql contains:

connect internal_at_2:DBSID
shutdown immediate
startup restrict
shutdown
exit

--

Nathan D. Hughes <nhughes_at_well.com>
Computer Consultants of America, Inc.
Received on Tue Dec 16 1997 - 00:00:00 CST

Original text of this message

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