Amanda-Users

Re: Possible to run scripts just before an amdump?

2006-06-01 08:31:42
Subject: Re: Possible to run scripts just before an amdump?
From: Rémi Demarthe <remi.demarthe AT obs-besancon DOT fr>
To: "amanda-users AT amanda DOT org" <amanda-users AT amanda DOT org>
Date: Thu, 01 Jun 2006 14:14:17 +0200
Le jeudi 01 juin 2006 à 12:40 +0200, Francis Galiegue a écrit :
> Hello,

Hello,
> I have a problem here which I solve for now the "bad" way. I want to do a 
> cold 
> backup of several Oracle databases, which means that the instances have to be 
> stopped. So, via cron, I stop them a full half hour before the backup begins 
> and restart them approximately one hour after the backup has completed.
> 
> There is NO Oracle client on the server and I don't plan to install one.
> 
> So, my question would be: is there a way to tell amdump to execute one or 
> several scripts just before the backup begins (and of course, wait that these 
> scripts complete)?
> 
> Thanks, 

Maybe you could use a script in the crontab which will launch amdump
after launching some other commands.

Rémi Demarthe.