Bug 728164
Summary: | /usr/libexec/bacula/make_catalog_backup.pl fails with "/usr/sbin/dbcheck: invalid option -- 'B'" | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Robert Scheck <redhat-bugzilla> |
Component: | bacula | Assignee: | Lukáš Nykrýn <lnykryn> |
Status: | CLOSED DUPLICATE | QA Contact: | qe-baseos-daemons |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.1 | CC: | robert.scheck, rprice |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-15 08:08:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Robert Scheck
2011-08-04 09:00:00 UTC
I have cross-filed this issue as case 00514616 in the Red Hat customer portal. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative. According to a phone call with the Red Hat support, somebody will work on this problem nevertheless. The default /etc/bacula/bacula-dir.conf as shipped with Red Hat Enterprise Linux has a section like this: # This creates an ASCII copy of the catalog # Arguments to make_catalog_backup.pl are: # make_catalog_backup.pl <catalog-name> RunBeforeJob = "/usr/libexec/bacula/make_catalog_backup.pl MyCatalog" If you change the above section to the following like EPEL 5 for RHEL 5 is using: # This creates an ASCII copy of the catalog RunBeforeJob = "/usr/libexec/bacula/make_catalog_backup bacula bacula" I am getting a valid backup again. Nevertheless the perl script is broken, it should not query /usr/sbin/dbcheck, but /usr/sbin/dbcheck.sqlite, which provides the option "-B". Unfortunately, /usr/sbin/dbcheck expects a named database driver (sqlite, mysql, postgresql) before it allows "-B" option. If anybody is having the same problem: Please a) stress Red Hat as well and b) be aware that the arguments for make_catalog_backup (the shell script) might not be "bacula bacula" for your case, because they depend on what the database connection data are. This problem is caused by incorrect symlinks and it will by corrected in bacula-5.0.0-8.el6. *** This bug has been marked as a duplicate of bug 651787 *** |