I suggest passing the backup level to the script as a parameter, and having
the script just exit cleanly for any level you don't want the script to run
for.  Variable expansion is explained in the manual and unless I am mistaken
backup level is a value which can be used in this manner.

Thanks,
Chris  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Karl Cunningham
> Sent: Monday, 22 August, 2005 19:19
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] ClientRunBefore only for Full Backup?
> 
> Hi All --
> 
> I have a need to execute a ClientRunBefore script on full 
> backup but not on
> incremental for the same client.  Does anyone know of a way 
> to do this?
> 
> Thanks.
> 
> Karl Cunningham
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development 
> Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * 
> Testing & QA
> Security * Process Improvement & Measurement * 
> http://www.sqe.com/bsce5sf
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to