View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000783 | bareos-core | file daemon | public | 2017-02-14 11:00 | 2017-03-20 13:07 |
Reporter | jacknob | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | Debian | OS Version | 8 |
Product Version | 16.2.4 | ||||
Summary | 0000783: Catalog Backup not working | ||||
Description | The Catalog Backup is not working. We are using Bareos 16.2.4 on Debian 8. We moved from 15.x to 16.x The config files have been adapted to the new folder structure. The bareos-dir.conf was split and removed. Now the catalog backup fails. Looking into the file /usr/lib/bareos/scripts/make_catalog_backup.pl revealed, that at the very bottom ("main loop" outside the sub functions), the script is looking for $dir_conf=/usr/sbin/bareos-dbcheck -B -c /etc/bareos/bareos-dir.conf and $cat=MyCatalog which is not existing any more. I consider this high, as the catalog backup is essential in case of failure of the bareos system. If bareos system fails, the backups of the servers are lost. Which would be mission critical! | ||||
Steps To Reproduce | I guess it should be the same with a fresh 16.2.4 installation. We moved from 15.x to 16.x though. After splitting the config files to the new structure, the BackupCatalog started to fail. | ||||
Additional Information | I guess the script needs to be modified or appended to match the old and new version. The old version would obviously still be working, but we now need to look into /etc/bareos/bareos-dir.d/catalog/* for the MyCatalog (which is given as an argument to the perl script). | ||||
Tags | No tags attached. | ||||
I can not confirm this. I check a 16.2.4 release package, and it contains following line: $dir_conf='/usr/sbin/bareos-dbcheck -B -c /etc/bareos'; With this configuration, it works like expected. I've not yet checked the update path, but normally files in packages get replaced, if they are not modified configuration files. This file is not marked as configuration. Please verify that your packages are properly installed. |
|
compiled 16.2.4 from source, $dir_conf in /usr/lib/bareos/scripts/make_catalog_backup.pl stated my $dir_conf='/usr/sbin/bareos-dbcheck -B -c /etc/bareos/bareos-dir.conf'; This file did not exist - so it failed. |
|
@joergs - you are right, stripping the $dir_conf to /etc/bareos, the BackupCatalog is working again. This is easier than the solution provided in bareos pull/57. Open question: why did compiling from source produce /etc/bareos/bareos-dir.conf ? any idea? |
|
obsolete - it turned out that upgrading did not change the file. Building on a fresh server, it produced $dir_conf with my $dir_conf='/usr/sbin/bareos-dbcheck -B -c /etc/bareos' which is working fine. Sorry for any inconvenience. I closed the pull/57. Pleas close this bug report. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-02-14 11:00 | jacknob | New Issue | |
2017-02-14 13:11 | joergs | Note Added: 0002564 | |
2017-02-14 13:11 | joergs | Status | new => feedback |
2017-02-14 22:08 | jacknob | Note Added: 0002566 | |
2017-02-14 22:08 | jacknob | Status | feedback => new |
2017-02-14 22:13 | jacknob | Note Added: 0002567 | |
2017-02-14 22:58 | jacknob | Note Added: 0002568 | |
2017-02-14 22:59 | jacknob | Note Edited: 0002568 | |
2017-02-15 12:08 | joergs | Status | new => closed |
2017-02-15 12:08 | joergs | Resolution | open => no change required |
2017-03-20 13:07 | joergs | Relationship added | related to 0000797 |