From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079036515967.tru64-unix-managers.marc@archive.invalid> From: kcriss () dwd ! state ! in ! us (Kevin Criss) Date: Fri, 26 Feb 1999 14:18:48 +0000 To: tru64-unix-managers Subject: NSR: savepnpc what am I doing wrong? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079036515967 savepnpc: will execute a script at the beginning of a backup job-group and it will also execute a script at the end of a backup job-group. (* savepnpc in a nutshell *) http://www.adcomp.ch/cluhelp/appb37.htm#50217 We are trying to shut down our Oracle database before we start the backup, we want to backup the system, then we want to bring up the Oracle database. We are backing up three clients, in each client's Backup Command atttribute I have entered the phrase "savepnpc" These are my scripts: /usr/var/nsr/res/Alpha123-backup.res type: savepnpc; precmd: "/usr/local/bin/ora-stopt"; pstcmd: "/usr/local/bin/ora-start"; timeout: "12:00pm"; /usr/local/bin/ora-stop # # Shut down the oracle database # cd /sbin/init.d sh oracle stop /usr/local/bin/ora-start # # Start up the oracle database # cd /sbin/init.d sh oracle start [Q] What am I doing wrong? The oracle database does not come down automatically, I am not even sure my scripts are being executed. - Thanks Kevin Criss