Re: Pre/Post backup scripts on clients ?
2005-05-05 10:09:36
Thanks.
I was wondering: Is amdump called on the clients as well via a crontab
entry ? I taught the crontab entry was on the server, and that it
contacted the client via the network when it's ready to backup it. My
problem is that I have to execute the pre/post backup scripts on
CLIENT machines.
2005/5/5, Jon LaBadie <jon AT jgcomp DOT com>:
> On Wed, May 04, 2005 at 10:51:10PM -0400, Guy Dallaire wrote:
> > Is there a way to call some sort of script before and after the backup
> > begins on the clients ? I want to make sure my oracle hot backups are
> > completed before I start backuping my clients. I also need to shut
> > down the database for cold backups and restart it after the backup is
> > done.
>
> Crontab entry calling amdump can be a shell script calling your
> stop and restart commands wrapped around the call to amdump.
>
> If that is too coarse you can replace your actual backup program
> (some dump or gnutar) with a similar wrapper that differentiates
> which DLE is being called and if it called for estimate phase
> or backup phase. Then the stop and start commands only need
> be wrapped around one shorter instance.
>
> --
> Jon H. LaBadie jon AT jgcomp DOT com
> JG Computing
> 4455 Province Line Road (609) 252-0159
> Princeton, NJ 08540-4322 (609) 683-7220 (fax)
>
|
|
|