我已经接pipe了Debian GNU / Linux 8(jessie)上的BareOSconfiguration。 它是全新安装,使用文件和Autochanger存储。
一切看起来都是正确的,而且bconsole会和换碟机对话(我可以移动,挂载,取消,标记磁带等)。
问题:备份将写入自动转换器的驱动器 – 但只有在手动安装磁带时才可以。 如果驱动器为空,则备份作业不会将磁带拉入驱动器。 它只是无限期地排队。 如果我将磁带移动到dirve(即使在作业开始后),它运行良好。
磁带被条码和标签。
请参阅下面的相关configuration:
bareos-DIR:
Director { # define myself Name = pxxx-dir QueryFile = "/usr/lib/bareos/scripts/query.sql" Maximum Concurrent Jobs = 10 Password = "rXjxxx" # Console password Messages = Daemon Auditing = yes } Storage { Name = Tape Address = pxxx Password = "e9cxxx" Device = FlexStor_II Media Type = LTO-7 Autochanger = yes } FileSet { Name = "SelfTestHuge" Description = "Huge fileset" Include { Options { Signature = MD5 # calculate md5 checksum per file } File = "/mnt/45GB-Directory" } } Job { Name = "BackupSelfTestTapeHuge" FileSet = "SelfTestHuge" JobDefs = "TestTapeHuge" } JobDefs { Name = "TestTapeHuge" Type = Backup Level = Full Client = pxxx-fd FileSet = "SelfTestHuge" Storage = Tape Messages = Standard Pool = Full Priority = 10 Write Bootstrap = "/var/lib/bareos/%c.bsr" Full Backup Pool = Full Differential Backup Pool = Differential Incremental Backup Pool = Incremental }
bareos-SD:
Storage { Name = pxxx-sd Maximum Concurrent Jobs = 20 } Director { Name = pxxx-dir Password = "e9cxxx" Description = "Director, permitted to contact this storage daemon." } Autochanger { Name = "FlexStor_II" Changer Device = /dev/tape/by-id/scsi-1BDT_FlexStor_II_00MX64200449_LL0 Device = ULTRIUM-HH7-0 Device = ULTRIUM-HH7-1 Changer Command = "/usr/lib/bareos/scripts/mtx-changer %c %o %S %a %d" } Device { Name = "ULTRIUM-HH7-0" DeviceType = tape DriveIndex = 0 ArchiveDevice = /dev/tape/by-id/scsi-35000e1116b5b8001-nst MediaType = LTO-7 Check Labels = yes AutoChanger = yes AutomaticMount = yes MaximumFileSize = 500GB AlwaysOpen = yes } Device { Name = "ULTRIUM-HH7-1" DeviceType = tape DriveIndex = 1 ArchiveDevice = /dev/tape/by-id/scsi-35000e1116b5b8004-nst MediaType = LTO-7 Check Labels = yes AutoChanger = yes AutomaticMount = yes MaximumFileSize = 500GB AlwaysOpen = yes }
邮件列表发现了它。
我不得不编辑设备(磁带Ultirum驱动器)。
首先注释掉…
# Check Labels = yes
并添加以下内容…
Autoselect = yes RemovableMedia = yes