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/"
131 # When to do the backups, full backup on first sunday of the month,
132 # differential (i.e. incremental since full) every other sunday,
133 # and incremental backups other days
136 Run = Full 1st sun at 1:05
137 Run = Differential 2nd-5th sun at 1:05
138 Run = Incremental mon-sat at 1:05
141 # Client (File Services) to backup
143 Name = @win32_client@
144 Address = @win32_addr@
145 FDPort = @win32_port@
147 Password = "@win32_password@"
148 File Retention = 30d # 30 days
149 Job Retention = 180d # six months
150 AutoPrune = yes # Prune expired Jobs/Files
151 Maximum Concurrent Jobs = 4
155 # Definition of File storage device
158 Address = @win32_store_addr@ # N.B. Use a fully qualified name here
160 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
161 Device = FileStorage # must be same as Device in Storage daemon
162 Media Type = File # must be same as MediaType in Storage daemon
164 Maximum Concurrent Jobs = 4
168 # Generic catalog service
172 dbname = @db_name@; user = @db_user@; password = "@db_password@"
175 # Reasonable message delivery -- send most everything to email address
179 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
180 # operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
181 # MailOnError = @job_email@ = all, !terminate
182 # operator = @job_email@ = mount
183 console = all, !skipped, !terminate, !restored
185 # WARNING! the following will create a file that you must cycle from
186 # time to time as it will grow indefinitely. However, it will
187 # also keep all your messages if the scroll off the console.
189 append = "@working_dir@/log" = all, !skipped
190 catalog = all, !skipped
194 # Message delivery for daemon messages (no job).
197 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
198 # mail = @job_email@ = all, !skipped
199 console = all, !skipped, !saved
200 append = "@working_dir@/log" = all, !skipped
201 catalog = all, !skipped
205 # Default pool definition
209 Recycle = yes # Bacula can automatically recycle Volumes
210 AutoPrune = yes # Prune expired volumes
211 Volume Retention = 365d # one year