View Issue Details

IDProjectCategoryView StatusLast Update
0001473bareos-corefile daemonpublic2022-07-26 09:54
ReporterMarceloRuiz Assigned Tobruno-at-bareos  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSanyOS Version3
Product Version21.1.3 
Summary0001473: Catalog backup ends with warning every time trying to find the wrong db name
DescriptionRunning a backup catalog job with

Run Before Job = RunBeforeJob = "/usr/local/lib/bareos/scripts/make_catalog_backup.pl my-super-catalog"

creates the sql:
/var/db/bareos/mydatabasename.sql
 
but produces the following warning:

Could not stat "/var/db/bareos/bareos.sql": ERR=No such file or directory

I thought that the problem was in the RunAfterJob command, but even commenting it out, the warning persists
Steps To ReproduceCreate a backup catalog job with a RunBefore Command using the "make_catalog_backup.pl" script.
Run the job and find the warning.
Additional InformationI am running Bareos 21.1.3 on FreeBSD 13 and my Posgresql database is installed on a different jail.
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2022-07-26 09:54

manager   ~0004687

If your installation is not inlined from the preset, you have of course to understand how to make changes.
Here you need a fileset corresponding to your need.
See /usr/local/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf

Issue History

Date Modified Username Field Change
2022-07-26 00:37 MarceloRuiz New Issue
2022-07-26 09:54 bruno-at-bareos Assigned To => bruno-at-bareos
2022-07-26 09:54 bruno-at-bareos Status new => closed
2022-07-26 09:54 bruno-at-bareos Resolution open => no change required
2022-07-26 09:54 bruno-at-bareos Note Added: 0004687