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  Maximum Concurrent Jobs = 100
17}
18
19#
20# List Directors who are permitted to contact Storage daemon
21#
22Director {
23  Name = @hostname@-dir
24  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
25}
26
27#
28# Devices supported by this Storage daemon
29# To connect, the Director's bareos-dir.conf must have the
30#  same Name and MediaType.
31#
32
33Autochanger {
34  Name = tape
35  Changer Device = @autochanger@
36  Changer Command ="@scriptdir@/@changer_script@ %c %o %S %a %d"
37  Device = Drive-0
38}
39
40
41Device {
42  Name = Drive-0                   #
43  Media Type = Tape
44  Archive Device = @tape_drive@
45  AutomaticMount = yes;               # when device opened, read it
46  AlwaysOpen = yes;
47  Autochanger = yes;
48  RemovableMedia = yes;
49  @@confdir@/tape_options
50  Maximum Block Size = 64512
51  Minimum Block Size = 64512
52  Maximum File Size = 5G
53# MaximumVolumeSize = 400M
54  Maximum Rewind Wait = 6000
55  Maximum Changer Wait = 6000
56}
57
58#
59# Send all messages to the Director,
60# mount messages also are sent to the email address
61#
62Messages {
63  Name = Standard
64  director = @hostname@-dir = all, !terminate
65}
66