This is a possibility. The disadvantage is that the database stays shut down for the duration of a complete amdump. I really only need it to be shut down for the duration of the backup on the database server. I could do it the way you are suggesting if no other way is feasible.
Robert Helmer said: > Maybe I am missing something, but can't you run a script from cron > that does something like : > > pre_backup.sh && > amdump DailySet1 && > post_backup.sh > > > On Thu, Aug 21, 2003 at 04:46:29PM -0400, Kurt Yoder wrote: >> 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
