Hello Mike
Try to upgrade your very old bacula client to a new one (at least as the
same version of bacula-dir)
Best regards
*Wanderlei Hüttel*
http://www.bacula.com.br
Em qua, 8 de mai de 2019 às 13:31, Mike Benoit
escreveu:
> We have some jobs that backup SQL databases, so immediately after the
> backup is complete we have a "AfterJob" that restores it to a test system,
> then we run a DiskToCatalog verify job. However the restore fails with a
> Block checksum mismatch and immediately after the verify job succeeds.
>
> The backup job seems to succeed without any errors:
>
> 07-May 21:05 server-dir JobId 206335: Start Backup JobId 206335,
> Job=test.domain.com-sql.2019-05-07_21.05.01_27
> 07-May 21:05 server-dir JobId 206335: Using Device "FileStorage" to write.
> 07-May 21:05 test.domain.com-fd JobId 206335: shell command: run
> ClientRunBeforeJob "scripts/postgresql_dump.sh"
> 07-May 21:15 server-sd JobId 206335: Elapsed time=00:04:22, Transfer
> rate=13.49 M Bytes/second
> 07-May 21:15 server-sd JobId 206335: Sending spooled attrs to the
> Director. Despooling 4,073 bytes ...
> 07-May 21:15 server-dir JobId 206335: Bacula server-dir 9.0.6 (20Nov17):
> Build OS: x86_64-pc-linux-gnu ubuntu 18.04
> JobId: 206335
> Job:test.domain.com-sql.2019-05-07_21.05.01_27
> Backup Level: Incremental, since=2019-05-06 21:11:28
> Client: "test.domain.com-fd" 5.2.6 (21Feb12)
> x86_64-pc-linux-gnu,debian,jessie/sid
> FileSet:"test-sql" 2017-08-30 21:05:00
> Pool: "File" (From Job resource)
> Catalog:"MyCatalog" (From Client resource)
> Storage:"File" (From Pool resource)
> Scheduled time: 07-May-2019 21:05:01
> Start time: 07-May-2019 21:11:00
> End time: 07-May-2019 21:15:24
> Elapsed time: 4 mins 24 secs
> Priority: 500
> FD Files Written: 15
> SD Files Written: 15
> FD Bytes Written: 3,535,794,319 (3.535 GB)
> SD Bytes Written: 3,535,796,681 (3.535 GB)
> Rate: 13393.2 KB/s
> Software Compression: None
> Comm Line Compression: None
> Snapshot/VSS: no
> Encryption: no
> Accurate: no
> Volume name(s): Vol0043
> Volume Session Id: 4
> Volume Session Time:1557261339
> Last Volume Bytes: 26,223,400,919 (26.22 GB)
> Non-fatal FD errors:0
> SD Errors: 0
> FD termination status: OK
> SD termination status: OK
> Termination:Backup OK
>
> 07-May 21:15 server-dir JobId 206335: Begin pruning Jobs older than 2
> months .
> 07-May 21:15 server-dir JobId 206335: No Jobs found to prune.
> 07-May 21:15 server-dir JobId 206335: Begin pruning Files.
> 07-May 21:15 server-dir JobId 206335: No Files found to prune.
> 07-May 21:15 server-dir JobId 206335: End auto prune.
>
> 07-May 21:15 server-dir JobId 206335: shell command: run AfterJob
> "scripts/restore_by_jobid test.domain.com-fd 206335"
>
>
>
> The restore job soon after fails with this log:
>
> 08-May 00:13 server-dir JobId 206424: Start Restore Job
> TestRestoreProductionSQL.2019-05-07_21.15.24_57
> 08-May 00:13 server-dir JobId 206424: Using Device "FileStorage" to read.
> 08-May 00:13 server-sd JobId 206424: Ready to read from volume "Vol0043"
> on File device "FileStorage" (/home/backup).
> 08-May 00:13 server-sd JobId 206424: Forward spacing Volume "Vol0043" to
> addr=22681860551
> 08-May 00:13 server-sd JobId 206424: Error: block_util.c:470 Volume data
> error at 0:0!
> * Block checksum mismatch *in block=1723 len=64512: calc=24873f8f
> blk=2deb5777
> 08-May 00:13 server-sd JobId 206424: Elapsed time=00:00:01, Transfer
> rate=111.0 M Bytes/second
> 08-May 00:13 server-sd JobId 206424: Fatal error: fd_cmds.c:223 Command
> error with FD msg="rechdr 4 1557261339 2 2 65536", SD hanging up.
> 08-May 00:13 test.domain.com-fd JobId 206424: Error: attribs.c:558 File
> size of restored file
> /var/lib/postgresql/tmp/test-db_postgresql_dump.sql.tar.gz not correct.
> Original 464348732, restored 111017984.
> 08-May 00:13 server-dir JobId 206424: Error: Bacula server-dir 9.0.6
> (20Nov17):
> 08-May 00:13 server-dir JobId 206424: Error: Bacula server-dir 9.0.6
> (20Nov17):
> Build OS: x86_64-pc-linux-gnu ubuntu 18.04
> JobId: 206424
> Job:TestRestoreProductionSQL.2019-05-07_21.15.24_57
> Restore Client: test.domain.com-fd
> Start time: 08-May-2019 00:13:33
> End time: 08-May-2019 00:13:35
> Files Expected: 15
> Files Restored: 2
> Bytes Restored: 111,018,596
> Rate: 55509.3 KB/s
> FD Errors: 1
> FD termination status: