]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/test-bacula-sd.conf.in
Updates
[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 = 8103                  # 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 = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
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 = @tmpdir@
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 # Maximum File Size = 10KB
45 }
46
47 Device {
48   Name = FileStorage1
49   Media Type = File1
50   Archive Device = @tmpdir@
51   LabelMedia = yes;                   # lets Bacula label unlabelled media
52   Random Access = Yes;
53   AutomaticMount = yes;               # when device opened, read it
54   RemovableMedia = no;
55   AlwaysOpen = no;
56 }
57
58
59 #Device {
60 #  Name = "HP DLT 80"
61 #  Media Type = DLT8000
62 #  Archive Device = /dev/nst0
63 #  AutomaticMount = yes;               # when device opened, read it
64 #  AlwaysOpen = yes;
65 #  RemovableMedia = yes;
66 #}
67
68 #Device {
69 #  Name = SDT-7000                     # 
70 #  Media Type = DDS-2
71 #  Archive Device = /dev/nst0
72 #  AutomaticMount = yes;               # when device opened, read it
73 #  AlwaysOpen = yes;
74 #  RemovableMedia = yes;
75 #}
76
77 #Device {
78 #  Name = Floppy
79 #  Media Type = Floppy
80 #  Archive Device = /mnt/floppy
81 #  RemovableMedia = yes;
82 #  Random Access = Yes;
83 #  AutomaticMount = yes;               # when device opened, read it
84 #  AlwaysOpen = no;
85 #}
86
87 #
88 # A very old Exabyte with no end of media detection
89 #
90 #Device {
91 #  Name = "Exabyte 8mm"
92 #  Media Type = "8mm"
93 #  Archive Device = /dev/nst0
94 #  Hardware end of medium = No;
95 #  AutomaticMount = yes;               # when device opened, read it
96 #  AlwaysOpen = Yes;
97 #  RemovableMedia = yes;
98 #}
99
100
101 # Send all messages to the Director, 
102 # mount messages also are sent to the email address
103 #
104 Messages {
105   Name = Standard
106   director = @hostname@-dir = all, !terminate
107 }