---------- Forwarded message --------- From: Robert Earl <eleiso...@gmail.com> Date: Tue, Dec 8, 2020 at 9:47 PM Subject: bacula-fd errors on backupCatalog run To: <bacula-users@lists.sourceforge.net>
So I am unable to determine whether bacula-fd in a client-only installation requires a database layer or not. It seems that it does not, because the client installed properly on my Fedora 31 laptop, and bacula-fd starts and runs correctly, even according me a valid backup of the filesystem. However, when I go to backup the Catalog, I receive a database error. Could not stat "/opt/bacula/working/bacula.sql": ERR=No such file or directory. aten-dir JobId 3392: shell command: run AfterJob "/opt/bacula/scripts/delete_catalog_backup" aten-dir JobId 3392: End auto prune. aten-dir JobId 3392: No Files found to prune. aten-dir JobId 3392: Begin pruning Files. aten-dir JobId 3392: No Jobs found to prune. aten-dir JobId 3392: Begin pruning Jobs older than 6 months . aten-dir JobId 3392: Bacula aten-dir 9.6.5 (11Jun20): Build OS: x86_64-pc-linux-gnu ubuntu 18.04 JobId: 3392 Job: matthew-BackupCatalog <http://localhost:9095/web/job/matthew-BackupCatalog>.2020-12-08_00.11.38_09 Backup Level: Full Client: "matthew-fd <http://localhost:9095/web/client/matthew-fd>" 9.6.6 (20Sep20) x86_64-redhat-linux-gnu-bacula,redhat,One) FileSet: "Catalog <http://localhost:9095/web/fileset/Catalog>" 2020-11-28 11:38:21 Pool: "File <http://localhost:9095/web/pool/File>" (From Command input) Catalog: "matthew-Catalog" (From Client resource) Storage: "File <http://localhost:9095/web/storage/File>" (From Command input) Scheduled time: 08-Dec-2020 00:11:38 Start time: 08-Dec-2020 00:12:04 End time: 08-Dec-2020 00:12:04 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: yes Accurate: yes Volume name(s): Volume Session Id: 11 Volume Session Time: 1607315555 Last Volume Bytes: 847,895,289 (847.8 MB) Non-fatal FD errors: 1 SD Errors: 0 FD termination status: OK SD termination status: OK Termination: Backup OK -- with warnings aten-sd JobId 3392: Sending spooled attrs to the Director. Despooling 0 bytes ... aten-sd JobId 3392: Elapsed time=00:00:01, Transfer rate=0 Bytes/second matthew-fd JobId 3392: Could not stat "/opt/bacula/working/bacula.sql": ERR=No such file or directory aten-sd JobId 3392: Volume "Vol0002" previously written, moving to end of data. aten-dir JobId 3392: Using Device "FileStorage" to write. aten-dir JobId 3392: Start Backup JobId 3392, Job=matthew-BackupCatalog.2020-12-08_00.11.38_09 aten-dir JobId 3392: shell command: run BeforeJob "/opt/bacula/scripts/make_catalog_backup.pl matthew-Catalog" If I create a zero-size file in the proper place on the client, the Catalog backup proceeds, but is of course null. Why is it even looking for a database??
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users