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