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"
30 Client = @win32_client@
31 FileSet = "SystemState Set"
35 Write Bootstrap = "@working_dir@/NightlySave.bsr"
36 Maximum Concurrent Jobs = 4
43 Client = @win32_client@
48 Write Bootstrap = "@working_dir@/NightlySave.bsr"
49 Maximum Concurrent Jobs = 4
56 Client = @win32_client@
57 FileSet = "SS_SQL Set"
61 Write Bootstrap = "@working_dir@/NightlySave.bsr"
62 Maximum Concurrent Jobs = 4
67 # Standard Restore template, to be changed by Console program
71 Client = @win32_client@
72 FileSet="SystemState Set"
76 # Where = /home/kern/bacula/k/regress/tmp/bacula-restores
80 # List of files to be backed up
82 Name = "SystemState Set"
86 signature=MD5; portable=no
90 Plugin = "vss:/@SYSTEMSTATE/"
94 # List of files to be backed up
100 signature=MD5; portable=no
103 File = "@win32_file@"
104 Plugin = "vss:/@MSSQL/"
113 signature=MD5; portable=no
115 File = "@win32_file@"
116 Plugin = "vss:/@SYSTEMSTATE/"
117 Plugin = "vss:/@MSSQL/"
123 # When to do the backups, full backup on first sunday of the month,
124 # differential (i.e. incremental since full) every other sunday,
125 # and incremental backups other days
128 Run = Full 1st sun at 1:05
129 Run = Differential 2nd-5th sun at 1:05
130 Run = Incremental mon-sat at 1:05
133 # Client (File Services) to backup
135 Name = @win32_client@
136 Address = @win32_addr@
137 FDPort = @win32_port@
139 Password = "@win32_password@"
140 File Retention = 30d # 30 days
141 Job Retention = 180d # six months
142 AutoPrune = yes # Prune expired Jobs/Files
143 Maximum Concurrent Jobs = 4
146 # Definition of File storage device
149 Address = @win32_store_addr@ # N.B. Use a fully qualified name here
152 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
153 Device = FileStorage # must be same as Device in Storage daemon
154 Media Type = File # must be same as MediaType in Storage daemon
156 Maximum Concurrent Jobs = 4
160 # Generic catalog service
164 dbname = regress; user = regress; 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