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 = 100
18 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
20 FD Connect Timeout = 2min
24 # Define the main nightly save backup job
25 # By default, this job will back up to disk in /home/kern/bacula/k/regress/tmp
27 Name = "SystemstateJob"
31 Client = @win32_client@
32 FileSet = "SystemState Set"
36 Write Bootstrap = "@working_dir@/NightlySave.bsr"
37 Maximum Concurrent Jobs = 4
44 Client = @win32_client@
49 Write Bootstrap = "@working_dir@/NightlySave.bsr"
50 Maximum Concurrent Jobs = 4
57 Client = @win32_client@
58 FileSet = "SS_SQL Set"
62 Write Bootstrap = "@working_dir@/NightlySave.bsr"
63 Maximum Concurrent Jobs = 4
68 # Standard Restore template, to be changed by Console program
72 Client = @win32_client@
73 FileSet="SystemState Set"
77 # Where = /home/kern/bacula/k/regress/tmp/bacula-restores
81 # List of files to be backed up
83 Name = "SystemState Set"
87 signature=MD5; portable=no
91 Plugin = "vss:/@SYSTEMSTATE/"
95 # List of files to be backed up
101 signature=MD5; portable=no
104 File = "@win32_file@"
105 Plugin = "vss:/@MSSQL/"
114 signature=MD5; portable=no
116 File = "@win32_file@"
117 Plugin = "vss:/@SYSTEMSTATE/"
118 Plugin = "vss:/@MSSQL/"
124 # When to do the backups, full backup on first sunday of the month,
125 # differential (i.e. incremental since full) every other sunday,
126 # and incremental backups other days
129 Run = Full 1st sun at 1:05
130 Run = Differential 2nd-5th sun at 1:05
131 Run = Incremental mon-sat at 1:05
134 # Client (File Services) to backup
136 Name = @win32_client@
137 Address = @win32_addr@
138 FDPort = @win32_port@
140 Password = "@win32_password@"
141 File Retention = 30d # 30 days
142 Job Retention = 180d # six months
143 AutoPrune = yes # Prune expired Jobs/Files
144 Maximum Concurrent Jobs = 4
147 # Definition of File storage device
150 Address = @win32_store_addr@ # N.B. Use a fully qualified name here
153 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
154 Device = FileStorage # must be same as Device in Storage daemon
155 Media Type = File # must be same as MediaType in Storage daemon
157 Maximum Concurrent Jobs = 4
161 # Generic catalog service
164 dbname = @db_name@; user = @db_user@; password = "@db_password@"
167 # Reasonable message delivery -- send most everything to email address
171 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
172 # operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
173 # MailOnError = kern@sibbald.com = all, !terminate
174 # operator = kern@sibbald.com = mount
175 console = all, !skipped, !terminate, !restored
177 # WARNING! the following will create a file that you must cycle from
178 # time to time as it will grow indefinitely. However, it will
179 # also keep all your messages if the scroll off the console.
181 append = "@working_dir@/log" = all, !skipped
182 catalog = all, !skipped
186 # Message delivery for daemon messages (no job).
189 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
190 # mail = kern@sibbald.com = all, !skipped
191 console = all, !skipped, !saved
192 append = "@working_dir@/log" = all, !skipped
193 catalog = all, !skipped
197 # Default pool definition
201 Recycle = yes # Bacula can automatically recycle Volumes
202 AutoPrune = yes # Prune expired volumes
203 Volume Retention = 365d # one year