[Veritas-bu] Oracle + NBU... A stupid question
2003-07-01 10:42:34
>
> Is it possible to run a script automatically (to shutdown
> oracle services) just before a backup begins?
>
Put whatever you like into /usr/openv/netbackupo/bin/bpstart_notify -- but
just be sure that it doesn't produce any output or NBU will probably get
confused. (The script was orignally there to do just what you want: close down
Oracle databases before a backup job ran.)
Make sure that you also use the bpend_notify script to re-open your
database(s)!
I generally just have the /etc/init.d/dbstart script execute from
bpend_notify (and dbshut from bpstart_notify -- don't get confused here) so
that I don't have to maintain two parallel scripts.
-wde
--
Will Enestvedt
UNIX System Administrator
Johnson & Wales University -- Providence, RI
|
|
|