Bacula-users

Re: [Bacula-users] Strart backup after client event

2008-10-16 18:31:44
Subject: Re: [Bacula-users] Strart backup after client event
From: Arno Lehmann <al AT its-lehmann DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 17 Oct 2008 00:27:10 +0200
Hi,

17.10.2008 00:11, subbustrato wrote:
> is it possible start a job after a client action?

Yup... set up a restricted console for that machine. Then wite a small 
script which basically executes
echo 'run job=Job-name yes' | /etc/bacula/bconsole \
-c /etc/bacula/bconsole.conf

(This looks a bit differently in windows, of course)

> example:
> 
> - storage and director on machine "A" , client on machine "B"
> - machine "A" always on
> - if machine "B" power on, "A" start a job on "B"
> 
> This necessity come from my particular directory that contain the core of a
> software.If the software run and i do a backup, the saved file will be 
> corrupts.
> In consequence of this i need that the job backup start only if definitely the
> software doesn't work (for example on computer start up).

Add that script to one of the various autostart thingies - init 
scripts in unix/linux, autostart folder in Windows or KDE, for example.

A better solution might be to use VSS in windows, or a client run 
before job script which dumps the database in general.

Arno


> bye,
> sub 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>