]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/tls-auth-bacula-sd.conf.in
regress: fix add_attribute() function in perl lib
[bacula/bacula] / regress / scripts / tls-auth-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   TLS Authenticate = yes
20   TLS Require = no
21   TLS Certificate = "@scriptdir@/tls-cert.pem"
22   TLS Key = "@scriptdir@/tls-cert.pem"
23   TLS CA Certificate File = "@scriptdir@/tls-CA.pem"
24 }
25
26 #
27 # List Directors who are permitted to contact Storage daemon
28 #
29 Director {
30   Name = @hostname@-dir
31   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
32   TLS Authenticate = yes
33   TLS Require = no
34   TLS Certificate = "@scriptdir@/tls-cert.pem"
35   TLS Key = "@scriptdir@/tls-cert.pem"
36   TLS CA Certificate File = "@scriptdir@/tls-CA.pem"
37 }
38
39 #
40 # Devices supported by this Storage daemon
41 # To connect, the Director's bacula-dir.conf must have the
42 #  same Name and MediaType. 
43 #
44
45 Device {
46   Name = FileStorage
47   Media Type = File
48   Archive Device = @tmpdir@
49   LabelMedia = yes;                   # lets Bacula label unlabelled media
50   Random Access = Yes;
51   AutomaticMount = yes;               # when device opened, read it
52   RemovableMedia = no;
53   AlwaysOpen = no;
54 # Maximum File Size = 10KB
55 }
56
57 Device {
58   Name = FileStorage1
59   Media Type = File1
60   Archive Device = @tmpdir@
61   LabelMedia = yes;                   # lets Bacula label unlabelled media
62   Random Access = Yes;
63   AutomaticMount = yes;               # when device opened, read it
64   RemovableMedia = no;
65   AlwaysOpen = no;
66 }
67
68
69 #Device {
70 #  Name = "HP DLT 80"
71 #  Media Type = DLT8000
72 #  Archive Device = /dev/nst0
73 #  AutomaticMount = yes;               # when device opened, read it
74 #  AlwaysOpen = yes;
75 #  RemovableMedia = yes;
76 #}
77
78 #Device {
79 #  Name = SDT-7000                     # 
80 #  Media Type = DDS-2
81 #  Archive Device = /dev/nst0
82 #  AutomaticMount = yes;               # when device opened, read it
83 #  AlwaysOpen = yes;
84 #  RemovableMedia = yes;
85 #}
86
87 #Device {
88 #  Name = Floppy
89 #  Media Type = Floppy
90 #  Archive Device = /mnt/floppy
91 #  RemovableMedia = yes;
92 #  Random Access = Yes;
93 #  AutomaticMount = yes;               # when device opened, read it
94 #  AlwaysOpen = no;
95 #}
96
97 #
98 # A very old Exabyte with no end of media detection
99 #
100 #Device {
101 #  Name = "Exabyte 8mm"
102 #  Media Type = "8mm"
103 #  Archive Device = /dev/nst0
104 #  Hardware end of medium = No;
105 #  AutomaticMount = yes;               # when device opened, read it
106 #  AlwaysOpen = Yes;
107 #  RemovableMedia = yes;
108 #}
109
110
111 # Send all messages to the Director, 
112 # mount messages also are sent to the email address
113 #
114 Messages {
115   Name = Standard
116   director = @hostname@-dir = all, !terminate
117 }