Issue with not logging Bareos Director

8 views
Skip to first unread message

Hendrik Peyerl

unread,
Jul 3, 2019, 10:46:40 AM7/3/19
to bareos...@googlegroups.com
Hello all,

I have been debugging an issue with my newly setup Bareos Director for quite some time now and I could not resolve it, so I hope you can help me out.

Setup:
Centos 7
Bareos 18.2.5

My director is currently only logging jobs but not the errors of the director itself, basically only the Messages Ressource „Job“ is working while „Daemon“ is not.

messages.conf:

Messages {
Name = Job
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos: %t %e of %c %l\" %r"
operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bareos\) \<%r\>\" -s \"Bareos: Intervention needed for %j\" %r"
MailOnSuccess = back...@xxx.xx = all, !skipped
MailOnError = bac...@xxx.xx = all, !skipped
operator = bac...@xxx.xx = mount
console = all, !skipped, !saved
append = "/var/log/bareos/jobs.log" = all, !skipped
}
Messages {
Name = Daemon
console = all, !skipped
append = "/var/log/bareos/bareostest.log" = all, !skipped



director.conf:

Director {
Name = „xxx"
Password = „xxxx"
Query File = "/usr/lib/bareos/scripts/query.sql"
Messages = Daemon
}

jobdefs.conf:

JobDefs {
Name = "default"
Differential Backup Pool = "Differential"
File Set = "LinuxAll"
Full Backup Pool = "Full"
Incremental Backup Pool = "Incremental"
Messages = Job
Pool = "Incremental"
Priority = 10
Storage = "prod-sd-101"
Type = backup
Write Bootstrap = "/var/lib/bareos/%c.bsr"
}


Any help would be greatly appreciated.

Thanks,

Hendrik

Reply all
Reply to author
Forward
0 new messages