After I set up one second director on client machines, I noticed a
lot of duplicate log lines.
Reading the manual I found:
Message Resource page 196
<destination> = <address> = <message-type1>, <message-type2>, ...
Where address depends on the destination.
The destination may be one of the following:
director Send the message to the Director whose name is given in the address field.
Note, in the current implementation, the Director Name is ignored, and the message is sent to the Director that started the Job.
###############################
# bacula-fd.conf
###############################
FileDaemon {
Name = windows-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = "C:\\Program Files\\Bacula\\working"
Pid Directory = "C:\\Program Files\\Bacula\\working"
Maximum Concurrent Jobs = 10
}
Director {
Name = bacula-dir
Password = "45gfRisaJrhmcE9mGQx07YVsHkjhGHghMRHYAd6n6Y"
}
Director {
Name = backup-dir
Password = "45gfRisaJrhmcE9mGQx07YVsHkjhGHghMRHYAd6n6Y"
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = bacula-dir = all, !skipped, !restored
#director = backup-dir = all, !skipped, !restored
}
After I commented the line of second director to receive messages I stopped to receive duplicate log lines.
There is a way to configure a second bacula-dir to receive messages or there are something wrong in my configuration.
Thanks Wanderlei