Bacula多存储设备



这似乎是一个相对简单的问题。我在bacula-sd(存储)服务器上有两个挂载点-一个用于本地驱动器,一个用于s3桶(离线备份),我需要的是在两个驱动器上同时启动两个并发作业。到目前为止,我在bacula devices。conf

中有类似的内容
Device {
Name            = "example.prod.com"
Device Type     = File
Media Type      = File
Archive Device  = "/data/bacula/example.prod.com"
LabelMedia      = yes
Random Access   = yes
AutomaticMount  = yes
RemovableMedia  = no
AlwaysOpen      = no
Maximum Network Buffer Size = 65536
}
Device {
Name = example.prod.com-s3
Device Type = File
Media Type = File
Archive Device = "/mnt/bacula-backup-storage/example.prod.com-s3"
LabelMedia = yes
Random Access = Yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
Maximum Network Buffer Size = 65536
}

,但这可能还不够,因为作业只在第一个设备上启动。我需要磁盘自动更换器之类的吗?

您必须将Media Type = ...参数更改为两个设备的不同,即

Device {
Name            = "example.prod.com"
Device Type     = File
Media Type      = File
...
}
Device {
Name = example.prod.com-s3
Device Type = File
Media Type = S3
...
}

否则将无法工作。

相关内容

  • 没有找到相关文章