>>>>> On Sun, 21 Feb 2021 09:25:01 +0100, Sven Hartge said:
> 
> On 20.02.21 21:12, Robert Earl wrote:
> 
> > 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??
> 
> The catalog backup is done in two steps:
> 
> 1) A RunBeforeJob running on the host where the Catalog resides dumps 
> the Catalog into a file.
> 2) This file is then backupped via the FD running on that host.

The crucial part of Sven's answer is "running on that host" in step 2.

I think the problem is that the FD is matthew-fd, but the Catalog is dumped by
aten-dir, which are presumably different machines:

matthew-fd JobId 3392:      Could not stat "/opt/bacula/working/bacula.sql": 
ERR=No such file or directory
aten-dir JobId 3392: shell command: run BeforeJob 
"/opt/bacula/scripts/make_catalog_backup.pl matthew-Catalog"

You need to run an FD on aten and use that as the client for the Catalog
backup.

__Martin


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to