]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/test-bacula-sd.conf.in
Backport Enterprise code
[bacula/bacula] / regress / scripts / test-bacula-sd.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release 1.33
5 #
6 # You may need to change the name of your tape drive
7 #   on the "Archive Device" directive in the Device
8 #   resource.  If you change the Name and/or the 
9 #   "Media Type" in the Device resource, please ensure
10 #   that dird.conf has corresponding changes.
11 #
12
13 Storage {                             # definition of myself
14   Name = @hostname@-sd
15   SDPort = @sdport@                  # Director's port      
16   WorkingDirectory = "@working_dir@"
17   Pid Directory = "@piddir@"
18   Subsys Directory = "@subsysdir@"
19   Plugin Directory = "@sbindir@/plugins"
20   Maximum Concurrent Jobs = 100
21 }
22
23 #
24 # List Directors who are permitted to contact Storage daemon
25 #
26 Director {
27   Name = @hostname@-dir
28   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
29 }
30
31 #
32 # Devices supported by this Storage daemon
33 # To connect, the Director's bacula-dir.conf must have the
34 #  same Name and MediaType. 
35 #
36
37 Device {
38   Name = FileStorage
39   Media Type = File
40   Archive Device = @tmpdir@
41   LabelMedia = yes;                   # lets Bacula label unlabelled media
42   Random Access = Yes;
43   AutomaticMount = yes;               # when device opened, read it
44   RemovableMedia = no;
45   AlwaysOpen = no;
46 # Maximum File Size = 10KB
47 }
48
49 Device {
50   Name = FileStorage1
51   Media Type = File1
52   Archive Device = @tmpdir@
53   LabelMedia = yes;                   # lets Bacula label unlabelled media
54   Random Access = Yes;
55   AutomaticMount = yes;               # when device opened, read it
56   RemovableMedia = no;
57   AlwaysOpen = no;
58 }
59
60 Device {
61   Name = Dummy
62   Media Type = Dummy
63   Device Type = Fifo
64   Archive Device = /dev/null
65   LabelMedia = yes
66   Random Access = no
67   AutomaticMount = no
68   RemovableMedia = no
69   MaximumOpenWait = 60
70   AlwaysOpen = no
71 }
72
73 #Device {
74 #  Name = "HP DLT 80"
75 #  Media Type = DLT8000
76 #  Archive Device = /dev/nst0
77 #  AutomaticMount = yes;               # when device opened, read it
78 #  AlwaysOpen = yes;
79 #  RemovableMedia = yes;
80 #}
81
82 #Device {
83 #  Name = SDT-7000                     # 
84 #  Media Type = DDS-2
85 #  Archive Device = /dev/nst0
86 #  AutomaticMount = yes;               # when device opened, read it
87 #  AlwaysOpen = yes;
88 #  RemovableMedia = yes;
89 #}
90
91 #Device {
92 #  Name = Floppy
93 #  Media Type = Floppy
94 #  Archive Device = /mnt/floppy
95 #  RemovableMedia = yes;
96 #  Random Access = Yes;
97 #  AutomaticMount = yes;               # when device opened, read it
98 #  AlwaysOpen = no;
99 #}
100
101 #
102 # A very old Exabyte with no end of media detection
103 #
104 #Device {
105 #  Name = "Exabyte 8mm"
106 #  Media Type = "8mm"
107 #  Archive Device = /dev/nst0
108 #  Hardware end of medium = No;
109 #  AutomaticMount = yes;               # when device opened, read it
110 #  AlwaysOpen = Yes;
111 #  RemovableMedia = yes;
112 #}
113
114
115 # Send all messages to the Director, 
116 # mount messages also are sent to the email address
117 #
118 Messages {
119   Name = Standard
120   director = @hostname@-dir = all, !terminate
121 }
122
123 Cloud {
124   Name = DummyCloud
125   Driver = "File"
126   HostName = "@tmpdir@/cloud"
127   BucketName = "DummyBucket"
128   AccessKey = "DummyAccessKey"
129   SecretKey = "DummySecretKey"
130   Protocol = HTTPS
131   UriStyle = VirtualHost
132 }