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 2.3.20
12 Director { # define myself
14 DIRPort = @dirport@ # where we listen for UA connections
15 QueryFile = "@scriptdir@/query.sql"
16 WorkingDirectory = "@working_dir@"
17 PidDirectory = "@piddir@"
18 Maximum Concurrent Jobs = 4
19 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
24 # Define the main nightly save backup job
25 # By default, this job will back up to disk in @tmpdir@
29 Client = @win32_client@
34 Write Bootstrap = "@working_dir@/NightlySave.bsr"
35 Maximum Concurrent Jobs = 4
42 Client = @win32_client@
48 Write Bootstrap = "@working_dir@/NightlySave.bsr"
49 Maximum Concurrent Jobs = 4
56 Client = @win32_client@
61 Write Bootstrap = "@working_dir@/NightlySave.bsr"
62 Maximum Concurrent Jobs = 4
66 Command = "c:\\tmp\\weird_runscript\\test.bat" # ok | ok | ok
67 Command = "c:/tmp/weird_runscript/test.bat" # ok | ok | ok
68 Command = "c:/tmp/weird_runscript/testé.bat" # ok | ok | ok
69 Command = "c:\\tmp\\weird_runscript\\testé.bat" # ok | ok | ok
70 Command = "\"c:\\tmp\\weird_runscript\\test space.bat\"" # ok | ok | ok
76 # Standard Restore template, to be changed by Console program
80 Client = @win32_client@
85 Where = @tmpdir@/bacula-restores
89 # List of files to be backed up
95 signature=MD5; portable=no
104 # When to do the backups, full backup on first sunday of the month,
105 # differential (i.e. incremental since full) every other sunday,
106 # and incremental backups other days
109 Run = Full 1st sun at 1:05
110 Run = Differential 2nd-5th sun at 1:05
111 Run = Incremental mon-sat at 1:05
114 # Client (File Services) to backup
116 Name = @win32_client@
117 Address = @win32_addr@
118 FDPort = @win32_port@
120 Password = "@win32_password@"
121 File Retention = 30d # 30 days
122 Job Retention = 180d # six months
123 AutoPrune = yes # Prune expired Jobs/Files
124 Maximum Concurrent Jobs = 4
128 # Definition of File storage device
131 Address = @win32_store_addr@ # N.B. Use a fully qualified name here
133 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
134 Device = FileStorage # must be same as Device in Storage daemon
135 Media Type = File # must be same as MediaType in Storage daemon
137 Maximum Concurrent Jobs = 4
141 # Generic catalog service
145 dbname = @db_name@; user = @db_user@; password = "@db_password@"
148 # Reasonable message delivery -- send most everything to email address
152 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
153 # operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
154 # MailOnError = @job_email@ = all, !terminate
155 # operator = @job_email@ = mount
156 console = all, !skipped, !terminate, !restored
158 # WARNING! the following will create a file that you must cycle from
159 # time to time as it will grow indefinitely. However, it will
160 # also keep all your messages if the scroll off the console.
162 append = "@working_dir@/log" = all, !skipped
163 catalog = all, !skipped
167 # Message delivery for daemon messages (no job).
170 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
171 # mail = @job_email@ = all, !skipped
172 console = all, !skipped, !saved
173 append = "@working_dir@/log" = all, !skipped
174 catalog = all, !skipped
178 # Default pool definition
182 Recycle = yes # Bacula can automatically recycle Volumes
183 AutoPrune = yes # Prune expired volumes
184 Volume Retention = 365d # one year