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/testé.bat" # ok | ok | ok
83 Command = "c:\\tmp\\weird_runscript\\testé.bat" # ok | ok | ok
84 Command = "\"c:\\tmp\\weird_runscript\\test space.bat\"" # ok | ok | ok
90 # Standard Restore template, to be changed by Console program
94 Client = @win32_client@
99 Where = @tmpdir@/bacula-restores
103 # List of files to be backed up
109 signature=MD5; portable=no
112 File = "@win32_file@"
115 # List of files to be backed up
117 Name = "SystemState Set"
121 signature=MD5; portable=no
124 File = "@win32_file@"
125 Plugin = "systemstate:/@SYSTEMSTATE/"
129 # List of files to be backed up
135 signature=MD5; portable=no
138 File = "@win32_file@"
139 Plugin = "systemstate:/@SYSTEMSTATE/"
144 # When to do the backups, full backup on first sunday of the month,
145 # differential (i.e. incremental since full) every other sunday,
146 # and incremental backups other days
149 Run = Full 1st sun at 1:05
150 Run = Differential 2nd-5th sun at 1:05
151 Run = Incremental mon-sat at 1:05
154 # Client (File Services) to backup
156 Name = @win32_client@
157 Address = @win32_addr@
158 FDPort = @win32_port@
160 Password = "@win32_password@"
161 File Retention = 30d # 30 days
162 Job Retention = 180d # six months
163 AutoPrune = yes # Prune expired Jobs/Files
164 Maximum Concurrent Jobs = 4
168 # Definition of File storage device
171 Address = @win32_store_addr@ # N.B. Use a fully qualified name here
173 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
174 Device = FileStorage # must be same as Device in Storage daemon
175 Media Type = File # must be same as MediaType in Storage daemon
177 Maximum Concurrent Jobs = 4
181 # Generic catalog service
185 dbname = @db_name@; user = @db_user@; password = "@db_password@"
188 # Reasonable message delivery -- send most everything to email address
192 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
193 # operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
194 # MailOnError = @job_email@ = all, !terminate
195 # operator = @job_email@ = mount
196 console = all, !skipped, !terminate, !restored
198 # WARNING! the following will create a file that you must cycle from
199 # time to time as it will grow indefinitely. However, it will
200 # also keep all your messages if the scroll off the console.
202 append = "@working_dir@/log" = all, !skipped
203 catalog = all, !skipped
207 # Message delivery for daemon messages (no job).
210 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
211 # mail = @job_email@ = all, !skipped
212 console = all, !skipped, !saved
213 append = "@working_dir@/log" = all, !skipped
214 catalog = all, !skipped
218 # Default pool definition
222 Recycle = yes # Bacula can automatically recycle Volumes
223 AutoPrune = yes # Prune expired volumes
224 Volume Retention = 365d # one year