[Is it true that nobody replied to this in four months?]
On Mon Jul 18 09:34:08 EDT 2011, Joseph L. Casale wrote:
Anyone else notice that /usr/libexec/bacula/make_catalog_backup.pl runs a "dbcheck -B" which doesn't seem to exist in the version of dbcheck shipped with it?
That makes it rather hard to do a catalogue backup with the shipped script?
That's an error in the RPM install script. It uses the "alternatives" mechanism for switching between database backends but messes up. /usr/sbin/dbcheck ends up being linked to /usr/sbin/bscan.mysql instead of /usr/sbin/dbcheck.mysql. Consequently, when make_catalog_backup.pl tries to run dbcheck it's actually bscan which gets run. Not understanding the -B option is probably the least of its problems. :-)
Until the RPM gets fixed, you can manually correct the bad symlink with:
ln -sf /etc/alternatives/bacula-dbcheck /usr/sbin/dbcheck
HTH T.
On 11/24/2011 09:13 AM, Tilman Schmidt wrote:
Anyone else notice that /usr/libexec/bacula/make_catalog_backup.pl runs a "dbcheck -B" which doesn't seem to exist in the version of dbcheck shipped with it?
That makes it rather hard to do a catalogue backup with the shipped script?
That's an error in the RPM install script.
Hope you filed a bugreport! ( bugs.centos.org and the if needed followup with a report at bugzilla.redhat.com, and cross reference )
- KB
Am 24.11.2011 14:28, schrieb Karanbir Singh:
On 11/24/2011 09:13 AM, Tilman Schmidt wrote:
Anyone else notice that /usr/libexec/bacula/make_catalog_backup.pl runs a "dbcheck -B" which doesn't seem to exist in the version of dbcheck shipped with it?
That makes it rather hard to do a catalogue backup with the shipped script?
That's an error in the RPM install script.
Hope you filed a bugreport! ( bugs.centos.org and the if needed followup with a report at bugzilla.redhat.com, and cross reference )
Indeed I did, after finding to my surprise that it hadn't been reported yet:
http://bugs.centos.org/view.php?id=5260
I don't have an account on the Redhat bugzilla, so that'll be for someone else.