Actually, I already have the command-line to use to shut it down and start it back up. I just need to know how to execute these commands before Amanda starts the dump and after it's finished.
Amanda server is 2.4.2p2 on Debian Linux Amanda client is 2.4.4 on SCO Unix Database is Progress (but as mentioned, I already have the scripts to shut down and start it) SCO Unix shell is plain Bourne Shell, can't determine version. I can run remote commands either way if need be. Rebecca Pakish Crum said: > Is this an oracle database? Or what kind? > What's your OS? Do you have bash? > A basic bash script can start a remote shell out to the client and > shut > down your db, then run amdump and then remote shell back out and > start > the db. > With a little more info maybe I can help... > >> -----Original Message----- >> From: Kurt Yoder [mailto:[EMAIL PROTECTED] >> Sent: Thursday, August 21, 2003 3:46 PM >> To: [EMAIL PROTECTED] >> Subject: pre- and post-dump script? >> >> >> So, what's the easiest way to run a command on a client >> before the dump starts and a different command after the dump >> finishes? I need to shut down a database, do the dump, then >> restart the database. Do I have to re-code the runtar >> executable to do this? C is a bit beyond my abilities at this >> point. If anyone has an example of how they've done this, >> please post or let me know. >> >> Thanks >> >> -- >> Kurt Yoder >> Sport & Health network administrator >> >> > -- Kurt Yoder Sport & Health network administrator