Hi folks,
After upgrading to Bacula 9.2.2, the following backup error occurs when
the daily catalog backup is run:
05-May 05:00 MyDir JobId 3087: shell command: run BeforeJob
"/opt/bacula/scripts/make_catalog_backup.pl MyCatalog"
05-May 05:00 MyDir JobId 3087: Start Backup JobId 3087,
Job=BackupCatalog.2021-05-05_05.00.00_07
05-May 05:00 MyDir JobId 3087: Using Device "ULT-0" to write.
05-May 05:00 BackupsrvFd JobId 3087: Could not stat
"/spool/bacula/bacula.sql": ERR=No such file or directory
05-May 05:00 MySd JobId 3087: Elapsed time=00:00:01, Transfer rate=0
Bytes/second
05-May 05:00 MySd JobId 3087: Sending spooled attrs to the Director. Despooling
0 bytes ...
05-May 05:00 MyDir JobId 3087: Bacula MyDir 9.2.2 (06Nov18):
Build OS: x86_64-redhat-linux-gnu-bacula redhat Enterprise
release
JobId: 3087
Job: BackupCatalog.2021-05-05_05.00.00_07
Backup Level: Full
Client: "BackupsrvFd" 9.2.2 (06Nov18)
x86_64-redhat-linux-gnu-bacula,redhat,Enterprise release
FileSet: "Catalog" 2021-05-03 05:00:00
Pool: "Default" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "MySd" (From Pool resource)
Scheduled time: 05-May-2021 05:00:00
Start time: 05-May-2021 05:00:27
End time: 05-May-2021 05:00:28
Elapsed time: 1 sec
Priority: 11
FD Files Written: 0
SD Files Written: 0
FD Bytes Written: 0 (0 B)
SD Bytes Written: 0 (0 B)
Rate: 0.0 KB/s
Software Compression: None
Comm Line Compression: None
Snapshot/VSS: no
Encryption: no
Accurate: no
Volume name(s):
Volume Session Id: 6
Volume Session Time: 1620071155
Last Volume Bytes: 52,290,846,720 (52.29 GB)
Non-fatal FD errors: 1
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK -- with warnings
05-May 05:00 MyDir JobId 3087: Begin pruning Jobs older than 6 months .
05-May 05:00 MyDir JobId 3087: Pruned 1 Job for client BackupsrvFd from catalog.
05-May 05:00 MyDir JobId 3087: Begin pruning Files.
05-May 05:00 MyDir JobId 3087: Pruned Files from 1 Jobs for client BackupsrvFd
from catalog.
05-May 05:00 MyDir JobId 3087: End auto prune.
05-May 05:00 MyDir JobId 3087: shell command: run AfterJob
"/opt/bacula/scripts/delete_catalog_backup"
The normal backups seem to terminate without any errors. It's quite
clear that the bacula.sql file cannot be created or written, which
triggers the error message. The spool directory /spool/bacula is
otherwise used by Bacula during normal backups without any error
messages. The directory /spool/bacula is owned by bacula:bacula and with
permissions 0750.
I assume that the MySQL database bacula is backed up in this job. If it
is so, I do not worry very much, as there is a cron job run separately,
that backs up the bacula database to an external server.
I'm grateful for any input concerning this problem.
Best regards,
Peter
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users