On Monday 31 October 2005 15:38, Viktorija Almazova wrote:
> Thanks,
>
> yes this looks very easy to configure. But if one of my user will get
> something like this:
>
> 29-Oct 00:16 vessel-dir: Start Backup JobId 3163,
> Job=revenger.2005-10-28_21.06.18 29-Oct 00:17 vessel-dir:
> revenger.2005-10-28_21.06.18 Fatal error: bnet.c:775 Unable to connect to
> File daemon on 21.21.16.143:9102. ERR=Operation timed out 29-Oct 00:17
> vessel-dir: revenger.2005-10-28_21.06.18 Error: Bacula 1.36.3 (22Apr05):
> 29-Oct-2005 00:17:41 JobId:                  3163
>   Job:                    revenger.2005-10-28_21.06.18
>   Backup Level:           Incremental, since=2005-10-28 00:55:53
>   Client:                 revenger-fd
>   FileSet:                "revenger" 2005-09-17 00:17:18
>   Pool:                   "revenger"
>   Storage:                "File"
>   Start time:             29-Oct-2005 00:16:15
>   End time:               29-Oct-2005 00:17:41
>   FD Files Written:       0
>   SD Files Written:       0
>   FD Bytes Written:       0
>   SD Bytes Written:       0
>   Rate:                   0.0 KB/s
>   Software Compression:   None
>   Volume name(s):
>   Volume Session Id:      1146
>   Volume Session Time:    1129015322
>   Last Volume Bytes:      0
>   Non-fatal FD errors:    0
>   SD Errors:              0
>   FD termination status:
>   SD termination status:  Waiting on FD
>   Termination:            *** Backup Error ***
>
> He will be shocked and every day will ask email description. So if is there
> a way to make these messages like this:
>
> Hello, Dear user!
>
> Your workstation backup failed tonight. Please check is bacula running, if
> not start it. For more information contact you administrator by phone:
>
>
> Your administrator
>
>
> Is it possible

This is possible if you intercept the emails, process them, and send your own, 
or if you write a Python script that checks the job status and knows where to 
send the email -- of course, this would require 1.38.0

>
>
> Viktorija
>
>
>
> On Mon, 31 Oct 2005 14:54:39 +0200
>
> Kern Sibbald <[EMAIL PROTECTED]> wrote:
> > On Monday 31 October 2005 13:18, Viktorija wrote:
> > > Hello,
> > >
> > > i have a question (again :)).
> > > I have bacula server which is backuping worstations. Clients are about
> > > 70. Every day i start my work with reading mails about failed backups.
> > > Then i send to each user notification mail about it. Is there any way
> > > to make script which will check failed backups and will send e-mail to
> > > user, who's backup failed? Maybe someone already have something
> > > similar?
> >
> > Create 70 Message resources, each with the email address of the user (and
> > perhaps you), then modify the jobs to use the appropriate Message
> > resource.
> >
> > It will send all job reports for the user's Job to the user, which is
> > probably better than just error messages, since the user will get
> > positive feedback every day that his machine was backed up, and when.  If
> > the user does not want to see the Backup OK messages, he/she could easily
> > filter them into a folder, which is what I do ...
> >
> > > Thanks for you suggestions!
> > >
> > > Best Regards,
> > > Viktorija
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by the JBoss Inc.
> > > Get Certified Today * Register for a JBoss Training Course
> > > Free Certification Exam for All Training Attendees Through End of 2005
> > > Visit http://www.jboss.com/services/certification for more information
> > > _______________________________________________
> > > Bacula-users mailing list
> > > Bacula-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >
> > --
> > Best regards,
> >
> > Kern
> >
> >   (">
> >   /\
> >   V_V
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the JBoss Inc.
> > Get Certified Today * Register for a JBoss Training Course
> > Free Certification Exam for All Training Attendees Through End of 2005
> > Visit http://www.jboss.com/services/certification for more information
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to