Hi,
I copied and modified the example Messages directive into my bacula-sd.conf
like so:
Messages {
Name = Standard
mailcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t
%e of %c %l\" %r"
operatorcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula:
Intervention needed for %j\" %r"
Mail = [EMAIL PROTECTED] = all, !skipped, !terminate
append = "/var/bacula/working/log" = all, !skipped, !terminate
operator = [EMAIL PROTECTED] = mount
director = syddbe220r-dir = all
console = all, !skipped, !saved
}
1) When I receive mails from bacula, the date shown is in the future.
That is, when you view the source of the email, it shows:
Date: Tue, 06 Sep 2005 10:39:56 +0000 (%z)
It did finish at 10:39 allright, but not at +0000. The correct timezone offset
in my case is +1000.
The timezone on the host running bacula is set to:
# set | grep TZ
TZ=Australia/NSW
2) I am receiving 2 mails from bacula ... the contents of 1 mail looks like a
subset of the contents of the other mail.
Furthermore, the Subject line says *none* *none* of *none* *none*
Example:
Subject: Bacula: *none* *none* of *none* *none*
06-Sep 08:00 syddbe220r-sd: Spooling data ...
06-Sep 08:24 syddbe220r-sd: Writing spooled data to Volume. Despooling
16,894,316,235 bytes ...
06-Sep 09:46 syddbe220r-sd: Committing spooled data to Volume. Despooling
13,418,153,770 bytes ...
06-Sep 10:12 syddbe220r-sd: End of Volume "DailyPool-02" at 36:1546 on device
/dev/rmt/1mbn. Write of 64512 bytes got 0.
06-Sep 10:13 syddbe220r-sd: Re-read of last block succeeded.
06-Sep 10:13 syddbe220r-sd: End of medium on Volume "DailyPool-02"
Bytes=33,288,070,829 Blocks=516,000 at 06-Sep-2005 10:13.
06-Sep 10:13 syddbe220r-sd: 3301 Issuing autochanger "loaded drive 0" command.
06-Sep 10:13 syddbe220r-sd: 3302 Autochanger "loaded drive 0", result is Slot 3.
06-Sep 10:13 syddbe220r-sd: 3303 Issuing autochanger "unload slot 3, drive 0"
command.
06-Sep 10:14 syddbe220r-sd: 3304 Issuing autochanger "load slot 2, drive 0"
command.
06-Sep 10:17 syddbe220r-sd: 3305 Autochanger "load slot 2, drive 0", status is
OK.
06-Sep 10:17 syddbe220r-sd: Recycled volume "DailyPool-01" on device
"/dev/rmt/1mbn", all previous data lost.
06-Sep 10:17 syddbe220r-sd: New volume "DailyPool-01" mounted on device
/dev/rmt/1mbn at 06-Sep-2005 10:17.
06-Sep 10:39 syddbe220r-sd: Sending spooled attrs to the Director. Despooling
49,239 bytes ...
The other email that arrives shows:
Subject: Bacula: Backup OK of syddb280r-fd Incremental
06-Sep 08:00 syddbe220r-dir: Start Backup JobId 154,
Job=syddb280r-sybdump.2005-09-06_08.00.00
06-Sep 08:00 syddbe220r-sd: Spooling data ...
06-Sep 08:24 syddbe220r-sd: Writing spooled data to Volume. Despooling
16,894,316,235 bytes ...
06-Sep 09:46 syddbe220r-sd: Committing spooled data to Volume. Despooling
13,418,153,770 bytes ...
06-Sep 10:12 syddbe220r-sd: End of Volume "DailyPool-02" at 36:1546 on device
/dev/rmt/1mbn. Write of 64512 bytes got 0.
06-Sep 10:13 syddbe220r-sd: Re-read of last block succeeded.
06-Sep 10:13 syddbe220r-sd: End of medium on Volume "DailyPool-02"
Bytes=33,288,070,829 Blocks=516,000 at 06-Sep-2005 10:13.
06-Sep 10:13 syddbe220r-dir: Recycled volume "DailyPool-01"
06-Sep 10:13 syddbe220r-sd: 3301 Issuing autochanger "loaded drive 0" command.
06-Sep 10:13 syddbe220r-sd: 3302 Autochanger "loaded drive 0", result is Slot 3.
06-Sep 10:13 syddbe220r-sd: 3303 Issuing autochanger "unload slot 3, drive 0"
command.
06-Sep 10:14 syddbe220r-sd: 3304 Issuing autochanger "load slot 2, drive 0"
command.
06-Sep 10:17 syddbe220r-sd: 3305 Autochanger "load slot 2, drive 0", status is
OK.
06-Sep 10:17 syddbe220r-sd: Recycled volume "DailyPool-01" on device
"/dev/rmt/1mbn", all previous data lost.
06-Sep 10:17 syddbe220r-sd: New volume "DailyPool-01" mounted on device
/dev/rmt/1mbn at 06-Sep-2005 10:17.
06-Sep 10:39 syddbe220r-sd: Sending spooled attrs to the Director. Despooling
49,239 bytes ...
06-Sep 10:39 syddbe220r-dir: Bacula 1.36.3 (22Apr05): 06-Sep-2005 10:39:56
JobId: 154
Job: syddb280r-sybdump.2005-09-06_08.00.00
Backup Level: Incremental, since=2005-09-05 08:00:02
Client: syddb280r-fd
FileSet: "SybaseLogDump FileSet" 2005-07-04 12:40:26
Pool: "DailyPool"
Storage: "DLT8000"
Start time: 06-Sep-2005 08:00:02
End time: 06-Sep-2005 10:39:56
FD Files Written: 212
SD Files Written: 212
FD Bytes Written: 30,278,803,750
SD Bytes Written: 30,278,834,333
Rate: 3156.0 KB/s
Software Compression: None
Volume name(s): DailyPool-02|DailyPool-01
Volume Session Id: 13
Volume Session Time: 1125730213
Last Volume Bytes: 6,208,636,871
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK
06-Sep 10:39 syddbe220r-dir: Begin pruning Jobs.
06-Sep 10:39 syddbe220r-dir: No Jobs found to prune.
06-Sep 10:39 syddbe220r-dir: Begin pruning Files.
06-Sep 10:39 syddbe220r-dir: No Files found to prune.
06-Sep 10:39 syddbe220r-dir: End auto prune.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users