I am new to Bareos, and using an autochanger. And yes I am a gluten for punishment. I have the following config files (see below). When I do a * label -> 2: Tape bconsole seems to just sit there. Obviously I have something wrong in my configs. I just can not figure what. Any assistance would be great.
Greg
/etc/bareos/bareos-dir.d/storage/Tape.conf
Storage {
Name = Tape
Address = backup # N.B. Use a fully qualified name here (do not use "localhost" here).
Password = " the ultra secret password "
Device = autochanger-0
Media Type = LTO
Auto Changer = yes
}
/etc/bareos/bareos-sd.d/autochanger/autochanger-0.conf
Autochanger {
Name = autochanger-0
Changer Device = /dev/sg0
Device = tapedrive-0
Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d"
}
/etc/bareos/bareos-sd.d/device/tapedrives.conf
Device {
Name = tapedrive-0
DeviceType = tape
DriveIndex = 0
ArchiveDevice = /dev/sg0
MediaType = LTO
AutoChanger = yes # default: no
AutomaticMount = yes # default: no
MaximumFileSize = 10GB # default: 1000000000 (1GB)
LabelMedia = yes
RemovableMedia = yes
Autoselect = yes
}