2 # Default Bacula Director Configuration file
4 # The only thing that MUST be changed is to add one or more
5 # file or directory names in the Include directive of the
8 # For Bacula release 1.39.27 (24 October 2006) -- debian testing/unstable
10 # You might also want to change the default email address
11 # from root to your address. See the "mail" and "operator"
12 # directives in the Messages resource.
15 Director { # define myself
17 DIRport = 8101 # where we listen for UA connections
18 QueryFile = "@scriptdir@/query.sql"
19 WorkingDirectory = "@working_dir@"
20 PidDirectory = "@piddir@"
21 SubSysDirectory = "@subsysdir@"
22 Maximum Concurrent Jobs = 4
23 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3" # Console password
31 Client = @hostname@-fd
37 Maximum Concurrent Jobs = 16
47 #dir: BeforeJob: run command "/bin/echo RunBeforeJob"
48 #fd: ClientRunBeforeJob: ClientRunBeforeJob
49 #fd: ClientAfterJob: run command "/bin/echo ClientRunAfterJob"
50 #dir: AfterJob: run command "/bin/echo RunAfterJob"
56 RunBeforeJob = "/bin/echo RunBeforeJob"
57 ClientRunBeforeJob = "/bin/echo ClientRunBeforeJob"
58 Run After Job = "/bin/echo RunAfterJob"
59 ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
62 #After job are after before job
64 Name = "RUN_DIR_FAILED_BUG"
67 Run After Failed Job = "/bin/echo RunAfterFailedJob"
68 RunBeforeJob = "/bin/false"
71 #@hostname@-dir: BeforeJob: run command "/bin/false"
72 #@hostname@-dir: BeforeJob: RunAfterFailedJob
74 Name = "RUN_DIR_FAILED"
77 RunBeforeJob = "/bin/false"
78 Run After Failed Job = "/bin/echo RunAfterFailedJob"
81 #@hostname@-fd: ClientBeforeJob: run command "/bin/false"
82 #@hostname@-fd: ClientBeforeJob: run command "/bin/false 2"
83 #@hostname@-dir: AfterJob: run command "/bin/echo RunAfterFailedJob"
85 Name = "RUN_FD_FAILED"
89 Command = "/bin/false"
94 Command = "/bin/false 2"
99 Run After Failed Job = "/bin/echo RunAfterFailedJob"
102 #@hostname@-fd: ClientBeforeJob: run command "/bin/false"
103 #Backup OK -- with warnings
105 Name = "RUN_FD_WARNING"
109 Command = "/bin/false After False"
113 Run After Failed Job = "/bin/echo RunAfterFailedJob"
116 # Client (File Services) to backup
122 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
123 File Retention = 30d # 30 days
124 Job Retention = 180d # six months
125 AutoPrune = yes # Prune expired Jobs/Files
126 Maximum Concurrent Jobs = 4
129 # Definiton of file storage device
132 Address = @hostname@ # N.B. Use a fully qualified name here
134 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
137 Maximum Concurrent Jobs = 4
140 # Generic catalog service
143 dbname = bacula; user = bacula; password = ""
149 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
150 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r
152 MailOnError = @job_email@ = all
153 operator = @job_email@ = mount
154 console = all, !skipped, !terminate, !restored
156 # WARNING! the following will create a file that you must cycle from
157 # time to time as it will grow indefinitely. However, it will
158 # also keep all your messages if the scroll off the console.
160 append = "@working_dir@/log" = all, !skipped
165 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
166 console = all, !skipped, !terminate
168 # WARNING! the following will create a file that you must cycle from
169 # time to time as it will grow indefinitely. However, it will
170 # also keep all your messages if the scroll off the console.
172 append = "@working_dir@/log" = all, !skipped
176 # Message delivery for daemon messages (no job).
179 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
180 mail = @job_email@ = all, !skipped
181 console = all, !skipped, !saved
182 append = "@working_dir@/log" = all, !skipped
185 # Default pool definition
189 Recycle = yes # Bacula can automatically recycle Volumes
190 AutoPrune = yes # Prune expired volumes
191 Volume Retention = 365d # one year