28
28
<!--Navigation Panel-->
29
<A NAME="tex2html1521"
29
<A NAME="tex2html1538"
30
30
HREF="Console_Configuration.html">
31
31
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
32
<A NAME="tex2html1515"
32
<A NAME="tex2html1532"
33
33
HREF="Bacula_Main_Reference.html">
34
34
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
35
<A NAME="tex2html1509"
35
<A NAME="tex2html1526"
36
36
HREF="Autochanger_Resource.html">
37
37
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
38
<A NAME="tex2html1517"
38
<A NAME="tex2html1534"
39
39
HREF="Contents.html">
40
40
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
41
<A NAME="tex2html1519"
41
<A NAME="tex2html1536"
42
42
HREF="Thanks.html">
43
43
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A>
45
<B> Next:</B> <A NAME="tex2html1522"
45
<B> Next:</B> <A NAME="tex2html1539"
46
46
HREF="Console_Configuration.html">Console Configuration</A>
47
<B> Up:</B> <A NAME="tex2html1516"
47
<B> Up:</B> <A NAME="tex2html1533"
48
48
HREF="Bacula_Main_Reference.html">Bacula Main Reference</A>
49
<B> Previous:</B> <A NAME="tex2html1510"
49
<B> Previous:</B> <A NAME="tex2html1527"
50
50
HREF="Autochanger_Resource.html">Autochanger Resource</A>
51
<B> <A NAME="tex2html1518"
51
<B> <A NAME="tex2html1535"
52
52
HREF="Contents.html">Contents</A></B>
53
<B> <A NAME="tex2html1520"
53
<B> <A NAME="tex2html1537"
54
54
HREF="Thanks.html">Index</A></B>
57
57
<!--End of Navigation Panel-->
59
<H1><A NAME="SECTION002100000000000000000"></A>
59
<H1><A NAME="SECTION002200000000000000000"></A>
60
60
<A NAME="MessagesChapter"></A>
68
68
The Messages resource defines how messages are to be handled and destinations
113
113
<DT><STRONG>destination = address = message-type1, message-type2,
114
114
message-type3, ... </STRONG></DT>
115
<DD><A NAME="12944"></A>
115
<DD><A NAME="12955"></A>
118
118
Where <B>destination</B> is one of a predefined set of keywords that define
132
132
<DT><STRONG>Messages</STRONG></DT>
133
<DD><A NAME="12957"></A>
133
<DD><A NAME="12968"></A>
134
134
Start of the Messages records.
138
138
<DT><STRONG>Name = name</STRONG></DT>
139
<DD><A NAME="12960"></A>
139
<DD><A NAME="12971"></A>
140
140
The name of the Messages resource. The name you specify here will be used to
141
141
tie this Messages resource to a Job and/or to the daemon.
144
144
<A NAME="mailcommand"></A></DD>
145
145
<DT><STRONG>MailCommand = command</STRONG></DT>
146
<DD><A NAME="12964"></A>
146
<DD><A NAME="12975"></A>
147
147
In the absence of this resource, Bacula will send all mail using the
148
148
following command:
212
212
<DT><STRONG>OperatorCommand = command</STRONG></DT>
213
<DD><A NAME="12991"></A>
213
<DD><A NAME="13002"></A>
214
214
This resource specification is similar to the <B>MailCommand</B> except that
215
215
it is used for Operator messages. The substitutions performed for the <B> MailCommand</B> are also done for this command. Normally, you will set this
216
216
command to the same value as specified for the <B>MailCommand</B>.
231
231
<DT><STRONG>stdout</STRONG></DT>
232
<DD><A NAME="13008"></A>
232
<DD><A NAME="13019"></A>
233
233
Send the message to standard output.
237
237
<DT><STRONG>stderr</STRONG></DT>
238
<DD><A NAME="13009"></A>
238
<DD><A NAME="13020"></A>
239
239
Send the message to standard error.
243
243
<DT><STRONG>console</STRONG></DT>
244
<DD><A NAME="13010"></A>
244
<DD><A NAME="13021"></A>
245
245
Send the message to the console (Bacula Console). These messages are held
246
246
until the console program connects to the Director.
265
265
<DT><STRONG>director</STRONG></DT>
266
<DD><A NAME="13026"></A>
266
<DD><A NAME="13037"></A>
268
268
Send the message to the Director whose name is given in the <B>address</B>
269
269
field. Note, in the current implementation, the Director Name is ignored, and
270
270
the message is sent to the Director that started the Job.
274
274
<DT><STRONG>file</STRONG></DT>
275
<DD><A NAME="13029"></A>
275
<DD><A NAME="13040"></A>
277
277
Send the message to the filename given in the <B>address</B> field. If the
278
278
file already exists, it will be overwritten.
282
282
<DT><STRONG>append</STRONG></DT>
283
<DD><A NAME="13032"></A>
283
<DD><A NAME="13043"></A>
285
285
Append the message to the filename given in the <B>address</B> field. If the
286
286
file already exists, it will be appended to. If the file does not exist, it
291
291
<DT><STRONG>syslog</STRONG></DT>
292
<DD><A NAME="13035"></A>
292
<DD><A NAME="13046"></A>
293
293
Send the message to the system log (syslog) using the facility specified in
294
294
the <B>address</B> field. Note, for the moment, the <B>address</B> field is
295
295
ignored and the message is always sent to the LOG_DAEMON facility with
312
312
<DT><STRONG>mail</STRONG></DT>
313
<DD><A NAME="13045"></A>
313
<DD><A NAME="13056"></A>
314
314
Send the message to the email addresses that are given as a comma
315
315
separated list in the <B>address</B> field. Mail messages are grouped
316
316
together during a job and then sent as a single email message when the
325
325
<DT><STRONG>mail on error</STRONG></DT>
326
<DD><A NAME="13049"></A>
326
<DD><A NAME="13060"></A>
327
327
Send the message to the email addresses that are given as a comma
328
328
separated list in the <B>address</B> field if the Job terminates with an
329
329
error condition. MailOnError messages are grouped together during a job
339
339
<DT><STRONG>mail on success</STRONG></DT>
340
<DD><A NAME="13053"></A>
340
<DD><A NAME="13064"></A>
341
341
Send the message to the email addresses that are given as a comma
342
342
separated list in the <B>address</B> field if the Job terminates
343
343
normally (no error condition). MailOnSuccess messages are grouped
352
352
<DT><STRONG>operator</STRONG></DT>
353
<DD><A NAME="13056"></A>
353
<DD><A NAME="13067"></A>
354
354
Send the message to the email addresses that are specified as a comma
355
355
separated list in the <B>address</B> field. This is similar to <B> mail</B> above, except that each message is sent as received. Thus there
356
356
is one email per message. This is most useful for <B>mount</B> messages
361
361
<DT><STRONG>console</STRONG></DT>
362
<DD><A NAME="13060"></A>
362
<DD><A NAME="13071"></A>
363
363
Send the message to the Bacula console.
367
367
<DT><STRONG>stdout</STRONG></DT>
368
<DD><A NAME="13061"></A>
368
<DD><A NAME="13072"></A>
369
369
Send the message to the standard output (normally not used).
373
373
<DT><STRONG>stderr</STRONG></DT>
374
<DD><A NAME="13062"></A>
374
<DD><A NAME="13073"></A>
375
375
Send the message to the standard error output (normally not used).
379
379
<DT><STRONG>catalog</STRONG></DT>
380
<DD><A NAME="13063"></A>
380
<DD><A NAME="13074"></A>
381
381
Send the message to the Catalog database. The message will be
382
382
written to the table named <B>Log</B> and a timestamp field will
383
383
also be added. This permits Job Reports and other messages to
400
400
<DT><STRONG>info</STRONG></DT>
401
<DD><A NAME="13069"></A>
401
<DD><A NAME="13080"></A>
402
402
General information messages.
406
406
<DT><STRONG>warning</STRONG></DT>
407
<DD><A NAME="13070"></A>
407
<DD><A NAME="13081"></A>
408
408
Warning messages. Generally this is some unusual condition but not expected
413
413
<DT><STRONG>error</STRONG></DT>
414
<DD><A NAME="13071"></A>
414
<DD><A NAME="13082"></A>
415
415
Non-fatal error messages. The job continues running. Any error message should
416
416
be investigated as it means that something went wrong.
420
420
<DT><STRONG>fatal</STRONG></DT>
421
<DD><A NAME="13072"></A>
421
<DD><A NAME="13083"></A>
422
422
Fatal error messages. Fatal errors cause the job to terminate.
426
426
<DT><STRONG>terminate</STRONG></DT>
427
<DD><A NAME="13073"></A>
427
<DD><A NAME="13084"></A>
428
428
Message generated when the daemon shuts down.
432
432
<DT><STRONG>notsaved</STRONG></DT>
433
<DD><A NAME="13074"></A>
433
<DD><A NAME="13085"></A>
435
435
Files not saved because of some error. Usually because the file cannot be
436
436
accessed (i.e. it does not exist or is not mounted).
440
440
<DT><STRONG>skipped</STRONG></DT>
441
<DD><A NAME="13076"></A>
441
<DD><A NAME="13087"></A>
443
443
Files that were skipped because of a user supplied option such as an
444
444
incremental backup or a file that matches an exclusion pattern. This is
445
445
not considered an error condition such as the files listed for the <B> notsaved</B> type because the configuration file explicitly requests these
461
461
<DT><STRONG>restored</STRONG></DT>
462
<DD><A NAME="13081"></A>
462
<DD><A NAME="13092"></A>
464
464
The <B>ls</B> style listing generated for each file restored is sent to
465
465
this message class.
469
469
<DT><STRONG>all</STRONG></DT>
470
<DD><A NAME="13084"></A>
470
<DD><A NAME="13095"></A>
471
471
All message types.
475
475
<DT><STRONG>security</STRONG></DT>
476
<DD><A NAME="13085"></A>
476
<DD><A NAME="13096"></A>
477
477
Security info/warning messages principally from unauthorized
478
478
connection attempts.
482
482
<DT><STRONG>alert</STRONG></DT>
483
<DD><A NAME="13086"></A>
483
<DD><A NAME="13097"></A>
484
484
Alert messages. These are messages generated by tape alerts.
488
488
<DT><STRONG>volmgmt</STRONG></DT>
489
<DD><A NAME="13087"></A>
489
<DD><A NAME="13098"></A>
490
490
Volume management messages. Currently there are no volume mangement
491
491
messages generated.
539
539
<!--Navigation Panel-->
540
<A NAME="tex2html1521"
540
<A NAME="tex2html1538"
541
541
HREF="Console_Configuration.html">
542
542
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
543
<A NAME="tex2html1515"
543
<A NAME="tex2html1532"
544
544
HREF="Bacula_Main_Reference.html">
545
545
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
546
<A NAME="tex2html1509"
546
<A NAME="tex2html1526"
547
547
HREF="Autochanger_Resource.html">
548
548
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
549
<A NAME="tex2html1517"
549
<A NAME="tex2html1534"
550
550
HREF="Contents.html">
551
551
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
552
<A NAME="tex2html1519"
552
<A NAME="tex2html1536"
553
553
HREF="Thanks.html">
554
554
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A>
556
<B> Next:</B> <A NAME="tex2html1522"
556
<B> Next:</B> <A NAME="tex2html1539"
557
557
HREF="Console_Configuration.html">Console Configuration</A>
558
<B> Up:</B> <A NAME="tex2html1516"
558
<B> Up:</B> <A NAME="tex2html1533"
559
559
HREF="Bacula_Main_Reference.html">Bacula Main Reference</A>
560
<B> Previous:</B> <A NAME="tex2html1510"
560
<B> Previous:</B> <A NAME="tex2html1527"
561
561
HREF="Autochanger_Resource.html">Autochanger Resource</A>
562
<B> <A NAME="tex2html1518"
562
<B> <A NAME="tex2html1535"
563
563
HREF="Contents.html">Contents</A></B>
564
<B> <A NAME="tex2html1520"
564
<B> <A NAME="tex2html1537"
565
565
HREF="Thanks.html">Index</A></B>
566
566
<!--End of Navigation Panel-->