]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/dird/bacula-dir.conf.in
Final 1.19 update
[bacula/bacula] / bacula / src / dird / bacula-dir.conf.in
1 #
2 # Default Bacula Director Configuration file
3 #
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
6 #   FileSet resource.
7 #
8 #  For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@
9 #
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.
13 #
14
15 Director {                            # define myself
16   Name = @hostname@-dir
17   DIRport = @dir_port@                # where we listen for UA connections
18   QueryFile = "@sysconfdir@/query.sql"
19   WorkingDirectory = "@working_dir@"
20   PidDirectory = "@piddir@"
21   SubSysDirectory = "@subsysdir@"
22   Maximum Concurrent Jobs = 1
23   Password = "@dir_password@"         # Console password
24 }
25
26 # Define the backup Job
27 Job {
28   Name = "NightlySave"
29   Backup = Client=@hostname@-fd FileSet="Full Set"
30   Schedule = "WeeklyCycle"
31   Storage = DLTDrive
32   Messages = Standard
33   Pool = Default
34 }
35
36 # List of files to be backed up
37 FileSet {
38   Name = "Full Set"
39   Include = signature=MD5 { 
40 #    
41 #  Put your list of files here, one per line or include an
42 #    external list with:
43 #
44 #    @file-name
45 #
46 #  Note: / backs up everything
47
48   /
49
50   }
51   Exclude = { }
52 }
53
54 # When to do the backups
55 Schedule {
56   Name = "WeeklyCycle"
57   Run = Full sun at 1:05
58   Run = Incremental mon-sat at 1:05
59 }
60
61 # Client (File Services) to backup
62 Client {
63   Name = @hostname@-fd
64   Address = @hostname@
65   FDPort = @fd_port@
66   Catalog = MyCatalog
67   Password = "@fd_password@"          # password for FileDaemon
68   File Retention = 180d               # six months
69   Job Retention = 365d                # one year
70   AutoPrune = yes                     # Prune expired Jobs/Files
71 }
72
73
74 # Definition of DLT tape storage device
75 Storage {
76   Name = DLTDrive
77   Address = @hostname@                # N.B. Use a fully qualified name here
78   SDPort = @sd_port@
79   Password = "@sd_password@"          # password for Storage daemon
80   Device = "HP DLT 80"                # must be same as Device in Storage daemon
81   Media Type = DLT8000                # must be same as MediaType in Storage daemon
82 }
83
84 # Definition of DDS tape storage device
85 Storage {
86   Name = SDT-10000
87   Address = @hostname@                # N.B. Use a fully qualified name here
88   SDPort = @sd_port@
89   Password = "@sd_password@"          # password for Storage daemon
90   Device = SDT-10000                  # must be same as Device in Storage daemon
91   Media Type = DDS-4                  # must be same as MediaType in Storage daemon
92 }
93
94 # Definition of 8mm tape storage device
95 Storage {
96   Name = "8mmDrive"
97   Address = @hostname@                # N.B. Use a fully qualified name here
98   SDPort = @sd_port@
99   Password = "@sd_password@"
100   Device = "Exabyte 8mm"
101   MediaType = "8mm"
102 }
103
104 # Definiton of file storage device
105 Storage {
106   Name = File
107   Address = @hostname@                # N.B. Use a fully qualified name here
108   SDPort = @sd_port@
109   Password = "@sd_password@"
110   Device = FileStorage
111   Media Type = File
112 }
113
114
115 # Generic catalog service
116 Catalog {
117   Name = MyCatalog
118   dbname = bacula; user = bacula; password = ""
119 }
120
121 # Reasonable message delivery -- send most everything to email address
122 #  and to the console
123 Messages {
124   Name = Standard
125   mailcommand = "@sbindir@/smtp -h @smtp_host@ -f \"Bacula <%r>\" -s \"Bacula: %t %e of %c %l\" %r"
126   operatorcommand = "@sbindir@/smtp -h @smtp_host@ -f \"Bacula <%r>\" -s \"Bacula: Intervention needed for %j\" %r"
127   mail = @job_email@ = all, !skipped, !terminate
128   operator = @job_email@ = mount
129   console = all, !skipped, !saved
130 }
131     
132 # Default pool definition
133 Pool {
134   Name = Default
135   Pool Type = Backup
136   Recycle = yes                       # Bacula can automatically recycle Volumes
137   AutoPrune = yes                     # Prune expired volumes
138   Volume Retention = 365d             # one year
139 }