]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/dird/bacula-dir.conf.in
ee60d0d15b1233d31ef8d733493253b6446c83f0
[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 }
69
70
71 # Definition of DLT tape storage device
72 Storage {
73   Name = DLTDrive
74   Address = @hostname@
75   SDPort = @sd_port@
76   Password = "@sd_password@"          # password for Storage daemon
77   Device = "HP DLT 80"                # must be same as Device in Storage daemon
78   Media Type = DLT8000                # must be same as MediaType in Storage daemon
79 }
80
81 # Definition of DDS tape storage device
82 Storage {
83   Name = SDT-10000
84   Address = @hostname@
85   SDPort = @sd_port@
86   Password = "@sd_password@"          # password for Storage daemon
87   Device = SDT-10000                  # must be same as Device in Storage daemon
88   Media Type = DDS-4                  # must be same as MediaType in Storage daemon
89 }
90
91 # Definition of 8mm tape storage device
92 Storage {
93   Name = "8mmDrive"
94   Address = @hostname@
95   SDPort = @sd_port@
96   Password = "@sd_password@"
97   Device = "Exabyte 8mm"
98   MediaType = "8mm"
99 }
100
101 # Definiton of file storage device
102 Storage {
103   Name = File
104   Address = @hostname@
105   SDPort = @sd_port@
106   Password = "@sd_password@"
107   Device = FileStorage
108   Media Type = File
109 }
110
111
112 # Generic catalog service
113 Catalog {
114   Name = MyCatalog
115   dbname = bacula; user = bacula; password = ""
116 }
117
118 # Reasonable message delivery -- send most everything to email address
119 #  and to the console
120 Messages {
121   Name = Standard
122   mailcommand = "@sbindir@/smtp -h @smtp_host@ -f \"Bacula <%r>\" -s \"Bacula: %t %e of %c %l\" %r"
123   operatorcommand = "@sbindir@/smtp -h @smtp_host@ -f \"Bacula <%r>\" -s \"Bacula: Intervention needed for %j\" %r"
124   mail = @job_email@ = all, !skipped, !terminate
125   operator = @job_email@ = mount
126   console = all, !skipped, !saved
127 }
128     
129 # Default pool definition
130 Pool {
131   Name = Default
132   Pool Type = Backup
133 }