我已经接管了Debian /Linux 8 (jessie)上的Bareos配置。这是一个新的安装,使用文件和自动转换存储。
一切看起来都是正确的,bconsole将与变更者交谈(我可以移动,安装,卸载,标签磁带等)。
问题:备份将写入自动变送器的驱动器--但前提是磁带是手动挂载的。如果驱动器为空,备份作业将不会将磁带拖到驱动器中。它只是无限期地排队。如果我把磁带移到脏点(即使是在作业启动之后),它就运行得很好。
带子是条形码和标签的。
请参见下面的相关配置:
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
}赤裸-可持续发展:
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
}发布于 2017-09-15 15:47:00
邮寄名单查出来了。
我不得不编辑设备(磁带Ultirum驱动器)。
首先评论一下..。
# Check Labels = yes然后加上以下内容..。
Autoselect = yes
RemovableMedia = yeshttps://serverfault.com/questions/873826
复制相似问题