ZH-lin10-sd JobId 2005: Warning: stored/acquire.cc:276 Read open device "ZH-lin10-HD-USB0-device" (/media/usb0) Volume "LTA-Consolidated-0069" failed: ERR=stored/dev.cc:731 Could not open: /media/usb0/LTA-Consolidated-0069, ERR=No such file or directory
Device {
Name = ZH-lin10-HD-USB0-device
Maximum Concurrent Jobs = 5
Device Type = File
Media Type = File
Label Media = yes
Random Access = yes
Automatic Mount = yes
Removable Media = yes
Requires Mount = yes
Always Open = no
Archive Device = "/media/usb0"
Mount Point = "/media/usb0"
Mount Command = "/bin/mount /dev/sdc1"
Unmount Command = "fusermount -u %m"
}
Device {
Name = ZH-lin10-HD-USB1-device
Maximum Concurrent Jobs = 5
Device Type = File
Media Type = File
Label Media = yes
Random Access = yes
Automatic Mount = yes
Removable Media = yes
Requires Mount = yes
Always Open = no
Archive Device = "/media/usb1"
Mount Point = "/media/usb1"
Mount Command = "/bin/mount /dev/sdd1"
Unmount Command = "fusermount -u %m"
}Storage {
Name = ZH-lin10-sd
Maximum Concurrent Jobs = 20
# https://bugs.bareos.org/view.php?id=740
Device Reserve By Media Type = yes
}JobDefs {
Name = LinuxServerLTA-Incremental-jd
Type = Backup
#
# IMPORTANT: Accurate = "no" is on purpose!
# This disables the detection of deleted files,
# which in turn keeps them in the consolidated
# backup jobs.
#
Accurate = no
# Enable Always Incremental Backup Scheme
Always Incremental = yes
# Sets the age where incrementals of this job
# will be kept, older jobs will be consolidated.
Always Incremental Job Retention = 7 days
Pool = ZH-lin10-LTA-Incremental-pool
Full Backup Pool = ZH-lin10-LTA-Consolidated-pool
# The time specifies the maximum allowed time that a Full backup job may run.
# counted from when the job starts in seconds (not necessarily the same as when the
# job was scheduled).
# set to half a day
Full Max Runtime = 43000
FileSet = LinuxServerLTA-fs
Client = ZH-lin10-fd
Storage = ZH-lin10-sd
Schedule = WeeklyCycle-LinuxServerLTA-sched
Messages = Standard
Priority = 10
Spool Attributes = yes
Write Bootstrap = "/var/lib/bareos/%c.bsr"
}
JobDefs {
Name = LinuxServerLTA-Consolidate-jd
Type = Consolidate
#
# IMPORTANT: Accurate = "no" is on purpose!
# This disables the detection of deleted files,
# which in turn keeps them in the consolidated
# backup jobs.
#
Accurate = no
#Pool = ZH-lin10-LTA-Incremental-pool
Pool = ZH-lin10-LTA-Consolidated-pool
# The time specifies the maximum allowed time that a Full backup job may run.
# counted from when the job starts in seconds (not necessarily the same as when the
# job was scheduled).
# set to half a day
Full Max Runtime = 43000
FileSet = LinuxServerLTA-fs
Client = ZH-lin10-fd
Storage = ZH-lin10-sd
Schedule = WeeklyCycle-LinuxServerLTA-sched
Messages = Standard
Priority = 10
}Job {
Name = ZH-LTA-Consolidate-job
JobDefs = LinuxServerLTA-Consolidate-jd
}
Job {
Name = ZH-LTA-Incremental-lin132-job
JobDefs = LinuxServerLTA-Incremental-jd
Client = ZH-lin132-fd
} "ZH-lin10-HD-USB1-device"for writing.
ZH-lin10-HD-USB0-device` for reading. But this device is only aware of `Archive Device` (disk path) = `Archive Device = "/media/usb0"` That's why it's trying to find the specific volume at this path.Device {
Name = ZH-lin10-HD-USB0-device
...
Archive Device = "/media/usb0"
Archive Device = "ZH-lin10-HD-USB1-device"
...
}
Device {
Name = ZH-lin10-HD-USB1-device
...
Archive Device = "/media/usb1"
Archive Device = "ZH-lin10-HD-USB0-device"
...
}