On 28 Sep 2007 at 17:02, Florin Andrei wrote: > Here's my dilemma - is there a simple way to tell Bacula to not back > up the laptops if they're not home? I'm pretty sure I can come up with > a couple scripts that can test whether the laptops are home or remote, > but the question is how to integrate that with Bacula? The backup will > most likely happen through the OpenVPN tunnel, since that's the only > network where these laptops have a fixed address all the time (each > VPN client has a dedicated private IP address).
Consider RunBeforeJob. The job can test if the client is connected, then exit with the appropriate status code and the backup job will not run. Look also at Retry. -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users