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
40 # Standard Restore template, to be changed by Console program
44 Client = @win32_client@
49 Where = @tmpdir@/bacula-restores
53 # List of files to be backed up
59 signature=MD5; portable=no
68 # When to do the backups, full backup on first sunday of the month,
69 # differential (i.e. incremental since full) every other sunday,
70 # and incremental backups other days
73 Run = Full 1st sun at 1:05
74 Run = Differential 2nd-5th sun at 1:05
75 Run = Incremental mon-sat at 1:05
78 # Client (File Services) to backup
81 Address = @win32_addr@
84 Password = "@win32_password@"
85 File Retention = 30d # 30 days
86 Job Retention = 180d # six months
87 AutoPrune = yes # Prune expired Jobs/Files
88 Maximum Concurrent Jobs = 4
92 # Definition of File storage device
95 Address = @win32_store_addr@ # N.B. Use a fully qualified name here
97 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon
98 Device = FileStorage # must be same as Device in Storage daemon
99 Media Type = File # must be same as MediaType in Storage daemon
101 Maximum Concurrent Jobs = 4
105 # Generic catalog service
109 dbname = @db_name@; user = @db_user@; password = "@db_password@"
112 # Reasonable message delivery -- send most everything to email address
116 mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
117 # operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
118 # MailOnError = @job_email@ = all, !terminate
119 # operator = @job_email@ = mount
120 console = all, !skipped, !terminate, !restored
122 # WARNING! the following will create a file that you must cycle from
123 # time to time as it will grow indefinitely. However, it will
124 # also keep all your messages if the scroll off the console.
126 append = "@working_dir@/log" = all, !skipped
127 catalog = all, !skipped
131 # Message delivery for daemon messages (no job).
134 mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula regression\) %r\" -s \"Regression daemon message\" %r"
135 # mail = @job_email@ = all, !skipped
136 console = all, !skipped, !saved
137 append = "@working_dir@/log" = all, !skipped
138 catalog = all, !skipped
142 # Default pool definition
146 Recycle = yes # Bacula can automatically recycle Volumes
147 AutoPrune = yes # Prune expired volumes
148 Volume Retention = 365d # one year