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
58 Client = @win32_client@
59 FileSet = "SS_SQL Set"
63 Write Bootstrap = "@working_dir@/NightlySave.bsr"
64 Maximum Concurrent Jobs = 4
69 # Standard Restore template, to be changed by Console program
73 Client = @win32_client@
74 FileSet="SystemState Set"
78 # Where = /home/kern/bacula/k/regress/tmp/bacula-restores
82 # List of files to be backed up
84 Name = "SystemState Set"
88 signature=MD5; portable=no
92 Plugin = "vss:/@SYSTEMSTATE/"
96 # List of files to be backed up
102 signature=MD5; portable=no
105 File = "@win32_file@"
106 Plugin = "vss:/@MSSQL/"
115 signature=MD5; portable=no
117 File = "@win32_file@"
118 Plugin = "vss:/@SYSTEMSTATE/"
119 Plugin = "vss:/@MSSQL/"
125 # When to do the backups, full backup on first sunday of the month,
126 # differential (i.e. incremental since full) every other sunday,
127 # and incremental backups other days
130 Run = Full 1st sun at 1:05
131 Run = Differential 2nd-5th sun at 1:05
132 Run = Incremental mon-sat at 1:05
135 # Client (File Services) to backup
137 Name = @win32_client@
138 Address = @win32_addr@
139 FDPort = @win32_port@
141 Password = "@win32_password@"
142 File Retention = 30d # 30 days
143 Job Retention = 180d # six months
144 AutoPrune = yes # Prune expired Jobs/Files
145 Maximum Concurrent Jobs = 4
148 # Definition of File storage device
151 Address = @win32_store_addr@ # N.B. Use a fully qualified name here
154 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
155 Device = FileStorage # must be same as Device in Storage daemon
156 Media Type = File # must be same as MediaType in Storage daemon
158 Maximum Concurrent Jobs = 4
162 # Generic catalog service
165 dbname = @db_name@; user = @db_user@; password = "@db_password@"
168 # Reasonable message delivery -- send most everything to email address
172 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
173 # operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
174 # MailOnError = kern@sibbald.com = all, !terminate
175 # operator = kern@sibbald.com = mount
176 console = all, !skipped, !terminate, !restored
178 # WARNING! the following will create a file that you must cycle from
179 # time to time as it will grow indefinitely. However, it will
180 # also keep all your messages if the scroll off the console.
182 append = "@working_dir@/log" = all, !skipped
183 catalog = all, !skipped
187 # Message delivery for daemon messages (no job).
190 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
191 # mail = kern@sibbald.com = all, !skipped
192 console = all, !skipped, !saved
193 append = "@working_dir@/log" = all, !skipped
194 catalog = all, !skipped
198 # Default pool definition
202 Recycle = yes # Bacula can automatically recycle Volumes
203 AutoPrune = yes # Prune expired volumes
204 Volume Retention = 365d # one year