NSR: savepnpc what am I doing wrong?

From: Kevin Criss <kcriss_at_dwd.state.in.us>
Date: Fri, 26 Feb 1999 09:18:48 -0500

     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
Received on Fri Feb 26 1999 - 14:28:19 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT