View Issue Details

IDProjectCategoryView StatusLast Update
0001473bareos-corefile daemonpublic2022-07-26 09:54
ReporterMarceloRuiz Assigned Tobruno-at-bareos  
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/ my-super-catalog"

creates the 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 "" 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.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action




2022-07-26 09:54

developer   ~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