Amanda-Users

Re: pre- and post-dump script?

2003-08-21 16:56:04
Subject: Re: pre- and post-dump script?
From: Robert Helmer <robert AT roberthelmer DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 21 Aug 2003 13:53:56 -0700
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
> 

<Prev in Thread] Current Thread [Next in Thread>