1#
2# Default Bareos Storage Daemon Configuration file
3#
4# You may need to change the name of your tape drive
5#   on the "Archive Device" directive in the Device
6#   resource.  If you change the Name and/or the
7#   "Media Type" in the Device resource, please ensure
8#   that dird.conf has corresponding changes.
9#
10
11Storage {                             # definition of myself
12  Name = @hostname@-sd
13  SDPort = @sdport@                  # Director's port
14  WorkingDirectory = "@working_dir@"
15  Pid Directory = "@piddir@"
16}
17
18#
19# List Directors who are permitted to contact Storage daemon
20#
21Director {
22  Name = @hostname@-dir
23  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
24}
25
26#
27# Devices supported by this Storage daemon
28# To connect, the Director's bareos-dir.conf must have the
29#  same Name and MediaType.
30#
31Autochanger {
32  Name = tape
33  Changer Device = @autochanger@
34  Changer Command ="@scriptdir@/@changer_script@ %c %o %S %a %d"
35  Device = Drive-0
36}
37
38Device {
39  Name = Drive-0                   #
40  Media Type = tape
41  Archive Device = @tape_drive@
42  AutomaticMount = yes;               # when device opened, read it
43  Autochanger = yes
44  Drive Index = 0
45  AlwaysOpen = yes;
46  RemovableMedia = yes;
47  @@confdir@/tape_options
48# Maximum File Size = 1000000
49}
50
51#
52# Send all messages to the Director,
53# mount messages also are sent to the email address
54#
55Messages {
56  Name = Standard
57  director = @hostname@-dir = all, !terminate
58}
59