Bacula-users

[Bacula-users] Python integration & laptops

2009-05-01 14:44:19
Subject: [Bacula-users] Python integration & laptops
From: <c.montresor AT netspin DOT it>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 01 May 2009 20:14:06 +0200

hi everybody,
in my office bacula is running and backup all my server and desktops every night  and i'm happy, but not the laptops.
why not the laptops ? because often they miss.


In my first attempt i configured the job with reschedule on Error for 23 hour every 30 minute:
- most times i got an error message because not all day all clients are at office.
- some times they disconnect the cable while job is running with error mail, no backup and sometimes also volumes are marked with error flag.
it's not a solution.


Currently i have manual backup with vocal client control:
me: "do you plan to stay at office for long time ?"
mr. X: "yes"
me: "ok, i going to backup your data, please don't disconnect cable or i have to kill you"
this works well but...


The idea:
- Write a tiny agent for client, a tray icon.
- This icon should be always running and if can reach the bacula director prompt to user "Hi, do you want backup now ?" (yes,| no,remind me in ...)
- After backup notify the user about the job.

The biggest problem of this solution is tell to bacula director to run a specific job, I don't like the idea to parse the bconsle output, not nice, not reliable, bconsole it's designed for humans.
Today while was parsing the bacula manual i stepped into Python paragraph. Wondered form the idea of integration with python i looked for an alternative method to control bacula director instead of bacula console, but the docs talks only about events and event listening, not about taking control of bacula demon.

anyone have have different informations about python integration, something like bacula director API ?

Thanks

 

Cesare Montresor

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
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>
  • [Bacula-users] Python integration & laptops, c.montresor <=