02-Jan 19:56 backup-dir JobId 130937: Start Virtual Backup JobId 130937, Job=buildsrv01-tape-job.2023-01-02_19.56.55_12
02-Jan 19:56 backup-dir JobId 130937: Warning: This Job is not an Accurate backup so is not equivalent to a Full backup.
02-Jan 19:56 backup-dir JobId 130937: Bootstrap records written to /var/lib/bareos/backup-dir.restore.1.bsr
02-Jan 19:56 backup-dir JobId 130937: Consolidating JobIds 130931 containing 206270 files
02-Jan 19:56 backup-dir JobId 130937: Connected Storage daemon at backup.DOMAIN:9103, encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
02-Jan 19:56 backup-dir JobId 130937: Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
02-Jan 19:56 backup-dir JobId 130937: Using Device "C4U_CHE_File_VTL1" to read.
02-Jan 19:56 backup-dir JobId 130937: Using Device "C4U_CHE_Tape_LTO7" to write.
02-Jan 19:56 backup-sd JobId 130937: Volume "BCS531L7" previously written, moving to end of data.
02-Jan 19:58 backup-sd JobId 130937: Ready to append to end of Volume "BCS531L7" at file=171.
02-Jan 19:58 backup-sd JobId 130937: Ready to read from volume "C4U-CHE-VTL-0316" on device "C4U_CHE_File_VTL1" (/mnt/bareos/storage/VTL).
02-Jan 19:58 backup-sd JobId 130937: Forward spacing Volume "C4U-CHE-VTL-0316" to file:block 1:223.
02-Jan 19:58 backup-sd JobId 130937: Error: stored/block.cc:290 Volume data error at 1:223! Wanted ID: "BB02", got "<A1>>^Z<90>". Buffer discarded.
02-Jan 19:58 backup-sd JobId 130937: Fatal error: stored/mac.cc:670 Fatal append error on device "C4U_CHE_Tape_LTO7" (/dev/tape/by-id/scsi-350014380272c5f31-nst): ERR=
02-Jan 19:58 backup-sd JobId 130937: Elapsed time=00:00:01, Transfer rate=0 Bytes/second
02-Jan 19:58 backup-sd JobId 130937: Releasing device "C4U_CHE_Tape_LTO7" (/dev/tape/by-id/scsi-350014380272c5f31-nst).
02-Jan 19:58 backup-sd JobId 130937: Releasing device "C4U_CHE_File_VTL1" (/mnt/bareos/storage/VTL).
02-Jan 19:58 backup-dir JobId 130937: Error: lib/bsock_tcp.cc:412 Wrote -4 bytes to Storage daemon:backup.DOMAIN:9103, but only 0 accepted.
Am 02.01.2023 um 21:36 schrieb Philipp Storz <philip...@bareos.com>:To fix your problem, you need to do something like:
update jobmedia set startfile=0 where jobmediaid='<jobmediaid of the job that is failing>';
To find the jobmediaid, use the query
`select * from jobmedia where jobid=130931;`
With this adaption, the consolidation should work again.