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 1.39
10 # You might also want to change the default email address
11 # from root to your address. See the "mail" and "operator"
12 # directives in the Messages resource.
15 Director { # define myself
17 DIRPort = @dirport@ # where we listen for UA connections
18 QueryFile = "@scriptdir@/query.sql"
19 WorkingDirectory = "@working_dir@"
20 PidDirectory = "@piddir@"
21 Maximum Concurrent Jobs = 4
22 Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
27 # Define the main nightly save backup job
28 # By default, this job will back up to disk in @tmpdir@
37 Write Bootstrap = "@working_dir@/NightlySave.bsr"
38 Maximum Concurrent Jobs = 4
40 # Prefer Mounted Volumes = no
44 # Standard Restore template, to be changed by Console program
53 Where = @tmpdir@/bacula-restores
57 # List of files to be backed up
60 Include { Options { signature=MD5 }
61 File = <@tmpdir@/file-list
67 # When to do the backups, full backup on first sunday of the month,
68 # differential (i.e. incremental since full) every other sunday,
69 # and incremental backups other days
72 Run = Full 1st sun at 1:05
73 Run = Differential 2nd-5th sun at 1:05
74 Run = Incremental mon-sat at 1:05
77 # Client (File Services) to backup
83 Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" # password for FileDaemon
84 File Retention = 30d # 30 days
85 Job Retention = 180d # six months
86 AutoPrune = yes # Prune expired Jobs/Files
87 Maximum Concurrent Jobs = 4
90 # Definition of DDS Virtual tape disk storage device
93 Address = @hostname@ # N.B. Use a fully qualified name here
95 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
96 Device = DiskChanger # must be same as Device in Storage daemon
97 Media Type = DiskChangerMedia # must be same as MediaType in Storage daemon
98 Maximum Concurrent Jobs = 4
102 # Definition of file storage device
107 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
110 Maximum Concurrent Jobs = 5
114 # Generic catalog service
118 dbname = @db_name@; user = @db_user@; password = "@db_password@"
121 # Reasonable message delivery -- send most everything to email address
125 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: %t %e of %c %l\" %r"
126 operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression Job %j\) %r\" -s \"Regression: Intervention needed for %j\" %r"
127 # MailOnError = @job_email@ = all, !terminate
128 # operator = @job_email@ = mount
129 console = all, !skipped, !terminate, !restored
131 # WARNING! the following will create a file that you must cycle from
132 # time to time as it will grow indefinitely. However, it will
133 # also keep all your messages if the scroll off the console.
135 append = "@working_dir@/log" = all, !skipped
136 catalog = all, !skipped
140 # Message delivery for daemon messages (no job).
143 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
144 # mail = @job_email@ = all, !skipped
145 console = all, !skipped, !saved
146 append = "@working_dir@/log" = all, !skipped
147 catalog = all, !skipped
151 # Default pool definition
155 Recycle = yes # Bacula can automatically recycle Volumes
156 AutoPrune = yes # Prune expired volumes
157 Volume Retention = 365d # one year
164 Recycle = yes # Bacula can automatically recycle Volumes
165 AutoPrune = yes # Prune expired volumes
166 Volume Retention = 365d # one year
167 Storage = DiskChanger