########################################################################
Director {
- Name = <%= @bacula_director_name %>
+ Name = <%= @director_name %>
Description = <%= @hostname %> - <%= @domain %> Bacula Director
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
DirAddresses = {
# Always have localhost in, then the configured IP
ip = { addr = 127.0.0.1; port = <%= @port_dir %> }
- ip = { addr = <%=@bacula_director_address%>; port = <%= @port_dir %> }
+ ip = { addr = <%= @director_address %>; port = <%= @port_dir %> }
}
TLS Enable = yes
TLS Require = yes
TLS Verify Peer = yes
- TLS Allowed CN = "clientcerts/<%= @bacula_director_address %>"
+ TLS Allowed CN = "clientcerts/<%= @director_address %>"
TLS CA Certificate File = "<%= @bacula_ca_path %>"
# This is a server certificate, used for incoming console connections.
TLS Certificate = "<%= @bacula_ssl_server_cert %>"
append = "/var/lib/bacula/log" = all
}
-########################################################################
-# Console, limited #
-########################################################################
-Console {
- Name = <%= @bacula_monitor_name %>
- Password = "<%= @bacula_monitor_secret %>"
- CommandACL = status, .status
-}
-
########################################################################
# Jobdefinitions with defaults and stuff #
########################################################################
Job {
Name = "RestoreFiles"
Type = Restore
- Client = <%=@bacula_director_address%>-fd
FileSet = "Standard Set"
+ Client = <%= @some_client_name%>
Pool = <%= @some_pool_name %>
Messages = Standard
Where = /var/tmp/bacula-restores