Bacula-users

Re: [Bacula-users] Run client side script in admin jobs?

2011-02-18 06:41:41
Subject: Re: [Bacula-users] Run client side script in admin jobs?
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 18 Feb 2011 11:39:18 GMT
>>>>> On Fri, 18 Feb 2011 10:17:50 +0100, Jeremy Maes said:
> 
> So on to the questions:
> Can an admin job execute scripts on a client, or only locally? Are there 
> any other restrictions to admin jobs? Or did I just make some stupid 
> mistake? ^^

Admin jobs run entirely in the Director, so can't use client scripts.


> Another, related question: Does anyone know when exactly the "run 
> before" scripts are executed? Mainly, are they executed *before* bacula 
> mounts the storage, or are they executed after bacula mounts but before 
> it actually uses the storage?

The non-client run-before scripts are executed before any interaction with the
storage or client.


> If it runs before a mount I could probably get away running my script as 
> a run before script in the backupjob itself instead of using an admin 
> job. Would also serve to lower the amount of jobs all of our clients see 
> in their logs.

Yes, I think so.

__Martin

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

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