]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/stored/bacula-sd.conf.in
37f415e4a2d6e1eca2d7b7173f8a08a1218af21f
[bacula/bacula] / bacula / src / stored / bacula-sd.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@
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 = @sd_port@                  # Director's port      
16   WorkingDirectory = "@working_dir@"
17   Pid Directory = "@piddir@"
18   Subsys Directory = "@subsysdir@"
19 }
20
21 #
22 # List Directors who are permitted to contact Storage daemon
23 #
24 Director {
25   Name = @hostname@-dir
26   Password = "@sd_password@"
27 }
28
29 #
30 # Devices supported by this Storage daemon
31 # To connect, the Director's bacula-dir.conf must have the
32 #  same Name and MediaType. 
33 #
34
35 Device {
36   Name = FileStorage
37   Media Type = File
38   Archive Device = /tmp
39   LabelMedia = yes;                   # lets Bacula label unlabelled media
40   Random Access = Yes;
41   AutomaticMount = yes;               # when device opened, read it
42   RemovableMedia = no;
43   AlwaysOpen = no;
44 }
45
46 #Device {
47 #  Name = "HP DLT 80"
48 #  Media Type = DLT8000
49 #  Archive Device = @TAPEDRIVE@
50 #  AutomaticMount = yes;               # when device opened, read it
51 #  AlwaysOpen = yes;
52 #  RemovableMedia = yes;
53 #}
54
55 #Device {
56 #  Name = SDT-7000                     # 
57 #  Media Type = DDS-2
58 #  Archive Device = @TAPEDRIVE@
59 #  AutomaticMount = yes;               # when device opened, read it
60 #  AlwaysOpen = yes;
61 #  RemovableMedia = yes;
62 #}
63
64 #Device {
65 #  Name = Floppy
66 #  Media Type = Floppy
67 #  Archive Device = /mnt/floppy
68 #  RemovableMedia = yes;
69 #  Random Access = Yes;
70 #  AutomaticMount = yes;               # when device opened, read it
71 #  AlwaysOpen = no;
72 #}
73
74 #
75 # A very old Exabyte with no end of media detection
76 #
77 #Device {
78 #  Name = "Exabyte 8mm"
79 #  Media Type = "8mm"
80 #  Archive Device = @TAPEDRIVE@
81 #  Hardware end of medium = No;
82 #  AutomaticMount = yes;               # when device opened, read it
83 #  AlwaysOpen = Yes;
84 #  RemovableMedia = yes;
85 #}
86
87
88 # Send all messages to the Director, 
89 # mount messages also are sent to the email address
90 #
91 Messages {
92   Name = Standard
93   director = @hostname@-dir = all
94 }