]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-4disk.conf.in
Tweak more debug for FreeBSD to verify-data-test
[bacula/bacula] / regress / scripts / bacula-sd-4disk.conf.in
1 #
2 # Copyright (C) 2000-2017 Kern Sibbald
3 # License: BSD 2-Clause; see file LICENSE-FOSS
4 #
5 # Default Bacula Storage Daemon Configuration file
6 #
7 # You may need to change the name of your tape drive
8 #   on the "Archive Device" directive in the Device
9 #   resource.  If you change the Name and/or the 
10 #   "Media Type" in the Device resource, please ensure
11 #   that dird.conf has corresponding changes.
12 #
13
14 Storage {                             # definition of myself
15   Name = @hostname@-sd
16   SDPort = @sdport@                  # Director's port      
17   WorkingDirectory = "@working_dir@"
18   Pid Directory = "@piddir@"
19   Subsys Directory = "@subsysdir@"
20 }
21
22 #
23 # List Directors who are permitted to contact Storage daemon
24 #
25 Director {
26   Name = @hostname@-dir
27   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
28 }
29
30 #
31 # Devices supported by this Storage daemon
32 # To connect, the Director's bacula-dir.conf must have the
33 #  same Name and MediaType. 
34 #
35 Autochanger {
36   Name = tape
37   Changer Device = /dev/null
38   Changer Command =""
39   Device = Drive-1, Drive-2, Drive-3, Drive-4
40 }
41
42 Device {
43   Name = Drive-1                   # 
44   Device Type = File
45   Media Type = tape
46   Archive Device = @tmpdir@
47   AutomaticMount = yes;               # when device opened, read it
48   Autochanger = yes
49   Drive Index = 0
50   AlwaysOpen = yes;
51   RemovableMedia = yes;
52 # Maximum File Size = 1000000
53 }
54
55 Device {
56   Name = Drive-2                   # 
57   Device Type = File
58   Media Type = tape
59   Archive Device = @tmpdir@
60   AutomaticMount = yes;               # when device opened, read it
61   Autochanger = yes
62   Drive Index = 1
63   AlwaysOpen = yes;
64   RemovableMedia = yes;
65 # Maximum File Size = 1000000
66 }
67
68 Device {
69   Name = Drive-3                   # 
70   Device Type = File
71   Media Type = tape
72   Archive Device = @tmpdir@
73   AutomaticMount = yes;               # when device opened, read it
74   Autochanger = yes
75   Drive Index = 2
76   AlwaysOpen = yes;
77   RemovableMedia = yes;
78 # Maximum File Size = 1000000
79 }
80
81 Device {
82   Name = Drive-4                   # 
83   Device Type = File
84   Media Type = tape
85   Archive Device = @tmpdir@
86   AutomaticMount = yes;               # when device opened, read it
87   Autochanger = yes
88   Drive Index = 3
89   AlwaysOpen = yes;
90   RemovableMedia = yes;
91 # Maximum File Size = 1000000
92 }
93
94
95 Autochanger {
96   Name = Virtual
97   Changer Device = /dev/null
98   Changer Command =""
99   Device = Virtual-1, Virtual-2, Virtual-3, Virtual-4
100 }
101
102 Device {
103   Name = Virtual-1
104   Device Type = File
105   Media Type = Disk
106   Archive Device = @tmpdir@
107   AutomaticMount = yes;               # when device opened, read it
108   Autochanger = yes
109   Drive Index = 0
110   AlwaysOpen = yes;
111   RemovableMedia = yes;
112 # Maximum File Size = 1000000
113 }
114
115 Device {
116   Name = Virtual-2
117   Device Type = File
118   Media Type = Disk
119   Archive Device = @tmpdir@
120   AutomaticMount = yes;               # when device opened, read it
121   Autochanger = yes
122   Drive Index = 1
123   AlwaysOpen = yes;
124   RemovableMedia = yes;
125 # Maximum File Size = 1000000
126 }
127
128 Device {
129   Name = Virtual-3
130   Device Type = File
131   Media Type = Disk
132   Archive Device = @tmpdir@
133   AutomaticMount = yes;               # when device opened, read it
134   Autochanger = yes
135   Drive Index = 2
136   AlwaysOpen = yes;
137   RemovableMedia = yes;
138 # Maximum File Size = 1000000
139 }
140
141 Device {
142   Name = Virtual-4
143   Device Type = File
144   Media Type = Disk
145   Archive Device = @tmpdir@
146   AutomaticMount = yes;               # when device opened, read it
147   Autochanger = yes
148   Drive Index = 3
149   AlwaysOpen = yes;
150   RemovableMedia = yes;
151 # Maximum File Size = 1000000
152 }
153
154 Device {
155   Name = FileStorage
156   mediatype = FileMedia
157   Archive Device = @tmpdir@
158   LabelMedia = yes;                   # lets Bacula label unlabeled media
159   Random Access = Yes;
160   AutomaticMount = yes;               # when device opened, read it
161   RemovableMedia = no;
162   AlwaysOpen = no;
163 }
164
165
166
167 # Send all messages to the Director, 
168 # mount messages also are sent to the email address
169 #
170 Messages {
171   Name = Standard
172   director = @hostname@-dir = all, !terminate
173 }
174
175 Cloud {
176   Name = DummyCloud
177   Driver = "File"
178   HostName = "@tmpdir@/cloud"
179   BucketName = "DummyBucket"
180   AccessKey = "DummyAccessKey"
181   SecretKey = "DummySecretKey"
182   Protocol = HTTPS
183   UriStyle = VirtualHost
184 }