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