On Mon, Dec 07, 2009 at 01:42:01PM -0500, Jean-Louis Martineau wrote:
> Dustin J. Mitchell wrote:
> >On Sun, Dec 6, 2009 at 2:21 PM, Jean-Louis Martineau
> ><[email protected]> wrote:
> >  
> >>>After your hint I took a closer look at running (pre|post)-host-backup on
> >>>the server. It seems that(pre|post)-host-backup gets executed for each 
> >>>DLE
> >>>which is not exactly what I need.
> >>>      
> >>Set the script for only one dle
> >>    
> >
> >Will that still run the script before *any* DLE on that host?
> >  
> 
> yes, or after any DLE on that host.

I may have missed the boat, but why not have a smarter script.
You should be able to write code that when run remotely by ssh
(or rsh or...) that can tell what the current host is and perhaps
'do nothing' if its not the target system, or if carefully written
check state files that the script writes, in, oh, /tmp/amanda on
the client, to determine what phase or state/step is required of it.


> Jean-Louis
> 
---
   Brian R Cuttler                 [email protected]
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.


Reply via email to