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