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
11 Director { # define myself
13 DIRPort = @dirport@ # where we listen for UA connections
14 QueryFile = "@scriptdir@/query.sql"
15 WorkingDirectory = "@working_dir@"
16 PidDirectory = "@piddir@"
17 Maximum Concurrent Jobs = 4
18 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
23 # Define the main nightly save backup job
24 # By default, this job will back up to disk in @tmpdir@
28 Client = @win32_client@
33 Write Bootstrap = "@working_dir@/NightlySave.bsr"
34 Maximum Concurrent Jobs = 4
39 # Define the main nightly save backup job
40 # By default, this job will back up to disk in @tmpdir@
42 Name = "SystemstateJob"
44 Client = @win32_client@
45 FileSet = "SystemState Set"
49 Write Bootstrap = "@working_dir@/NightlySave.bsr"
50 Maximum Concurrent Jobs = 4
56 Client = @win32_client@
62 Write Bootstrap = "@working_dir@/NightlySave.bsr"
63 Maximum Concurrent Jobs = 4
70 Client = @win32_client@
75 Write Bootstrap = "@working_dir@/NightlySave.bsr"
76 Maximum Concurrent Jobs = 4
80 Command = "c:\\tmp\\weird_runscript\\test.bat" # ok | ok | ok
81 Command = "c:/tmp/weird_runscript/test.bat" # ok | ok | ok
82 Command = "\"c:/tmp/weird_runscript/dir space/test.bat\"" # ok | ok | ok
83 Command = "\"c:/tmp/weird_runscript/dir space/test2 space.bat\"" # ok|ok|ok
84 Command = "c:/tmp/weird_runscript/testé.bat" # ok | ok | ok
85 Command = "c:\\tmp\\weird_runscript\\testé.bat" # ok | ok | ok
86 Command = "\"c:\\tmp\\weird_runscript\\test space.bat\"" # ok | ok | ok
92 # Standard Restore template, to be changed by Console program
96 Client = @win32_client@
101 Where = @tmpdir@/bacula-restores
105 # List of files to be backed up
111 signature=MD5; portable=no
114 File = "@win32_file@"
117 # List of files to be backed up
119 Name = "SystemState Set"
123 signature=MD5; portable=no
126 File = "@win32_file@"
127 Plugin = "systemstate:/@SYSTEMSTATE/"
131 # List of files to be backed up
137 signature=MD5; portable=no
140 File = "@win32_file@"
141 Plugin = "systemstate:/@SYSTEMSTATE/"
146 # When to do the backups, full backup on first sunday of the month,
147 # differential (i.e. incremental since full) every other sunday,
148 # and incremental backups other days
151 Run = Full 1st sun at 1:05
152 Run = Differential 2nd-5th sun at 1:05
153 Run = Incremental mon-sat at 1:05
156 # Client (File Services) to backup
158 Name = @win32_client@
159 Address = @win32_addr@
160 FDPort = @win32_port@
162 Password = "@win32_password@"
163 File Retention = 30d # 30 days
164 Job Retention = 180d # six months
165 AutoPrune = yes # Prune expired Jobs/Files
166 Maximum Concurrent Jobs = 4
170 # Definition of File storage device
173 Address = @win32_store_addr@ # N.B. Use a fully qualified name here
175 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
176 Device = FileStorage # must be same as Device in Storage daemon
177 Media Type = File # must be same as MediaType in Storage daemon
179 Maximum Concurrent Jobs = 4
183 # Generic catalog service
187 dbname = @db_name@; user = @db_user@; password = "@db_password@"
190 # Reasonable message delivery -- send most everything to email address
194 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
195 # operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
196 # MailOnError = @job_email@ = all, !terminate
197 # operator = @job_email@ = mount
198 console = all, !skipped, !terminate, !restored
200 # WARNING! the following will create a file that you must cycle from
201 # time to time as it will grow indefinitely. However, it will
202 # also keep all your messages if the scroll off the console.
204 append = "@working_dir@/log" = all, !skipped
205 catalog = all, !skipped
209 # Message delivery for daemon messages (no job).
212 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
213 # mail = @job_email@ = all, !skipped
214 console = all, !skipped, !saved
215 append = "@working_dir@/log" = all, !skipped
216 catalog = all, !skipped
220 # Default pool definition
224 Recycle = yes # Bacula can automatically recycle Volumes
225 AutoPrune = yes # Prune expired volumes
226 Volume Retention = 365d # one year